diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index d431ac5f6f..0000000000 --- a/.gitattributes +++ /dev/null @@ -1,5 +0,0 @@ -*.sh text eol=lf -# Treat compiled JS/CSS files as binary, as they're not meant to be human-readable -netbox/project-static/dist/*.css binary -netbox/project-static/dist/*.js binary -netbox/project-static/dist/*.js.map binary diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml deleted file mode 100644 index d5453e19f9..0000000000 --- a/.github/codeql/codeql-config.yml +++ /dev/null @@ -1,11 +0,0 @@ -paths-ignore: - # Ignore compiled JS - - netbox/project-static/dist - -query-filters: - # Exclude py/url-redirection: NetBox uses safe_for_redirect() wrapper function - # which validates all redirects via Django's url_has_allowed_host_and_scheme(). - # CodeQL's taint tracking doesn't recognize wrapper functions without custom - # query configuration. See #20484. - - exclude: - id: py/url-redirection diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 85070d98e3..0000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,109 +0,0 @@ -name: CI - -on: - push: - paths-ignore: - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - 'contrib/**' - - 'docs/**' - - 'netbox/translations/**' - pull_request: - paths-ignore: - - '.github/ISSUE_TEMPLATE/**' - - '.github/PULL_REQUEST_TEMPLATE.md' - - 'contrib/**' - - 'docs/**' - - 'netbox/translations/**' - -permissions: - contents: read - -# Add concurrency group to control job running -concurrency: - group: ${{ github.event_name }}-${{ github.ref }}-${{ github.actor }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - env: - NETBOX_CONFIGURATION: netbox.configuration_testing - strategy: - matrix: - python-version: ['3.10', '3.11', '3.12'] - node-version: ['20.x'] - services: - redis: - image: redis - ports: - - 6379:6379 - postgres: - image: postgres - env: - POSTGRES_USER: netbox - POSTGRES_PASSWORD: netbox - options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 5432:5432 - - steps: - - name: Check out repo - uses: actions/checkout@v4 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - - - name: Install Yarn Package Manager - run: npm install -g yarn - - - name: Setup Node.js with Yarn Caching - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: yarn - cache-dependency-path: netbox/project-static/yarn.lock - - - name: Install Frontend Dependencies - run: yarn --cwd netbox/project-static - - - name: Install dependencies & set up configuration - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install ruff coverage tblib - - - name: Build documentation - run: mkdocs build - - - name: Collect static files - run: python netbox/manage.py collectstatic --no-input - - - name: Check for missing migrations - run: python netbox/manage.py makemigrations --check - - - name: Check PEP8 compliance - run: ruff check netbox/ - - - name: Check UI ESLint, TypeScript, and Prettier Compliance - run: yarn --cwd netbox/project-static validate - - - name: Validate Static Asset Integrity - run: scripts/verify-bundles.sh - - - name: Run tests - run: coverage run --source="netbox/" netbox/manage.py test netbox/ --parallel - - - name: Show coverage report - run: coverage report --skip-covered --omit '*/migrations/*,*/tests/*' diff --git a/.github/workflows/close-incomplete-issues.yml b/.github/workflows/close-incomplete-issues.yml deleted file mode 100644 index 1b3adf9012..0000000000 --- a/.github/workflows/close-incomplete-issues.yml +++ /dev/null @@ -1,33 +0,0 @@ -# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues) -name: Close incomplete issues - -on: - schedule: - - cron: '15 4 * * *' - workflow_dispatch: - -permissions: - actions: write - issues: write - -jobs: - stale: - if: github.repository == 'netbox-community/netbox' - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v9 - with: - close-issue-message: > - This issue is being closed as no further information has been provided. If - you would like to revisit this topic, please first modify your original post - to include all the requested detail, and then ask that the issue be reopened. - days-before-stale: 7 - days-before-close: 7 - only-issue-labels: 'status: revisions needed' - operations-per-run: 100 - remove-stale-when-updated: false - stale-issue-label: 'pending closure' - stale-issue-message: > - This is a reminder that additional information is needed in order to further - triage this issue. If the requested details are not provided, the issue will - soon be closed automatically. diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml deleted file mode 100644 index 723fd62414..0000000000 --- a/.github/workflows/close-stale-issues.yml +++ /dev/null @@ -1,54 +0,0 @@ -# close-stale-issues (https://github.com/marketplace/actions/close-stale-issues) -name: Close stale issues/PRs - -on: - schedule: - - cron: '0 4 * * *' - workflow_dispatch: - -permissions: - actions: write - issues: write - pull-requests: write - -jobs: - stale: - if: github.repository == 'netbox-community/netbox' - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v9 - with: - # General parameters - operations-per-run: 200 - remove-stale-when-updated: false - - # Issue parameters - close-issue-message: > - This issue has been automatically closed due to lack of activity. In an - effort to reduce noise, please do not comment any further. Note that the - core maintainers may elect to reopen this issue at a later date if deemed - necessary. - days-before-issue-stale: 90 - days-before-issue-close: 30 - exempt-issue-labels: 'status: accepted,status: backlog,status: blocked' - stale-issue-label: 'pending closure' - stale-issue-message: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. NetBox - is governed by a small group of core maintainers which means not all opened - issues may receive direct feedback. **Do not** attempt to circumvent this - process by "bumping" the issue; doing so will result in its immediate closure - and you may be barred from participating in any future discussions. Please see - our [contributing guide](https://github.com/netbox-community/netbox/blob/main/CONTRIBUTING.md). - - # Pull request parameters - close-pr-message: > - This PR has been automatically closed due to lack of activity. - days-before-pr-stale: 30 - days-before-pr-close: 15 - exempt-pr-labels: 'status: blocked' - stale-pr-label: 'pending closure' - stale-pr-message: > - This PR has been automatically marked as stale because it has not had - recent activity. It will be closed automatically if no further action is - taken. diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 8992421287..0000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: [ "main", "feature" ] - pull_request: - branches: [ "main", "feature" ] - schedule: - - cron: '38 16 * * 4' - -jobs: - analyze: - name: Analyze (${{ matrix.language }}) - runs-on: ubuntu-latest - permissions: - security-events: write - - strategy: - fail-fast: false - matrix: - include: - - language: actions - build-mode: none - - language: javascript-typescript - build-mode: none - - language: python - build-mode: none - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - build-mode: ${{ matrix.build-mode }} - config-file: .github/codeql/codeql-config.yml - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/lock-threads.yml b/.github/workflows/lock-threads.yml deleted file mode 100644 index 2148e563b8..0000000000 --- a/.github/workflows/lock-threads.yml +++ /dev/null @@ -1,24 +0,0 @@ -# lock-threads (https://github.com/marketplace/actions/lock-threads) -name: Lock threads - -on: - schedule: - - cron: '0 3 * * *' - workflow_dispatch: - -permissions: - issues: write - pull-requests: write - discussions: write - -jobs: - lock: - if: github.repository == 'netbox-community/netbox' - runs-on: ubuntu-latest - steps: - - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1 - with: - issue-inactive-days: 90 - pr-inactive-days: 30 - discussion-inactive-days: 180 - issue-lock-reason: 'resolved' diff --git a/.github/workflows/update-translation-strings.yml b/.github/workflows/update-translation-strings.yml deleted file mode 100644 index 3152232e2b..0000000000 --- a/.github/workflows/update-translation-strings.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Update translation strings - -on: - schedule: - - cron: '0 5 * * *' - workflow_dispatch: - -permissions: - contents: write - -env: - LOCALE: "en" - -jobs: - makemessages: - if: github.repository == 'netbox-community/netbox' - runs-on: ubuntu-latest - env: - NETBOX_CONFIGURATION: netbox.configuration_testing - - steps: - - name: Create app token - uses: actions/create-github-app-token@v1 - id: app-token - with: - app-id: 1076524 - private-key: ${{ secrets.HOUSEKEEPING_SECRET_KEY }} - - - name: Check out repo - uses: actions/checkout@v4 - with: - token: ${{ steps.app-token.outputs.token }} - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - - name: Install system dependencies - run: sudo apt install -y gettext - - - name: Install Python dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - - name: Run makemessages - run: python netbox/manage.py makemessages -l ${{ env.LOCALE }} - - - name: Commit changes - uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4 - with: - add: 'netbox/translations/' - default_author: github_actions - message: 'Update source translation strings' diff --git a/.gitignore b/.gitignore index eb1eccbef9..1f8c423d3a 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,6 @@ yarn-error.log* /netbox/project-static/node_modules /netbox/project-static/docs/* !/netbox/project-static/docs/.info -/netbox/netbox/configuration.py /netbox/netbox/ldap_config.py /netbox/local/* /netbox/media @@ -15,7 +14,6 @@ yarn-error.log* /netbox/scripts/* !/netbox/scripts/__init__.py /netbox/static -/venv/ /*.sh local_requirements.txt local_settings.py diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 622b095b35..0000000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,52 +0,0 @@ -repos: -- repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 - hooks: - - id: ruff - name: "Ruff linter" - args: [ netbox/ ] -- repo: local - hooks: - - id: django-check - name: "Django system check" - description: "Run Django's internal check for common problems" - entry: python netbox/manage.py check - language: system - pass_filenames: false - types: [python] - - id: django-makemigrations - name: "Django migrations check" - description: "Check for any missing Django migrations" - entry: python netbox/manage.py makemigrations --check - language: system - pass_filenames: false - types: [python] - - id: openapi-check - name: "Validate OpenAPI schema" - description: "Check for any unexpected changes to the OpenAPI schema" - files: api/.*\.py$ - entry: scripts/verify-openapi.sh - language: system - pass_filenames: false - types: [python] - - id: mkdocs-build - name: "Build documentation" - description: "Build the documentation with mkdocs" - files: 'docs/' - entry: mkdocs build - language: system - pass_filenames: false - - id: yarn-validate - name: "Yarn validate" - description: "Check UI ESLint, TypeScript, and Prettier compliance" - files: 'netbox/project-static/' - entry: yarn --cwd netbox/project-static validate - language: system - pass_filenames: false - - id: verify-bundles - name: "Verify static asset bundles" - description: "Ensure that any modified static assets have been compiled" - files: 'netbox/project-static/' - entry: scripts/verify-bundles.sh - language: system - pass_filenames: false diff --git a/.readthedocs.yaml b/.readthedocs.yaml deleted file mode 100644 index c69c517481..0000000000 --- a/.readthedocs.yaml +++ /dev/null @@ -1,10 +0,0 @@ -version: 2 -build: - os: ubuntu-22.04 - tools: - python: "3.12" -mkdocs: - configuration: mkdocs.yml -python: - install: - - requirements: requirements.txt diff --git a/.tx/config b/.tx/config deleted file mode 100755 index b0562b9783..0000000000 --- a/.tx/config +++ /dev/null @@ -1,12 +0,0 @@ -[main] -host = https://app.transifex.com - -[o:netbox-community:p:netbox:r:034999968a7366ba27a8bdf1ab63bf42] -file_filter = netbox/translations//LC_MESSAGES/django.po -source_file = netbox/translations/en/LC_MESSAGES/django.po -type = PO -minimum_perc = 0 -resource_name = django.po -replace_edited_strings = false -keep_translations = false - diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index a6d145951c..0000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ -The changelog has been moved to the [project release notes](https://docs.netbox.dev/en/stable/release-notes/). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index af1954c9c5..0000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,122 +0,0 @@ -**Looking for help?** NetBox has a vast, active community of fellow users that may be able to provide assistance. Just [start a discussion](https://github.com/netbox-community/netbox/discussions/new) right here on GitHub! Or if you'd prefer to chat, join us live in the `#netbox` channel on the [NetDev Community Slack](https://netdev.chat/)! - -
-

- :bug: Report a bug · - :bulb: Suggest a feature · - :arrow_heading_up: Submit a pull request -

-

- :jigsaw: Create a plugin · - :briefcase: Work with us! · - :heart: Other ideas -

-
-

- -## :information_source: Welcome to the Stadium! - -In her book [Working in Public](https://www.amazon.com/Working-Public-Making-Maintenance-Software/dp/0578675862), Nadia Eghbal defines four production models for open source projects, categorized by contributor and user growth: federations, clubs, toys, and stadiums. The NetBox project fits her definition of a stadium very well: - -> Stadiums are projects with low contributor growth and high user growth. While they may receive casual contributions, their regular contributor base does not grow proportionately to their users. As a result, they tend to be powered by one or a few developers. - -The bulk of NetBox's development is carried out by a handful of core maintainers, with occasional contributions from collaborators in the community. We find the stadium analogy very useful in conveying the roles and obligations of both contributors and users. - -If you're a contributor, actively working on the center stage, you have an obligation to produce quality content that will benefit the project as a whole. Conversely, if you're in the audience consuming the work being produced, you have the option of making requests and suggestions, but must also recognize that contributors are under no obligation to act on them. - -NetBox users are welcome to participate in either role, on stage or in the crowd. We ask only that you acknowledge the role you've chosen and respect the roles of others. - -### General Tips for Working on GitHub - -* Register for a free [GitHub account](https://github.com/signup) if you haven't already. -* You can use [GitHub Markdown](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) for formatting text and adding images. -* To help mitigate notification spam, please avoid "bumping" issues with no activity. (To vote an issue up or down, use a :thumbsup: or :thumbsdown: reaction.) -* Please avoid pinging members with `@` unless they've previously expressed interest or involvement with that particular issue. -* Familiarize yourself with [this list of discussion anti-patterns](https://github.com/bradfitz/issue-tracker-behaviors) and make every effort to avoid them. - -## :bug: Reporting Bugs - -:warning: Bug reports are used to call attention to some unintended or unexpected behavior in NetBox, such as when an error occurs or when the result of taking some action is inconsistent with the documentation. **Bug reports may not be used to suggest new functionality**; please see "feature requests" below if that is your goal. - -* First, ensure that you're running the [latest stable version](https://github.com/netbox-community/netbox/releases) of NetBox. If you're running an older version, it's likely that the bug has already been fixed. - -* Next, search our [issues list](https://github.com/netbox-community/netbox/issues?q=is%3Aissue) to see if the bug you've found has already been reported. If you come across a bug report that seems to match, please click "add a reaction" in the bottom left corner of the issue and add a thumbs up ( :thumbsup: ). This will help draw more attention to it. Any comments you can add to provide additional information or context would also be much appreciated. - -* If you can't find any existing issues (open or closed) that seem to match yours, you're welcome to [submit a new bug report](https://github.com/netbox-community/netbox/issues/new?label=type%3A+bug&template=bug_report.yaml). Be sure to complete the entire report template, including detailed steps that someone triaging your issue can follow to confirm the reported behavior. (If we're not able to replicate the bug based on the information provided, we'll ask for additional detail.) - -* Some other tips to keep in mind: - * Error messages and screenshots are especially helpful. - * Don't prepend your issue title with a label like `[Bug]`; the proper label will be assigned automatically. - * Ensure that your reproduction instructions don't reference data in our [demo instance](https://demo.netbox.dev/), which gets rebuilt nightly. - * Verify that you have GitHub notifications enabled and are subscribed to your issue after submitting. - * We appreciate your patience as bugs are prioritized by their severity, impact, and difficulty to resolve. - -* For more information on how bug reports are handled, please see our [issue -intake policy](https://github.com/netbox-community/netbox/wiki/Issue-Intake-Policy). - -## :bulb: Feature Requests - -* First, check the GitHub [issues list](https://github.com/netbox-community/netbox/issues?q=is%3Aissue) to see if the feature you have in mind has already been proposed. If you happen to find an open feature request that matches your idea, click "add a reaction" in the top right corner of the issue and add a thumbs up ( :thumbsup: ). This ensures that the issue has a better chance of receiving attention. Also feel free to add a comment with any additional justification for the feature. - -* Please don't submit duplicate issues! Sometimes we reject feature requests, for various reasons. Even if you disagree with those reasons, please **do not** submit a duplicate feature request. It is very disrepectful of the maintainers' time, and you may be barred from opening future issues. - -* If you have a rough idea that's not quite ready for formal submission yet, start a [GitHub discussion](https://github.com/netbox-community/netbox/discussions) instead. This is a great way to test the viability and narrow down the scope of a new feature prior to submitting a formal proposal, and can serve to generate interest in your idea from other community members. - -* Once you're ready, submit a feature request [using this template](https://github.com/netbox-community/netbox/issues/new?label=type%3A+feature&template=feature_request.yaml). Be sure to provide sufficient context and detail to convey exactly what you're proposing and why. The stronger your use case, the better chance your proposal has of being accepted. - -* Some other tips to keep in mind: - * Don't prepend your issue title with a label like `[Feature]`; the proper label will be assigned automatically. - * Try to anticipate any likely questions about your proposal and provide that information proactively. - * Verify that you have GitHub notifications enabled and are subscribed to your issue after submitting. - * You're welcome to volunteer to implement your FR, but don't submit a pull request until it has been approved. - -* For more information on how feature requests are handled, please see our [issue intake policy](https://github.com/netbox-community/netbox/wiki/Issue-Intake-Policy). - -## :arrow_heading_up: Submitting Pull Requests - -* [Pull requests](https://docs.github.com/en/pull-requests) (a feature of GitHub) are used to propose changes to NetBox's code base. Our process generally goes like this: - * A user opens a new issue (bug report or feature request) - * A maintainer triages the issue and may mark it as needing an owner - * The issue's author can volunteer to own it, or someone else can - * A maintainer assigns the issue to whomever volunteers - * The issue owner submits a pull request that will resolve the issue - * A maintainer reviews and merges the pull request, closing the issue - -* It's very important that you not submit a pull request until a relevant issue has been opened **and** assigned to you. Otherwise, you risk wasting time on work that may ultimately not be needed. - -* New pull requests should generally be based off of the `main` branch. This branch, in keeping with the [trunk-based development](https://trunkbaseddevelopment.com/) approach, is used for ongoing development and bug fixes and always represents the newest stable code, from which releases are periodically branched. (If you're developing for an upcoming minor release, use `feature` instead.) - -* In most cases, it is not necessary to add a changelog entry: A maintainer will take care of this when the PR is merged. (This helps avoid merge conflicts resulting from multiple PRs being submitted simultaneously.) - -* All code submissions must meet the following criteria (CI will enforce these checks where feasible): - * Consist entirely of original work - * Python syntax is valid - * All tests pass when run with `./manage.py test` - * PEP 8 compliance is enforced, with the exception that lines may be - greater than 80 characters in length - -> [!CAUTION] -> Any contributions which include AI-generated or reproduced content will be rejected. - -* Some other tips to keep in mind: - * If you'd like to volunteer for someone else's issue, please post a comment on that issue letting us know. (This will allow the maintainers to assign it to you.) - * Check out our [developer docs](https://docs.netbox.dev/en/stable/development/getting-started/) for tips on setting up your development environment. - * All new functionality must include relevant tests where applicable. - -## :jigsaw: Creating Plugins - -Do you have an idea for something you'd like to build in NetBox, but might not be right for the core project? NetBox includes a powerful and extensive [plugins framework](https://docs.netbox.dev/en/stable/plugins/) that enables users to develop their own custom data models and integrations. - -Check out our [plugin development tutorial](https://github.com/netbox-community/netbox-plugin-tutorial) to get started! - -## :briefcase: Looking for a Job? - -At [NetBox Labs](https://netboxlabs.com/), we're always looking for highly skilled and motivated people to join our team. While NetBox is a core part of our product lineup, we have an ever-expanding suite of solutions serving the network automation space. Check out our [current openings](https://netboxlabs.com/careers/) to see if you might be a fit! - -## :heart: Other Ways to Contribute - -You don't have to be a developer to contribute to NetBox: There are plenty of other ways you can add value to the community! Below are just a few examples: - -* Help answer questions and provide feedback in our [GitHub discussions](https://github.com/netbox-community/netbox/discussions) and on [Slack](https://netdev.chat/). -* Write a blog article or record a YouTube video demonstrating how NetBox is used at your organization. -* Help grow our [library of device & module type definitions](https://github.com/netbox-community/devicetype-library). diff --git a/NOTICE b/NOTICE deleted file mode 100644 index 4e4dd600c8..0000000000 --- a/NOTICE +++ /dev/null @@ -1,7 +0,0 @@ -Copyrighted and licensed under Apache License 2.0 by DigitalOcean, LLC. - -This project contains code developed expressly for NetBox, and its reuse in -other projects may introduce issues affecting performance, data integrity, -and security. - -For more information, please see https://github.com/netbox-community/netbox. diff --git a/README.md b/README.md index 1fd8e2f5a5..3749512624 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,58 @@ -
- NetBox logo -

The cornerstone of every automated network

- Latest release - License - Contributors - GitHub stars - Languages supported - CI status -

- NetBox Community | - NetBox Cloud | - NetBox Enterprise -

-
+# NetBox -NetBox exists to empower network engineers. Since its release in 2016, it has become the go-to solution for modeling and documenting network infrastructure for thousands of organizations worldwide. As a successor to legacy IPAM and DCIM applications, NetBox provides a cohesive, extensive, and accessible data model for all things networked. By providing a single robust user interface and programmable APIs for everything from cable maps to device configurations, NetBox serves as the central source of truth for the modern network. +Django-based network infrastructure management system. -

- NetBox's Role | - Why NetBox? | - Getting Started | - Get Involved | - Screenshots -

+## Требования -

- NetBox user interface screenshot -

+- Python 3.8 или выше +- pip +- Git -## NetBox's Role +## Быстрый старт -NetBox functions as the **source of truth** for your network infrastructure. Its job is to define and validate the _intended state_ of all network components and resources. NetBox does not interact with network nodes directly; rather, it makes this data available programmatically to purpose-built automation, monitoring, and assurance tools. This separation of duties enables the construction of a robust yet flexible automation system. +### Linux / macOS -

- Reference network automation architecture -

+```bash +# 1. Клонировать репозиторий +git clone +cd netbox -The diagram above illustrates the recommended deployment architecture for an automated network, leveraging NetBox as the central authority for network state. This approach allows your team to swap out individual tools to meet changing needs while retaining a predictable, modular workflow. +# 2. Запустить setup (создаст venv и установит зависимости) +./setup.sh -## Why NetBox? +# 3. Запустить сервер +./start_server.sh +``` -### Comprehensive Data Model +### Windows -Racks, devices, cables, IP addresses, VLANs, circuits, power, VPNs, and lots more: NetBox is built for networks. Its comprehensive and thoroughly inter-linked data model provides for natural and highly structured modeling of myriad network primitives that just isn't possible using general-purpose tools. And there's no need to waste time contemplating how to build out a database: Everything is ready to go upon installation. +```powershell +# 1. Клонировать репозиторий +git clone +cd netbox -### Focused Development +# 2. Запустить setup (создаст venv и установит зависимости) +.\setup.ps1 -NetBox strives to meet a singular goal: Provide the best available solution for making network infrastructure programmatically accessible. Unlike "all-in-one" tools which awkwardly bolt on half-baked features in an attempt to check every box, NetBox is committed to its core function. NetBox provides the best possible solution for modeling network infrastructure, and provides rich APIs for integrating with tools that excel in other areas of network automation. +# 3. Запустить сервер +.\start_server.ps1 +``` -### Extensible and Customizable +## После запуска -No two networks are exactly the same. Users are empowered to extend NetBox's native data model with custom fields and tags to best suit their unique needs. You can even write your own plugins to introduce entirely new objects and functionality! +Сервер будет доступен по адресу: **http://127.0.0.1:8000** -### Flexible Permissions +**Учетные данные:** +- Username: `admin` +- Password: `admin` -NetBox includes a fully customizable permission system, which affords administrators incredible granularity when assigning roles to users and groups. Want to restrict certain users to working only with cabling and not be able to change IP addresses? Or maybe each team should have access only to a particular tenant? NetBox enables you to craft roles as you see fit. +**API Token** будет выведен в консоли при запуске. -### Custom Validation & Protection Rules +## Тестирование -The data you put into NetBox is crucial to network operations. In addition to its robust native validation rules, NetBox provides mechanisms for administrators to define their own custom validation rules for objects. Custom validation can be used both to ensure new or modified objects adhere to a set of rules, and to prevent the deletion of objects which don't meet certain criteria. (For example, you might want to prevent the deletion of a device with an "active" status.) +Проект покрыт тестами, для их запуска необходимо выполнить в виртуальном окружении +```bash +python manage.py test +``` -### Device Configuration Rendering - -NetBox can render user-created Jinja2 templates to generate device configurations from its own data. Configuration templates can be uploaded individually or pulled automatically from an external source, such as a git repository. Rendered configurations can be retrieved via the REST API for application directly to network devices via a provisioning tool such as Ansible or Salt. - -### Custom Scripts - -Complex workflows, such as provisioning a new branch office, can be tedious to carry out via the user interface. NetBox allows you to write and upload custom scripts that can be run directly from the UI. Scripts prompt users for input and then automate the necessary tasks to greatly simplify otherwise burdensome processes. - -### Automated Events - -Users can define event rules to automatically trigger a custom script or outbound webhook in response to a NetBox event. For example, you might want to automatically update a network monitoring service whenever a new device is added to NetBox, or update a DHCP server when an IP range is allocated. - -### Comprehensive Change Logging - -NetBox automatically logs the creation, modification, and deletion of all managed objects, providing a thorough change history. Changes can be attributed to the executing user, and related changes are grouped automatically by request ID. - -> [!NOTE] -> A complete list of NetBox's myriad features can be found in [the introductory documentation](https://docs.netbox.dev/en/stable/introduction/). - -## Getting Started - -* Just want to explore? Check out [our public demo](https://demo.netbox.dev/) right now! -* The [official documentation](https://docs.netbox.dev) offers a comprehensive introduction. -* Check out [our wiki](https://github.com/netbox-community/netbox/wiki/Community-Contributions) for even more projects to get the most out of NetBox! - -## Get Involved - -* Follow [@NetBoxOfficial](https://twitter.com/NetBoxOfficial) on Twitter! -* Join the conversation on [the discussion forum](https://github.com/netbox-community/netbox/discussions) and [Slack](https://netdev.chat/)! -* Already a power user? You can [suggest a feature](https://github.com/netbox-community/netbox/issues/new?assignees=&labels=type%3A+feature&template=feature_request.yaml) or [report a bug](https://github.com/netbox-community/netbox/issues/new?assignees=&labels=type%3A+bug&template=bug_report.yaml) on GitHub. -* Contributions from the community are encouraged and appreciated! Check out our [contributing guide](CONTRIBUTING.md) to get started. - -## Screenshots - -

- NetBox Dashboard (Light Mode)
- NetBox dashboard (light mode) -

-

- NetBox Dashboard (Dark Mode)
- NetBox dashboard (dark mode) -

-

- Prefixes List
- Prefixes list -

-

- Rack View
- Rack view -

-

- Cable Trace
- Cable trace -

+**Важно** что один из тестов `test_single_create_process_eventrule` намеренно сломан diff --git a/SECURITY.md b/SECURITY.md deleted file mode 100644 index c00fe61074..0000000000 --- a/SECURITY.md +++ /dev/null @@ -1,37 +0,0 @@ -# Security Policy - -## No Warranty - -Per the terms of the Apache 2 license, NetBox is offered "as is" and without any guarantee or warranty pertaining to its operation. While every reasonable effort is made by its maintainers to ensure the product remains free of security vulnerabilities, users are ultimately responsible for conducting their own evaluations of each software release. - -## Recommendations - -Administrators are encouraged to adhere to industry best practices concerning the secure operation of software, such as: - -* Do not expose your NetBox installation to the public Internet -* Do not permit multiple users to share an account -* Enforce minimum password complexity requirements for local accounts -* Prohibit access to your database from clients other than the NetBox application -* Keep your deployment updated to the most recent stable release - -## Compliance Reporting - -Please note that security compliance reports (e.g. SOC 2) are provided by NetBox Labs only to customers using NetBox Cloud or NetBox Enterprise. They are not available to users of self-hosted NetBox Community Edition. - -If you would like to consider upgrading to NetBox Cloud or Enterprise, please contact `sales@netboxlabs.com`. - -## Reporting a Suspected Vulnerability - -If you believe you've uncovered a security vulnerability and wish to report it confidentially, you may do so by emailing `security@netboxlabs.com`. Please ensure that your report meets all the following conditions: - -* Affects the most recent stable release of NetBox, or a current beta release -* Affects a NetBox instance installed and configured per the official documentation -* Is reproducible following a prescribed set of instructions - -Please note that we **DO NOT** accept reports generated by automated tooling which merely suggest that a file or file(s) _may_ be vulnerable under certain conditions, as these are most often innocuous. - -For any security concerns regarding the community-maintained Docker image for NetBox, please see the [netbox-docker](https://github.com/netbox-community/netbox-docker) project. - -### Bug Bounties - -As NetBox is provided as free open source software, we do not offer any monetary compensation for vulnerability or bug reports; however, your contributions are greatly appreciated. diff --git a/base_requirements.txt b/base_requirements.txt deleted file mode 100644 index 1e6f2ad29d..0000000000 --- a/base_requirements.txt +++ /dev/null @@ -1,175 +0,0 @@ -# Shell text coloring -# https://github.com/tartley/colorama/blob/master/CHANGELOG.rst -colorama - -# The Python web framework on which NetBox is built -# https://docs.djangoproject.com/en/stable/releases/ -Django==5.2.* - -# Django middleware which permits cross-domain API requests -# https://github.com/adamchainz/django-cors-headers/blob/main/CHANGELOG.rst -django-cors-headers - -# Runtime UI tool for debugging Django -# https://github.com/jazzband/django-debug-toolbar/blob/main/docs/changes.rst -# django-debug-toolbar v6.0.0 raises "Attribute Error at /: 'function' object has no attribute 'set'" -# see https://github.com/netbox-community/netbox/issues/19974 -django-debug-toolbar==5.2.0 - -# Library for writing reusable URL query filters -# https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst -django-filter - -# Django Debug Toolbar extension for GraphiQL -# https://github.com/flavors/django-graphiql-debug-toolbar/blob/main/CHANGES.rst -django-graphiql-debug-toolbar - -# HTMX utilities for Django -# https://django-htmx.readthedocs.io/en/latest/changelog.html -django-htmx - -# Modified Preorder Tree Traversal (recursive nesting of objects) -# https://github.com/django-mptt/django-mptt/blob/main/CHANGELOG.rst -# v0.18.0 introduces errant migrations which need to be resolved -django-mptt==0.17.0 - -# Context managers for PostgreSQL advisory locks -# https://github.com/Xof/django-pglocks/blob/master/CHANGES.txt -django-pglocks - -# Prometheus metrics library for Django -# https://github.com/korfuri/django-prometheus/blob/master/CHANGELOG.md -django-prometheus - -# Django caching backend using Redis -# https://github.com/jazzband/django-redis/blob/master/CHANGELOG.rst -django-redis - -# Django extensions for Rich (terminal text rendering) -# https://github.com/adamchainz/django-rich/blob/main/CHANGELOG.rst -django-rich - -# Django integration for RQ (Reqis queuing) -# https://github.com/rq/django-rq/blob/master/CHANGELOG.md -django-rq - -# Provides a variety of storage backends -# https://github.com/jschneier/django-storages/blob/master/CHANGELOG.rst -django-storages - -# Abstraction models for rendering and paginating HTML tables -# https://github.com/jieter/django-tables2/blob/master/CHANGELOG.md -django-tables2 - -# User-defined tags for objects -# https://github.com/jazzband/django-taggit/blob/master/CHANGELOG.rst -django-taggit - -# A Django field for representing time zones -# https://github.com/mfogel/django-timezone-field/ -django-timezone-field - -# A REST API framework for Django projects -# https://www.django-rest-framework.org/community/release-notes/ -djangorestframework - -# Sane and flexible OpenAPI 3 schema generation for Django REST framework. -# https://github.com/tfranzel/drf-spectacular/blob/master/CHANGELOG.rst -drf-spectacular - -# Serve self-contained distribution builds of Swagger UI and Redoc with Django. -# https://github.com/tfranzel/drf-spectacular-sidecar -drf-spectacular-sidecar - -# RSS feed parser -# https://github.com/kurtmckee/feedparser/blob/develop/CHANGELOG.rst -feedparser - -# WSGI HTTP server -# https://docs.gunicorn.org/en/latest/news.html -gunicorn - -# Platform-agnostic template rendering engine -# https://jinja.palletsprojects.com/changes/ -Jinja2 - -# JSON schema validation -# https://github.com/python-jsonschema/jsonschema/blob/main/CHANGELOG.rst -jsonschema - -# Simple markup language for rendering HTML -# https://python-markdown.github.io/changelog/ -Markdown - -# MkDocs Material theme (for documentation build) -# https://squidfunk.github.io/mkdocs-material/changelog/ -mkdocs-material - -# Introspection for embedded code -# https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md -mkdocstrings - -# Python handler for mkdocstrings -# https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md -mkdocstrings-python - -# Library for manipulating IP prefixes and addresses -# https://github.com/netaddr/netaddr/blob/master/CHANGELOG.rst -netaddr - -# Python bindings to the ammonia HTML sanitization library. -# https://github.com/messense/nh3 -nh3 - -# Fork of PIL (Python Imaging Library) for image processing -# https://github.com/python-pillow/Pillow/releases -# https://pillow.readthedocs.io/en/stable/releasenotes/ -Pillow - -# PostgreSQL database adapter for Python -# https://github.com/psycopg/psycopg/blob/master/docs/news.rst -psycopg[c,pool] - -# YAML rendering library -# https://github.com/yaml/pyyaml/blob/master/CHANGES -PyYAML - -# Requests -# https://github.com/psf/requests/blob/main/HISTORY.md -requests - -# rq -# https://github.com/rq/rq/blob/master/CHANGES.md -rq - -# Django app for social-auth-core -# https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md -social-auth-app-django - -# Social authentication framework -# https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md -social-auth-core - -# Image thumbnail generation -# https://github.com/jazzband/sorl-thumbnail/blob/master/CHANGES.rst -sorl-thumbnail - -# Strawberry GraphQL -# https://github.com/strawberry-graphql/strawberry/blob/main/CHANGELOG.md -strawberry-graphql - -# Strawberry GraphQL Django extension -# https://github.com/strawberry-graphql/strawberry-django/releases -strawberry-graphql-django - -# SVG image rendering (used for rack elevations) -# https://github.com/mozman/svgwrite/blob/master/NEWS.rst -svgwrite - -# Tabular dataset library (for table-based exports) -# https://github.com/jazzband/tablib/blob/master/HISTORY.md -tablib - -# Timezone data (required by django-timezone-field on Python 3.9+) -# https://github.com/python/tzdata/blob/master/NEWS.md -tzdata diff --git a/contrib/apache.conf b/contrib/apache.conf deleted file mode 100644 index fdd0543f7d..0000000000 --- a/contrib/apache.conf +++ /dev/null @@ -1,35 +0,0 @@ - - # CHANGE THIS TO YOUR SERVER'S NAME - ServerName netbox.example.com - - RewriteEngine On - RewriteCond %{HTTPS} !=on - RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] - - - - ProxyPreserveHost On - - # CHANGE THIS TO YOUR SERVER'S NAME - ServerName netbox.example.com - - SSLEngine on - SSLCertificateFile /etc/ssl/certs/netbox.crt - SSLCertificateKeyFile /etc/ssl/private/netbox.key - - Alias /static /opt/netbox/netbox/static - - - Options FollowSymLinks MultiViews - AllowOverride None - Require all granted - - - - ProxyPass ! - - - RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} - ProxyPass / http://127.0.0.1:8001/ - ProxyPassReverse / http://127.0.0.1:8001/ - diff --git a/contrib/generated_schema.json b/contrib/generated_schema.json deleted file mode 100644 index 2793579126..0000000000 --- a/contrib/generated_schema.json +++ /dev/null @@ -1,700 +0,0 @@ -{ - "type": "object", - "$id": "urn:devicetype-library:generated-schema", - "$schema": "https://json-schema.org/draft/2020-12/schema", - "additionalProperties": false, - "definitions": { - "airflow": { - "type": "string", - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed" - ] - }, - "weight-unit": { - "type": "string", - "enum": [ - "kg", - "g", - "lb", - "oz" - ] - }, - "subdevice-role": { - "type": "string", - "enum": [ - "parent", - "child" - ] - }, - "console-port": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ] - } - } - }, - "console-server-port": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ] - } - } - }, - "power-port": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other" - ] - } - } - }, - "power-outlet": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other" - ] - }, - "feed-leg": { - "type": "string", - "enum": [ - "A", - "B", - "C" - ] - } - } - }, - "interface": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ] - }, - "poe_mode": { - "type": "string", - "enum": [ - "pd", - "pse" - ] - }, - "poe_type": { - "type": "string", - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair" - ] - }, - "rf_role": { - "type": "string", - "enum": [ - "ap", - "station" - ] - } - } - }, - "front-port": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ] - } - } - }, - "rear-port": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ] - } - } - } - } -} diff --git a/contrib/gunicorn.py b/contrib/gunicorn.py deleted file mode 100644 index 4b2b7c6b05..0000000000 --- a/contrib/gunicorn.py +++ /dev/null @@ -1,20 +0,0 @@ -# The IP address (typically localhost) and port that the NetBox WSGI process should listen on -bind = '127.0.0.1:8001' - -# Number of gunicorn workers to spawn. This should typically be 2n+1, where -# n is the number of CPU cores present. -workers = 5 - -# Number of threads per worker process -threads = 3 - -# Timeout (in seconds) for a request to complete -timeout = 120 - -# The maximum number of requests a worker can handle before being respawned -max_requests = 5000 -max_requests_jitter = 500 - -# Uncomment this line to accept HTTP headers containing underscores, e.g. for remote -# authentication support. See https://docs.gunicorn.org/en/stable/settings.html#header-map -# header-map = 'dangerous' diff --git a/contrib/netbox-rq.service b/contrib/netbox-rq.service deleted file mode 100644 index 6d2f42743a..0000000000 --- a/contrib/netbox-rq.service +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=NetBox Request Queue Worker -Documentation=https://docs.netbox.dev/ -After=network-online.target -Wants=network-online.target - -[Service] -Type=simple - -User=netbox -Group=netbox -WorkingDirectory=/opt/netbox - -ExecStart=/opt/netbox/venv/bin/python3 /opt/netbox/netbox/manage.py rqworker high default low - -Restart=on-failure -RestartSec=30 -PrivateTmp=true - -[Install] -WantedBy=multi-user.target diff --git a/contrib/netbox.service b/contrib/netbox.service deleted file mode 100644 index 8c602fa5ba..0000000000 --- a/contrib/netbox.service +++ /dev/null @@ -1,26 +0,0 @@ -[Unit] -Description=NetBox WSGI Service -Documentation=https://docs.netbox.dev/ -After=network-online.target -Wants=network-online.target - -[Service] -Type=simple - -User=netbox -Group=netbox -PIDFile=/var/tmp/netbox.pid -WorkingDirectory=/opt/netbox - -# Remove the following line if using uWSGI instead of Gunicorn -ExecStart=/opt/netbox/venv/bin/gunicorn --pid /var/tmp/netbox.pid --pythonpath /opt/netbox/netbox --config /opt/netbox/gunicorn.py netbox.wsgi - -# Uncomment the following line if using uWSGI instead of Gunicorn -#ExecStart=/opt/netbox/venv/bin/uwsgi --ini /opt/netbox/uwsgi.ini - -Restart=on-failure -RestartSec=30 -PrivateTmp=true - -[Install] -WantedBy=multi-user.target diff --git a/contrib/nginx.conf b/contrib/nginx.conf deleted file mode 100644 index 31d026e0d3..0000000000 --- a/contrib/nginx.conf +++ /dev/null @@ -1,39 +0,0 @@ -server { - listen [::]:443 ssl ipv6only=off; - - # CHANGE THIS TO YOUR SERVER'S NAME - server_name netbox.example.com; - - ssl_certificate /etc/ssl/certs/netbox.crt; - ssl_certificate_key /etc/ssl/private/netbox.key; - - client_max_body_size 25m; - - location /static/ { - alias /opt/netbox/netbox/static/; - } - - location / { - # Remove these lines if using uWSGI instead of Gunicorn - proxy_pass http://127.0.0.1:8001; - proxy_set_header X-Forwarded-Host $http_host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-Proto $scheme; - - # Uncomment these lines if using uWSGI instead of Gunicorn - # include uwsgi_params; - # uwsgi_pass 127.0.0.1:8001; - # uwsgi_param Host $host; - # uwsgi_param X-Real-IP $remote_addr; - # uwsgi_param X-Forwarded-For $proxy_add_x_forwarded_for; - # uwsgi_param X-Forwarded-Proto $http_x_forwarded_proto; - - } -} - -server { - # Redirect HTTP traffic to HTTPS - listen [::]:80 ipv6only=off; - server_name _; - return 301 https://$host$request_uri; -} diff --git a/contrib/openapi.json b/contrib/openapi.json deleted file mode 100644 index 33b5092afc..0000000000 --- a/contrib/openapi.json +++ /dev/null @@ -1,257638 +0,0 @@ -{ - "openapi": "3.0.3", - "info": { - "title": "NetBox REST API", - "version": "4.4.2", - "license": { - "name": "Apache v2 License" - } - }, - "paths": { - "/api/circuits/circuit-group-assignments/": { - "get": { - "operationId": "circuits_circuit_group_assignments_list", - "description": "Get a list of Circuit group assignment objects.", - "parameters": [ - { - "in": "query", - "name": "circuit", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "circuit_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Circuit group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Circuit group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Circuit group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Circuit group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "member_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "member_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "member_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "priority", - "schema": { - "type": "string", - "x-spec-enum-id": "ef3a31644cec7524", - "nullable": true, - "enum": [ - "inactive", - "primary", - "secondary", - "tertiary" - ] - }, - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive" - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_circuit", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_circuit_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCircuitGroupAssignmentList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_circuit_group_assignments_create", - "description": "Post a list of Circuit group assignment objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitGroupAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitGroupAssignmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_group_assignments_bulk_update", - "description": "Put a list of Circuit group assignment objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_group_assignments_bulk_partial_update", - "description": "Patch a list of Circuit group assignment objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_group_assignments_bulk_destroy", - "description": "Delete a list of Circuit group assignment objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-group-assignments/{id}/": { - "get": { - "operationId": "circuits_circuit_group_assignments_retrieve", - "description": "Get a Circuit group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this Circuit group assignment.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_group_assignments_update", - "description": "Put a Circuit group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this Circuit group assignment.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitGroupAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitGroupAssignmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_group_assignments_partial_update", - "description": "Patch a Circuit group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this Circuit group assignment.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCircuitGroupAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCircuitGroupAssignmentRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_group_assignments_destroy", - "description": "Delete a Circuit group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this Circuit group assignment.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-groups/": { - "get": { - "operationId": "circuits_circuit_groups_list", - "description": "Get a list of circuit group objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCircuitGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_circuit_groups_create", - "description": "Post a list of circuit group objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_groups_bulk_update", - "description": "Put a list of circuit group objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_groups_bulk_partial_update", - "description": "Patch a list of circuit group objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_groups_bulk_destroy", - "description": "Delete a list of circuit group objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-groups/{id}/": { - "get": { - "operationId": "circuits_circuit_groups_retrieve", - "description": "Get a circuit group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit group.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_groups_update", - "description": "Put a circuit group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit group.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CircuitGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_groups_partial_update", - "description": "Patch a circuit group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit group.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCircuitGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCircuitGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_groups_destroy", - "description": "Delete a circuit group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit group.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-terminations/": { - "get": { - "operationId": "circuits_circuit_terminations_list", - "description": "Get a list of circuit termination objects.", - "parameters": [ - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "circuit_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Circuit", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "circuit_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Circuit", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "port_speed", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "port_speed__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "port_speed__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "port_speed__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "port_speed__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "port_speed__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "port_speed__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "pp_info__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pp_info__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "ProviderNetwork (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "ProviderNetwork (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "term_side", - "schema": { - "type": "string", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination side", - "enum": [ - "A", - "Z" - ] - }, - "description": "* `A` - A\n* `Z` - Z" - }, - { - "in": "query", - "name": "termination_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "termination_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "upstream_speed", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "upstream_speed__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "upstream_speed__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "upstream_speed__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "upstream_speed__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "upstream_speed__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "upstream_speed__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "xconnect_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "xconnect_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCircuitTerminationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_circuit_terminations_create", - "description": "Post a list of circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_terminations_bulk_update", - "description": "Put a list of circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_terminations_bulk_partial_update", - "description": "Patch a list of circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_terminations_bulk_destroy", - "description": "Delete a list of circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-terminations/{id}/": { - "get": { - "operationId": "circuits_circuit_terminations_retrieve", - "description": "Get a circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_terminations_update", - "description": "Put a circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CircuitTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_terminations_partial_update", - "description": "Patch a circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCircuitTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCircuitTerminationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_terminations_destroy", - "description": "Delete a circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-terminations/{id}/paths/": { - "get": { - "operationId": "circuits_circuit_terminations_paths_retrieve", - "description": "Return all CablePaths which traverse a given pass-through port.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - }, - "description": "" - } - } - } - }, - "/api/circuits/circuit-types/": { - "get": { - "operationId": "circuits_circuit_types_list", - "description": "Get a list of circuit type objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCircuitTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_circuit_types_create", - "description": "Post a list of circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_types_bulk_update", - "description": "Put a list of circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_types_bulk_partial_update", - "description": "Patch a list of circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_types_bulk_destroy", - "description": "Delete a list of circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuit-types/{id}/": { - "get": { - "operationId": "circuits_circuit_types_retrieve", - "description": "Get a circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuit_types_update", - "description": "Put a circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CircuitTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuit_types_partial_update", - "description": "Patch a circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCircuitTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCircuitTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CircuitType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuit_types_destroy", - "description": "Delete a circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuits/": { - "get": { - "operationId": "circuits_circuits_list", - "description": "Get a list of circuit objects.", - "parameters": [ - { - "in": "query", - "name": "cid", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "cid__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "commit_rate", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "commit_rate__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "commit_rate__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "commit_rate__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "commit_rate__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "commit_rate__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "commit_rate__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "distance__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true, - "enum": [ - "ft", - "km", - "m", - "mi" - ] - }, - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "install_date", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "install_date__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "install_date__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "install_date__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "install_date__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "install_date__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "install_date__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account", - "schema": { - "type": "array", - "items": { - "type": "string", - "title": "Account ID" - } - }, - "description": "Provider account (account)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "title": "Account ID" - } - }, - "description": "Provider account (account)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider account (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider account (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider network (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider network (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_a_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Termination A (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_a_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Termination A (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_date", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_date__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "termination_date__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_date__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_date__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_date__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_date__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_z_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Termination A (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_z_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Termination A (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Circuit type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Circuit type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Circuit type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Circuit type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCircuitList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_circuits_create", - "description": "Post a list of circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Circuit" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuits_bulk_update", - "description": "Put a list of circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Circuit" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuits_bulk_partial_update", - "description": "Patch a list of circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Circuit" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuits_bulk_destroy", - "description": "Delete a list of circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/circuits/{id}/": { - "get": { - "operationId": "circuits_circuits_retrieve", - "description": "Get a circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Circuit" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_circuits_update", - "description": "Put a circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCircuitRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Circuit" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_circuits_partial_update", - "description": "Patch a circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCircuitRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCircuitRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Circuit" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_circuits_destroy", - "description": "Delete a circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/provider-accounts/": { - "get": { - "operationId": "circuits_provider_accounts_list", - "description": "Get a list of provider account objects.", - "parameters": [ - { - "in": "query", - "name": "account", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "account__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedProviderAccountList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_provider_accounts_create", - "description": "Post a list of provider account objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_provider_accounts_bulk_update", - "description": "Put a list of provider account objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_provider_accounts_bulk_partial_update", - "description": "Patch a list of provider account objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_provider_accounts_bulk_destroy", - "description": "Delete a list of provider account objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/provider-accounts/{id}/": { - "get": { - "operationId": "circuits_provider_accounts_retrieve", - "description": "Get a provider account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider account.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_provider_accounts_update", - "description": "Put a provider account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider account.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ProviderAccountRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_provider_accounts_partial_update", - "description": "Patch a provider account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider account.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedProviderAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedProviderAccountRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_provider_accounts_destroy", - "description": "Delete a provider account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider account.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/provider-networks/": { - "get": { - "operationId": "circuits_provider_networks_list", - "description": "Get a list of provider network objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "service_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "service_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedProviderNetworkList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_provider_networks_create", - "description": "Post a list of provider network objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_provider_networks_bulk_update", - "description": "Put a list of provider network objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_provider_networks_bulk_partial_update", - "description": "Patch a list of provider network objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_provider_networks_bulk_destroy", - "description": "Delete a list of provider network objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/provider-networks/{id}/": { - "get": { - "operationId": "circuits_provider_networks_retrieve", - "description": "Get a provider network object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider network.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_provider_networks_update", - "description": "Put a provider network object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider network.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ProviderNetworkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_provider_networks_partial_update", - "description": "Patch a provider network object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider network.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedProviderNetworkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedProviderNetworkRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_provider_networks_destroy", - "description": "Delete a provider network object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider network.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/providers/": { - "get": { - "operationId": "circuits_providers_list", - "description": "Get a list of provider objects.", - "parameters": [ - { - "in": "query", - "name": "asn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - } - }, - "description": "ASN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - } - }, - "description": "ASN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "ASN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "ASN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedProviderList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_providers_create", - "description": "Post a list of provider objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Provider" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_providers_bulk_update", - "description": "Put a list of provider objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Provider" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_providers_bulk_partial_update", - "description": "Patch a list of provider objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Provider" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_providers_bulk_destroy", - "description": "Delete a list of provider objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/providers/{id}/": { - "get": { - "operationId": "circuits_providers_retrieve", - "description": "Get a provider object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Provider" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_providers_update", - "description": "Put a provider object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ProviderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ProviderRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Provider" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_providers_partial_update", - "description": "Patch a provider object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedProviderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedProviderRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Provider" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_providers_destroy", - "description": "Delete a provider object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this provider.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/virtual-circuit-terminations/": { - "get": { - "operationId": "circuits_virtual_circuit_terminations_list", - "description": "Get a list of virtual circuit termination objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account", - "schema": { - "type": "array", - "items": { - "type": "string", - "title": "Account ID" - } - }, - "description": "Provider account (account)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "title": "Account ID" - } - }, - "description": "Provider account (account)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider account (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider account (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider network (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider network (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "role__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_circuit_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_circuit_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit", - "explode": true, - "style": "form" - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualCircuitTerminationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_virtual_circuit_terminations_create", - "description": "Post a list of virtual circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_virtual_circuit_terminations_bulk_update", - "description": "Put a list of virtual circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_virtual_circuit_terminations_bulk_partial_update", - "description": "Patch a list of virtual circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_virtual_circuit_terminations_bulk_destroy", - "description": "Delete a list of virtual circuit termination objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/virtual-circuit-terminations/{id}/": { - "get": { - "operationId": "circuits_virtual_circuit_terminations_retrieve", - "description": "Get a virtual circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_virtual_circuit_terminations_update", - "description": "Put a virtual circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_virtual_circuit_terminations_partial_update", - "description": "Patch a virtual circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualCircuitTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualCircuitTerminationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_virtual_circuit_terminations_destroy", - "description": "Delete a virtual circuit termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/virtual-circuit-terminations/{id}/paths/": { - "get": { - "operationId": "circuits_virtual_circuit_terminations_paths_retrieve", - "description": "Return all CablePaths which traverse a given pass-through port.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit termination.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - }, - "description": "" - } - } - } - }, - "/api/circuits/virtual-circuit-types/": { - "get": { - "operationId": "circuits_virtual_circuit_types_list", - "description": "Get a list of virtual circuit type objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualCircuitTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_virtual_circuit_types_create", - "description": "Post a list of virtual circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_virtual_circuit_types_bulk_update", - "description": "Put a list of virtual circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_virtual_circuit_types_bulk_partial_update", - "description": "Patch a list of virtual circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_virtual_circuit_types_bulk_destroy", - "description": "Delete a list of virtual circuit type objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/virtual-circuit-types/{id}/": { - "get": { - "operationId": "circuits_virtual_circuit_types_retrieve", - "description": "Get a virtual circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_virtual_circuit_types_update", - "description": "Put a virtual circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_virtual_circuit_types_partial_update", - "description": "Patch a virtual circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVirtualCircuitTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVirtualCircuitTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_virtual_circuit_types_destroy", - "description": "Delete a virtual circuit type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit type.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/virtual-circuits/": { - "get": { - "operationId": "circuits_virtual_circuits_list", - "description": "Get a list of virtual circuit objects.", - "parameters": [ - { - "in": "query", - "name": "cid", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "cid__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cid__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account", - "schema": { - "type": "array", - "items": { - "type": "string", - "title": "Account ID" - } - }, - "description": "Provider account (account)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "title": "Account ID" - } - }, - "description": "Provider account (account)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider account (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider account (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider network (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_network_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider network (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "63c838134a022200" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual circuit type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual circuit type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualCircuitList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "circuits_virtual_circuits_create", - "description": "Post a list of virtual circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_virtual_circuits_bulk_update", - "description": "Put a list of virtual circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_virtual_circuits_bulk_partial_update", - "description": "Patch a list of virtual circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_virtual_circuits_bulk_destroy", - "description": "Delete a list of virtual circuit objects.", - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/circuits/virtual-circuits/{id}/": { - "get": { - "operationId": "circuits_virtual_circuits_retrieve", - "description": "Get a virtual circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "circuits_virtual_circuits_update", - "description": "Put a virtual circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualCircuitRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "circuits_virtual_circuits_partial_update", - "description": "Patch a virtual circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualCircuitRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualCircuitRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "circuits_virtual_circuits_destroy", - "description": "Delete a virtual circuit object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual circuit.", - "required": true - } - ], - "tags": [ - "circuits" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/core/background-queues/": { - "get": { - "operationId": "core_background_queues_retrieve", - "description": "Retrieve a list of RQ Queues.\nNote: Queue names are not URL safe, so not returning a detail view.", - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-queues/{name}/": { - "get": { - "operationId": "core_background_queues_retrieve_by_name", - "description": "Retrieve a list of RQ Queues.\nNote: Queue names are not URL safe, so not returning a detail view.", - "parameters": [ - { - "in": "path", - "name": "name", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-tasks/": { - "get": { - "operationId": "core_background_tasks_retrieve", - "description": "Retrieve a list of RQ Tasks.", - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-tasks/{id}/": { - "get": { - "operationId": "core_background_tasks_retrieve_by_id", - "description": "Retrieve a list of RQ Tasks.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-tasks/{id}/delete/": { - "post": { - "operationId": "core_background_tasks_delete_create", - "description": "Retrieve a list of RQ Tasks.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTask" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-tasks/{id}/enqueue/": { - "post": { - "operationId": "core_background_tasks_enqueue_create", - "description": "Retrieve a list of RQ Tasks.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTask" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-tasks/{id}/requeue/": { - "post": { - "operationId": "core_background_tasks_requeue_create", - "description": "Retrieve a list of RQ Tasks.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTask" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-tasks/{id}/stop/": { - "post": { - "operationId": "core_background_tasks_stop_create", - "description": "Retrieve a list of RQ Tasks.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BackgroundTaskRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BackgroundTask" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-workers/": { - "get": { - "operationId": "core_background_workers_retrieve", - "description": "Retrieve a list of RQ Workers.", - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/core/background-workers/{name}/": { - "get": { - "operationId": "core_background_workers_retrieve_by_name", - "description": "Retrieve a list of RQ Workers.", - "parameters": [ - { - "in": "path", - "name": "name", - "schema": { - "type": "string" - }, - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/core/data-files/": { - "get": { - "operationId": "core_data_files_list", - "description": "Get a list of data file objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "hash", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "hash__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "hash__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "path", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "path__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "path__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "size", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "size__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Data source (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Data source (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDataFileList" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/data-files/{id}/": { - "get": { - "operationId": "core_data_files_retrieve", - "description": "Get a data file object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this data file.", - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DataFile" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/data-sources/": { - "get": { - "operationId": "core_data_sources_list", - "description": "Get a list of data source objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_synced", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_synced__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_synced__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_synced__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_synced__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_synced__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_synced__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "source_url", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "source_url__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "source_url__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__ic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__ie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__iew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__iregex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__isw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__nic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__nie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__niew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__nisw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sync_interval__regex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDataSourceList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "core_data_sources_create", - "description": "Post a list of data source objects.", - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDataSourceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDataSourceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DataSource" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "core_data_sources_bulk_update", - "description": "Put a list of data source objects.", - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSourceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSourceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSource" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "core_data_sources_bulk_partial_update", - "description": "Patch a list of data source objects.", - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSourceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSourceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSource" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "core_data_sources_bulk_destroy", - "description": "Delete a list of data source objects.", - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSourceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSourceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/core/data-sources/{id}/": { - "get": { - "operationId": "core_data_sources_retrieve", - "description": "Get a data source object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this data source.", - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DataSource" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "core_data_sources_update", - "description": "Put a data source object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this data source.", - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDataSourceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDataSourceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DataSource" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "core_data_sources_partial_update", - "description": "Patch a data source object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this data source.", - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDataSourceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDataSourceRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DataSource" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "core_data_sources_destroy", - "description": "Delete a data source object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this data source.", - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/core/data-sources/{id}/sync/": { - "post": { - "operationId": "core_data_sources_sync_create", - "description": "Enqueue a job to synchronize the DataSource.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this data source.", - "required": true - } - ], - "tags": [ - "core" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDataSourceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDataSourceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DataSource" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/jobs/": { - "get": { - "operationId": "core_jobs_list", - "description": "Retrieve a list of job results", - "parameters": [ - { - "in": "query", - "name": "completed", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "completed__after", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "completed__before", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created__after", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created__before", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interval", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interval__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "interval__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interval__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interval__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interval__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interval__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "job_id", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "scheduled", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "scheduled__after", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "scheduled__before", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "started", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "started__after", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "started__before", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e33887d83efcc138" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "integer" - } - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedJobList" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/jobs/{id}/": { - "get": { - "operationId": "core_jobs_retrieve", - "description": "Retrieve a list of job results", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this job.", - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Job" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/object-changes/": { - "get": { - "operationId": "core_object_changes_list", - "description": "Retrieve a list of recent changes.", - "parameters": [ - { - "in": "query", - "name": "action", - "schema": { - "type": "string", - "x-spec-enum-id": "544f9b3b28b7ce6a", - "enum": [ - "create", - "delete", - "update" - ] - }, - "description": "* `create` - Created\n* `update` - Updated\n* `delete` - Deleted" - }, - { - "in": "query", - "name": "changed_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "changed_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "changed_object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "changed_object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "changed_object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_repr", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_repr__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_repr__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "related_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "related_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "related_object_type__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "request_id", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "time_after", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "time_before", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User name", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User name", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "user_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedObjectChangeList" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/object-changes/{id}/": { - "get": { - "operationId": "core_object_changes_retrieve", - "description": "Retrieve a list of recent changes.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this object change.", - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectChange" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/object-types/": { - "get": { - "operationId": "core_object_types_list", - "description": "Read-only list of ObjectTypes.", - "parameters": [ - { - "in": "query", - "name": "app_label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "app_label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "features", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "model", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "model__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "public", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedObjectTypeList" - } - } - }, - "description": "" - } - } - } - }, - "/api/core/object-types/{id}/": { - "get": { - "operationId": "core_object_types_retrieve", - "description": "Read-only list of ObjectTypes.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this object type.", - "required": true - } - ], - "tags": [ - "core" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectType" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/cable-terminations/": { - "get": { - "operationId": "dcim_cable_terminations_list", - "description": "Get a list of cable termination objects.", - "parameters": [ - { - "in": "query", - "name": "cable", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "cable__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End", - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "termination_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCableTerminationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_cable_terminations_create", - "description": "Post a list of cable termination objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_cable_terminations_bulk_update", - "description": "Put a list of cable termination objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTermination" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_cable_terminations_bulk_partial_update", - "description": "Patch a list of cable termination objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTermination" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_cable_terminations_bulk_destroy", - "description": "Delete a list of cable termination objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/cable-terminations/{id}/": { - "get": { - "operationId": "dcim_cable_terminations_retrieve", - "description": "Get a cable termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable termination.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_cable_terminations_update", - "description": "Put a cable termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable termination.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CableTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTermination" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_cable_terminations_partial_update", - "description": "Patch a cable termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable termination.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCableTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCableTerminationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTermination" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_cable_terminations_destroy", - "description": "Delete a cable termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable termination.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/cables/": { - "get": { - "operationId": "dcim_cables_list", - "description": "Get a list of cable objects.", - "parameters": [ - { - "in": "query", - "name": "circuittermination_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "consoleport_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "consoleserverport_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "frontport_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "length__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "length_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "e64ce3a2c5997172", - "nullable": true, - "enum": [ - "cm", - "ft", - "in", - "km", - "m", - "mi" - ] - }, - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "powerfeed_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poweroutlet_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "powerport_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rearport_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_a_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_a_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_a_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_b_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_b_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_b_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unterminated", - "schema": { - "type": "boolean" - }, - "description": "Unterminated" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCableList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_cables_create", - "description": "Post a list of cable objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCableRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCableRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cable" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_cables_bulk_update", - "description": "Put a list of cable objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cable" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_cables_bulk_partial_update", - "description": "Patch a list of cable objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cable" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_cables_bulk_destroy", - "description": "Delete a list of cable objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/cables/{id}/": { - "get": { - "operationId": "dcim_cables_retrieve", - "description": "Get a cable object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cable" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_cables_update", - "description": "Put a cable object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCableRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCableRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cable" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_cables_partial_update", - "description": "Patch a cable object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCableRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCableRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cable" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_cables_destroy", - "description": "Delete a cable object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/connected-device/": { - "get": { - "operationId": "dcim_connected_device_list", - "description": "This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer\ninterface. This is useful in a situation where a device boots with no configuration, but can detect its neighbors\nvia a protocol such as LLDP. Two query parameters must be included in the request:\n\n* `peer_device`: The name of the peer device\n* `peer_interface`: The name of the peer interface", - "parameters": [ - { - "in": "query", - "name": "peer_device", - "schema": { - "type": "string" - }, - "description": "The name of the peer device", - "required": true - }, - { - "in": "query", - "name": "peer_interface", - "schema": { - "type": "string" - }, - "description": "The name of the peer interface", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Device" - } - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/console-port-templates/": { - "get": { - "operationId": "dcim_console_port_templates_list", - "description": "Get a list of console port template objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true, - "enum": [ - "Other", - "Serial", - "USB" - ] - }, - "description": "* `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')]\n* `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')]\n* `Other` - [('other', 'Other')]" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConsolePortTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_console_port_templates_create", - "description": "Post a list of console port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_port_templates_bulk_update", - "description": "Put a list of console port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_port_templates_bulk_partial_update", - "description": "Patch a list of console port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_port_templates_bulk_destroy", - "description": "Delete a list of console port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-port-templates/{id}/": { - "get": { - "operationId": "dcim_console_port_templates_retrieve", - "description": "Get a console port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_port_templates_update", - "description": "Put a console port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_port_templates_partial_update", - "description": "Patch a console port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsolePortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsolePortTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_port_templates_destroy", - "description": "Delete a console port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-ports/": { - "get": { - "operationId": "dcim_console_ports_list", - "description": "Get a list of console port objects.", - "parameters": [ - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed", - "schema": { - "type": "integer", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true, - "enum": [ - 115200, - 1200, - 19200, - 2400, - 38400, - 4800, - 57600, - 9600 - ] - }, - "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConsolePortList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_console_ports_create", - "description": "Post a list of console port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_ports_bulk_update", - "description": "Put a list of console port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePort" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_ports_bulk_partial_update", - "description": "Patch a list of console port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePort" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_ports_bulk_destroy", - "description": "Delete a list of console port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-ports/{id}/": { - "get": { - "operationId": "dcim_console_ports_retrieve", - "description": "Get a console port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_ports_update", - "description": "Put a console port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsolePortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePort" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_ports_partial_update", - "description": "Patch a console port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsolePortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsolePortRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePort" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_ports_destroy", - "description": "Delete a console port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-ports/{id}/trace/": { - "get": { - "operationId": "dcim_console_ports_trace_retrieve", - "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsolePort" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/console-server-port-templates/": { - "get": { - "operationId": "dcim_console_server_port_templates_list", - "description": "Get a list of console server port template objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true, - "enum": [ - "Other", - "Serial", - "USB" - ] - }, - "description": "* `Serial` - [('de-9', 'DE-9'), ('db-25', 'DB-25'), ('rj-11', 'RJ-11'), ('rj-12', 'RJ-12'), ('rj-45', 'RJ-45'), ('mini-din-8', 'Mini-DIN 8')]\n* `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB')]\n* `Other` - [('other', 'Other')]" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConsoleServerPortTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_console_server_port_templates_create", - "description": "Post a list of console server port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_server_port_templates_bulk_update", - "description": "Put a list of console server port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_server_port_templates_bulk_partial_update", - "description": "Patch a list of console server port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_server_port_templates_bulk_destroy", - "description": "Delete a list of console server port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-server-port-templates/{id}/": { - "get": { - "operationId": "dcim_console_server_port_templates_retrieve", - "description": "Get a console server port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_server_port_templates_update", - "description": "Put a console server port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_server_port_templates_partial_update", - "description": "Patch a console server port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsoleServerPortTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_server_port_templates_destroy", - "description": "Delete a console server port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-server-ports/": { - "get": { - "operationId": "dcim_console_server_ports_list", - "description": "Get a list of console server port objects.", - "parameters": [ - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed", - "schema": { - "type": "integer", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true, - "enum": [ - 115200, - 1200, - 19200, - 2400, - 38400, - 4800, - 57600, - 9600 - ] - }, - "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConsoleServerPortList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_console_server_ports_create", - "description": "Post a list of console server port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_server_ports_bulk_update", - "description": "Put a list of console server port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_server_ports_bulk_partial_update", - "description": "Patch a list of console server port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_server_ports_bulk_destroy", - "description": "Delete a list of console server port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-server-ports/{id}/": { - "get": { - "operationId": "dcim_console_server_ports_retrieve", - "description": "Get a console server port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_console_server_ports_update", - "description": "Put a console server port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableConsoleServerPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_console_server_ports_partial_update", - "description": "Patch a console server port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsoleServerPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableConsoleServerPortRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_console_server_ports_destroy", - "description": "Delete a console server port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/console-server-ports/{id}/trace/": { - "get": { - "operationId": "dcim_console_server_ports_trace_retrieve", - "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this console server port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/device-bay-templates/": { - "get": { - "operationId": "dcim_device_bay_templates_list", - "description": "Get a list of device bay template objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDeviceBayTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_device_bay_templates_create", - "description": "Post a list of device bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_bay_templates_bulk_update", - "description": "Put a list of device bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_bay_templates_bulk_partial_update", - "description": "Patch a list of device bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_bay_templates_bulk_destroy", - "description": "Delete a list of device bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-bay-templates/{id}/": { - "get": { - "operationId": "dcim_device_bay_templates_retrieve", - "description": "Get a device bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_bay_templates_update", - "description": "Put a device bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_bay_templates_partial_update", - "description": "Patch a device bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedDeviceBayTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedDeviceBayTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_bay_templates_destroy", - "description": "Delete a device bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-bays/": { - "get": { - "operationId": "dcim_device_bays_list", - "description": "Get a list of device bay objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "installed_device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Installed device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "installed_device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Installed device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "installed_device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Installed device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "installed_device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Installed device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDeviceBayList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_device_bays_create", - "description": "Post a list of device bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBay" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_bays_bulk_update", - "description": "Put a list of device bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBay" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_bays_bulk_partial_update", - "description": "Patch a list of device bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBay" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_bays_bulk_destroy", - "description": "Delete a list of device bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-bays/{id}/": { - "get": { - "operationId": "dcim_device_bays_retrieve", - "description": "Get a device bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBay" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_bays_update", - "description": "Put a device bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/DeviceBayRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBay" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_bays_partial_update", - "description": "Patch a device bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedDeviceBayRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedDeviceBayRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceBay" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_bays_destroy", - "description": "Delete a device bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-roles/": { - "get": { - "operationId": "dcim_device_roles_list", - "description": "Get a list of device role objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vm_role", - "schema": { - "type": "boolean" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDeviceRoleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_device_roles_create", - "description": "Post a list of device role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_roles_bulk_update", - "description": "Put a list of device role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRole" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_roles_bulk_partial_update", - "description": "Patch a list of device role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRole" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_roles_bulk_destroy", - "description": "Delete a list of device role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-roles/{id}/": { - "get": { - "operationId": "dcim_device_roles_retrieve", - "description": "Get a device role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_roles_update", - "description": "Put a device role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceRole" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_roles_partial_update", - "description": "Patch a device role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceRoleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceRole" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_roles_destroy", - "description": "Delete a device role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-types/": { - "get": { - "operationId": "dcim_device_types_list", - "description": "Get a list of device type objects.", - "parameters": [ - { - "in": "query", - "name": "airflow", - "schema": { - "type": "string", - "x-spec-enum-id": "943288113dad6782", - "nullable": true, - "enum": [ - "bottom-to-top", - "front-to-rear", - "left-to-right", - "mixed", - "passive", - "rear-to-front", - "rear-to-side", - "right-to-left", - "side-to-rear", - "top-to-bottom" - ] - }, - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed" - }, - { - "in": "query", - "name": "console_port_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "console_port_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_ports", - "schema": { - "type": "boolean" - }, - "description": "Has console ports" - }, - { - "in": "query", - "name": "console_server_port_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "console_server_port_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_ports", - "schema": { - "type": "boolean" - }, - "description": "Has console server ports" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "default_platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "default_platform__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "default_platform_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "default_platform_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_bay_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bays", - "schema": { - "type": "boolean" - }, - "description": "Has device bays" - }, - { - "in": "query", - "name": "exclude_from_utilization", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "front_port_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "front_port_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "has_front_image", - "schema": { - "type": "boolean" - }, - "description": "Has a front image" - }, - { - "in": "query", - "name": "has_rear_image", - "schema": { - "type": "boolean" - }, - "description": "Has a rear image" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "interface_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interfaces", - "schema": { - "type": "boolean" - }, - "description": "Has interfaces" - }, - { - "in": "query", - "name": "inventory_item_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "inventory_item_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_items", - "schema": { - "type": "boolean" - }, - "description": "Has inventory items" - }, - { - "in": "query", - "name": "is_full_depth", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "model__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_bay_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "module_bay_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bays", - "schema": { - "type": "boolean" - }, - "description": "Has module bays" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "part_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "part_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pass_through_ports", - "schema": { - "type": "boolean" - }, - "description": "Has pass-through ports" - }, - { - "in": "query", - "name": "power_outlet_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "power_outlet_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlets", - "schema": { - "type": "boolean" - }, - "description": "Has power outlets" - }, - { - "in": "query", - "name": "power_port_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "power_port_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_ports", - "schema": { - "type": "boolean" - }, - "description": "Has power ports" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rear_port_template_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_template_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rear_port_template_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_template_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_template_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_template_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_template_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "subdevice_role", - "schema": { - "type": "string", - "x-spec-enum-id": "d10d91f690a856c2", - "nullable": true, - "title": "Parent/child status", - "enum": [ - "child", - "parent" - ] - }, - "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.\n\n* `parent` - Parent\n* `child` - Child" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "u_height__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true, - "enum": [ - "g", - "kg", - "lb", - "oz" - ] - }, - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDeviceTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_device_types_create", - "description": "Post a list of device type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_types_bulk_update", - "description": "Put a list of device type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_types_bulk_partial_update", - "description": "Patch a list of device type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_types_bulk_destroy", - "description": "Delete a list of device type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/device-types/{id}/": { - "get": { - "operationId": "dcim_device_types_retrieve", - "description": "Get a device type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_device_types_update", - "description": "Put a device type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_device_types_partial_update", - "description": "Patch a device type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_device_types_destroy", - "description": "Delete a device type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/devices/": { - "get": { - "operationId": "dcim_devices_list", - "description": "Get a list of device objects.", - "parameters": [ - { - "in": "query", - "name": "airflow", - "schema": { - "type": "string", - "x-spec-enum-id": "943288113dad6782", - "nullable": true, - "enum": [ - "bottom-to-top", - "front-to-rear", - "left-to-right", - "mixed", - "passive", - "rear-to-front", - "rear-to-side", - "right-to-left", - "side-to-rear", - "top-to-bottom" - ] - }, - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed" - }, - { - "in": "query", - "name": "asset_tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asset_tag__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VM cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VM cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "console_port_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_port_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_ports", - "schema": { - "type": "boolean" - }, - "description": "Has console ports" - }, - { - "in": "query", - "name": "console_server_port_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "console_server_port_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_port_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "console_server_ports", - "schema": { - "type": "boolean" - }, - "description": "Has console server ports" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_bay_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bay_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_bays", - "schema": { - "type": "boolean" - }, - "description": "Has device bays" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "face", - "schema": { - "type": "string", - "x-spec-enum-id": "d2fb9b3f75158b83", - "nullable": true, - "title": "Rack face", - "enum": [ - "front", - "rear" - ] - }, - "description": "* `front` - Front\n* `rear` - Rear" - }, - { - "in": "query", - "name": "front_port_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "front_port_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "front_port_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "has_oob_ip", - "schema": { - "type": "boolean" - }, - "description": "Has an out-of-band IP" - }, - { - "in": "query", - "name": "has_primary_ip", - "schema": { - "type": "boolean" - }, - "description": "Has a primary IP" - }, - { - "in": "query", - "name": "has_virtual_device_context", - "schema": { - "type": "boolean" - }, - "description": "Has virtual device context" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "interface_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interfaces", - "schema": { - "type": "boolean" - }, - "description": "Has interfaces" - }, - { - "in": "query", - "name": "inventory_item_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "inventory_item_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "inventory_item_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_full_depth", - "schema": { - "type": "boolean" - }, - "description": "Is full depth" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "latitude__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "local_context_data", - "schema": { - "type": "boolean" - }, - "description": "Has local config context data" - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "longitude__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device model (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device model (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_bay_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "module_bay_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bays", - "schema": { - "type": "boolean" - }, - "description": "Has module bays" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "oob_ip_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "OOB IP (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "oob_ip_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "OOB IP (ID)", - "explode": true, - "style": "form" - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_bay_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent bay (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_bay_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent bay (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pass_through_ports", - "schema": { - "type": "boolean" - }, - "description": "Has pass-through ports" - }, - { - "in": "query", - "name": "platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "position__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "power_outlet_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlet_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_outlets", - "schema": { - "type": "boolean" - }, - "description": "Has power outlets" - }, - { - "in": "query", - "name": "power_port_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "power_port_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_ports", - "schema": { - "type": "boolean" - }, - "description": "Has power ports" - }, - { - "in": "query", - "name": "primary_ip4", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv4 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv4 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv6 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv6 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rear_port_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vc_position", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_position__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "vc_position__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_position__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_position__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_position__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_position__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_priority", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_priority__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "vc_priority__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_priority__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_priority__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_priority__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vc_priority__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_member", - "schema": { - "type": "boolean" - }, - "description": "Is a virtual chassis member" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedDeviceWithConfigContextList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_devices_create", - "description": "Post a list of device objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceWithConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_devices_bulk_update", - "description": "Put a list of device objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_devices_bulk_partial_update", - "description": "Patch a list of device objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_devices_bulk_destroy", - "description": "Delete a list of device objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/devices/{id}/": { - "get": { - "operationId": "dcim_devices_retrieve", - "description": "Get a device object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_devices_update", - "description": "Put a device object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceWithConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_devices_partial_update", - "description": "Patch a device object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableDeviceWithConfigContextRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_devices_destroy", - "description": "Delete a device object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/devices/{id}/render-config/": { - "post": { - "operationId": "dcim_devices_render_config_create", - "description": "Resolve and render the preferred ConfigTemplate for this Device.", - "parameters": [ - { - "in": "query", - "name": "format", - "schema": { - "type": "string", - "enum": [ - "json", - "txt" - ] - } - }, - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this device.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableDeviceWithConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - }, - "text/plain": { - "schema": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/front-port-templates/": { - "get": { - "operationId": "dcim_front_port_templates_list", - "description": "Get a list of front port template objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rear_port_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rear_port_position__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedFrontPortTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_front_port_templates_create", - "description": "Post a list of front port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_front_port_templates_bulk_update", - "description": "Put a list of front port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_front_port_templates_bulk_partial_update", - "description": "Patch a list of front port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_front_port_templates_bulk_destroy", - "description": "Delete a list of front port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/front-port-templates/{id}/": { - "get": { - "operationId": "dcim_front_port_templates_retrieve", - "description": "Get a front port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_front_port_templates_update", - "description": "Put a front port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_front_port_templates_partial_update", - "description": "Patch a front port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableFrontPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableFrontPortTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_front_port_templates_destroy", - "description": "Delete a front port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/front-ports/": { - "get": { - "operationId": "dcim_front_ports_list", - "description": "Get a list of front port objects.", - "parameters": [ - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rear_port_position__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rear_port_position__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedFrontPortList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_front_ports_create", - "description": "Post a list of front port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_front_ports_bulk_update", - "description": "Put a list of front port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPort" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_front_ports_bulk_partial_update", - "description": "Patch a list of front port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPort" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_front_ports_bulk_destroy", - "description": "Delete a list of front port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/front-ports/{id}/": { - "get": { - "operationId": "dcim_front_ports_retrieve", - "description": "Get a front port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_front_ports_update", - "description": "Put a front port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableFrontPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPort" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_front_ports_partial_update", - "description": "Patch a front port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableFrontPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableFrontPortRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPort" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_front_ports_destroy", - "description": "Delete a front port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/front-ports/{id}/paths/": { - "get": { - "operationId": "dcim_front_ports_paths_retrieve", - "description": "Return all CablePaths which traverse a given pass-through port.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this front port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FrontPort" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/interface-templates/": { - "get": { - "operationId": "dcim_interface_templates_list", - "description": "Get a list of interface template objects.", - "parameters": [ - { - "in": "query", - "name": "bridge_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bridge_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mgmt_only", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "poe_mode", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "poe_mode__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "poe_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rf_role", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rf_role__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedInterfaceTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_interface_templates_create", - "description": "Post a list of interface template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_interface_templates_bulk_update", - "description": "Put a list of interface template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_interface_templates_bulk_partial_update", - "description": "Patch a list of interface template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_interface_templates_bulk_destroy", - "description": "Delete a list of interface template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/interface-templates/{id}/": { - "get": { - "operationId": "dcim_interface_templates_retrieve", - "description": "Get a interface template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_interface_templates_update", - "description": "Put a interface template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_interface_templates_partial_update", - "description": "Patch a interface template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableInterfaceTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableInterfaceTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_interface_templates_destroy", - "description": "Delete a interface template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/interfaces/": { - "get": { - "operationId": "dcim_interfaces_list", - "description": "Get a list of interface objects.", - "parameters": [ - { - "in": "query", - "name": "bridge_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Bridged interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bridge_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Bridged interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "duplex__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "duplex__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind", - "schema": { - "type": "string" - }, - "description": "Kind of interface" - }, - { - "in": "query", - "name": "l2vpn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "lag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "LAG interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "lag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "LAG interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mgmt_only", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mode", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__empty", - "schema": { - "type": "boolean" - }, - "description": "802.1Q Mode" - }, - { - "in": "query", - "name": "mode__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mtu__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "poe_mode__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_mode__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "poe_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "poe_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary MAC address", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary MAC address", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary MAC address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary MAC address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rf_channel__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_frequency", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_frequency__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rf_channel_frequency__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_frequency__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_frequency__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_frequency__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_frequency__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_width", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_width__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rf_channel_width__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_width__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_width__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_width__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_channel_width__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rf_role__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rf_role__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "speed__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tx_power", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tx_power__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tx_power__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tx_power__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tx_power__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tx_power__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tx_power__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c6dfa8e84dd05942" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vdc", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Device Context", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vdc__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Device Context", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vdc_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Device Context", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vdc_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Device Context", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vdc_identifier", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true - } - }, - "description": "Virtual Device Context (Identifier)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vdc_identifier__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true - } - }, - "description": "Virtual Device Context (Identifier)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_member", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_member_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_member_or_master", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_member_or_master_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_circuit_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_circuit_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_circuit_termination_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit termination (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_circuit_termination_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual circuit termination (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan", - "schema": { - "type": "string" - }, - "description": "Assigned VID" - }, - { - "in": "query", - "name": "vlan_id", - "schema": { - "type": "string" - }, - "description": "Assigned VLAN" - }, - { - "in": "query", - "name": "vlan_translation_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Translation Policy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_translation_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Translation Policy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_translation_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Translation Policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_translation_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Translation Policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wireless_lan_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Wireless LAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wireless_lan_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Wireless LAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wireless_link_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Wireless link", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wireless_link_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Wireless link", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "wwn__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedInterfaceList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_interfaces_create", - "description": "Post a list of interface objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Interface" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_interfaces_bulk_update", - "description": "Put a list of interface objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Interface" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_interfaces_bulk_partial_update", - "description": "Patch a list of interface objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Interface" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_interfaces_bulk_destroy", - "description": "Delete a list of interface objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/interfaces/{id}/": { - "get": { - "operationId": "dcim_interfaces_retrieve", - "description": "Get a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Interface" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_interfaces_update", - "description": "Put a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableInterfaceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Interface" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_interfaces_partial_update", - "description": "Patch a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableInterfaceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableInterfaceRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Interface" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_interfaces_destroy", - "description": "Delete a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/interfaces/{id}/trace/": { - "get": { - "operationId": "dcim_interfaces_trace_retrieve", - "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Interface" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/inventory-item-roles/": { - "get": { - "operationId": "dcim_inventory_item_roles_list", - "description": "Get a list of inventory item role objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedInventoryItemRoleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_inventory_item_roles_create", - "description": "Post a list of inventory item role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_inventory_item_roles_bulk_update", - "description": "Put a list of inventory item role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_inventory_item_roles_bulk_partial_update", - "description": "Patch a list of inventory item role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_inventory_item_roles_bulk_destroy", - "description": "Delete a list of inventory item role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/inventory-item-roles/{id}/": { - "get": { - "operationId": "dcim_inventory_item_roles_retrieve", - "description": "Get a inventory item role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_inventory_item_roles_update", - "description": "Put a inventory item role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_inventory_item_roles_partial_update", - "description": "Patch a inventory item role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedInventoryItemRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedInventoryItemRoleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_inventory_item_roles_destroy", - "description": "Delete a inventory item role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/inventory-item-templates/": { - "get": { - "operationId": "dcim_inventory_item_templates_list", - "description": "Get a list of inventory item template objects.", - "parameters": [ - { - "in": "query", - "name": "component_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "component_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent inventory item (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent inventory item (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "part_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedInventoryItemTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_inventory_item_templates_create", - "description": "Post a list of inventory item template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_inventory_item_templates_bulk_update", - "description": "Put a list of inventory item template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_inventory_item_templates_bulk_partial_update", - "description": "Patch a list of inventory item template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_inventory_item_templates_bulk_destroy", - "description": "Delete a list of inventory item template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/inventory-item-templates/{id}/": { - "get": { - "operationId": "dcim_inventory_item_templates_retrieve", - "description": "Get a inventory item template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_inventory_item_templates_update", - "description": "Put a inventory item template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_inventory_item_templates_partial_update", - "description": "Patch a inventory item template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedInventoryItemTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedInventoryItemTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_inventory_item_templates_destroy", - "description": "Delete a inventory item template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/inventory-items/": { - "get": { - "operationId": "dcim_inventory_items_list", - "description": "Get a list of inventory item objects.", - "parameters": [ - { - "in": "query", - "name": "asset_tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asset_tag__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "component_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "component_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "discovered", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent inventory item (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent inventory item (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "part_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedInventoryItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_inventory_items_create", - "description": "Post a list of inventory item objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_inventory_items_bulk_update", - "description": "Put a list of inventory item objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_inventory_items_bulk_partial_update", - "description": "Patch a list of inventory item objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_inventory_items_bulk_destroy", - "description": "Delete a list of inventory item objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/inventory-items/{id}/": { - "get": { - "operationId": "dcim_inventory_items_retrieve", - "description": "Get a inventory item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_inventory_items_update", - "description": "Put a inventory item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableInventoryItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_inventory_items_partial_update", - "description": "Patch a inventory item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableInventoryItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableInventoryItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/InventoryItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_inventory_items_destroy", - "description": "Delete a inventory item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this inventory item.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/locations/": { - "get": { - "operationId": "dcim_locations_list", - "description": "Get a list of location objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "facility__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedLocationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_locations_create", - "description": "Post a list of location objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableLocationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableLocationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Location" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_locations_bulk_update", - "description": "Put a list of location objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Location" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_locations_bulk_partial_update", - "description": "Patch a list of location objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Location" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_locations_bulk_destroy", - "description": "Delete a list of location objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/LocationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/locations/{id}/": { - "get": { - "operationId": "dcim_locations_retrieve", - "description": "Get a location object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this location.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Location" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_locations_update", - "description": "Put a location object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this location.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableLocationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableLocationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Location" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_locations_partial_update", - "description": "Patch a location object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this location.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableLocationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableLocationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Location" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_locations_destroy", - "description": "Delete a location object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this location.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/mac-addresses/": { - "get": { - "operationId": "dcim_mac_addresses_list", - "description": "Get a list of MAC address objects.", - "parameters": [ - { - "in": "query", - "name": "assigned_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "assigned_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "assigned_object_type__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM interface (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedMACAddressList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_mac_addresses_create", - "description": "Post a list of MAC address objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MACAddressRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MACAddress" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_mac_addresses_bulk_update", - "description": "Put a list of MAC address objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddress" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_mac_addresses_bulk_partial_update", - "description": "Patch a list of MAC address objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddress" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_mac_addresses_bulk_destroy", - "description": "Delete a list of MAC address objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/mac-addresses/{id}/": { - "get": { - "operationId": "dcim_mac_addresses_retrieve", - "description": "Get a MAC address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this MAC address.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MACAddress" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_mac_addresses_update", - "description": "Put a MAC address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this MAC address.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MACAddressRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/MACAddressRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MACAddress" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_mac_addresses_partial_update", - "description": "Patch a MAC address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this MAC address.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedMACAddressRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedMACAddressRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/MACAddress" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_mac_addresses_destroy", - "description": "Delete a MAC address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this MAC address.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/manufacturers/": { - "get": { - "operationId": "dcim_manufacturers_list", - "description": "Get a list of manufacturer objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedManufacturerList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_manufacturers_create", - "description": "Post a list of manufacturer objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Manufacturer" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_manufacturers_bulk_update", - "description": "Put a list of manufacturer objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Manufacturer" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_manufacturers_bulk_partial_update", - "description": "Patch a list of manufacturer objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Manufacturer" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_manufacturers_bulk_destroy", - "description": "Delete a list of manufacturer objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/manufacturers/{id}/": { - "get": { - "operationId": "dcim_manufacturers_retrieve", - "description": "Get a manufacturer object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this manufacturer.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Manufacturer" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_manufacturers_update", - "description": "Put a manufacturer object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this manufacturer.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ManufacturerRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Manufacturer" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_manufacturers_partial_update", - "description": "Patch a manufacturer object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this manufacturer.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedManufacturerRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedManufacturerRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Manufacturer" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_manufacturers_destroy", - "description": "Delete a manufacturer object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this manufacturer.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-bay-templates/": { - "get": { - "operationId": "dcim_module_bay_templates_list", - "description": "Get a list of module bay template objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "position", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "position__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedModuleBayTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_module_bay_templates_create", - "description": "Post a list of module bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_bay_templates_bulk_update", - "description": "Put a list of module bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_bay_templates_bulk_partial_update", - "description": "Patch a list of module bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_bay_templates_bulk_destroy", - "description": "Delete a list of module bay template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-bay-templates/{id}/": { - "get": { - "operationId": "dcim_module_bay_templates_retrieve", - "description": "Get a module bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_bay_templates_update", - "description": "Put a module bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_bay_templates_partial_update", - "description": "Patch a module bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedModuleBayTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedModuleBayTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_bay_templates_destroy", - "description": "Delete a module bay template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-bays/": { - "get": { - "operationId": "dcim_module_bays_list", - "description": "Get a list of module bay objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "installed_module_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Installed module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "installed_module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Installed module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent module bay (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent module bay (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "position__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "position__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedModuleBayList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_module_bays_create", - "description": "Post a list of module bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBay" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_bays_bulk_update", - "description": "Put a list of module bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBay" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_bays_bulk_partial_update", - "description": "Patch a list of module bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBay" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_bays_bulk_destroy", - "description": "Delete a list of module bay objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-bays/{id}/": { - "get": { - "operationId": "dcim_module_bays_retrieve", - "description": "Get a module bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBay" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_bays_update", - "description": "Put a module bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ModuleBayRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBay" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_bays_partial_update", - "description": "Patch a module bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedModuleBayRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedModuleBayRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleBay" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_bays_destroy", - "description": "Delete a module bay object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module bay.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-type-profiles/": { - "get": { - "operationId": "dcim_module_type_profiles_list", - "description": "Get a list of module type profile objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedModuleTypeProfileList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_module_type_profiles_create", - "description": "Post a list of module type profile objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_type_profiles_bulk_update", - "description": "Put a list of module type profile objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_type_profiles_bulk_partial_update", - "description": "Patch a list of module type profile objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_type_profiles_bulk_destroy", - "description": "Delete a list of module type profile objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-type-profiles/{id}/": { - "get": { - "operationId": "dcim_module_type_profiles_retrieve", - "description": "Get a module type profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type profile.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_type_profiles_update", - "description": "Put a module type profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type profile.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_type_profiles_partial_update", - "description": "Patch a module type profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type profile.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedModuleTypeProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedModuleTypeProfileRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_type_profiles_destroy", - "description": "Delete a module type profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type profile.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-types/": { - "get": { - "operationId": "dcim_module_types_list", - "description": "Get a list of module type objects.", - "parameters": [ - { - "in": "query", - "name": "airflow", - "schema": { - "type": "string", - "x-spec-enum-id": "f6e5562e0e98d69d", - "nullable": true, - "enum": [ - "front-to-rear", - "left-to-right", - "passive", - "rear-to-front", - "right-to-left", - "side-to-rear" - ] - }, - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive" - }, - { - "in": "query", - "name": "console_ports", - "schema": { - "type": "boolean" - }, - "description": "Has console ports" - }, - { - "in": "query", - "name": "console_server_ports", - "schema": { - "type": "boolean" - }, - "description": "Has console server ports" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interfaces", - "schema": { - "type": "boolean" - }, - "description": "Has interfaces" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "model__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "part_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "part_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "part_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pass_through_ports", - "schema": { - "type": "boolean" - }, - "description": "Has pass-through ports" - }, - { - "in": "query", - "name": "power_outlets", - "schema": { - "type": "boolean" - }, - "description": "Has power outlets" - }, - { - "in": "query", - "name": "power_ports", - "schema": { - "type": "boolean" - }, - "description": "Has power ports" - }, - { - "in": "query", - "name": "profile", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Profile (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Profile (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Profile (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Profile (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true, - "enum": [ - "g", - "kg", - "lb", - "oz" - ] - }, - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedModuleTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_module_types_create", - "description": "Post a list of module type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableModuleTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableModuleTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_types_bulk_update", - "description": "Put a list of module type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_types_bulk_partial_update", - "description": "Patch a list of module type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_types_bulk_destroy", - "description": "Delete a list of module type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/module-types/{id}/": { - "get": { - "operationId": "dcim_module_types_retrieve", - "description": "Get a module type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_module_types_update", - "description": "Put a module type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableModuleTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableModuleTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_module_types_partial_update", - "description": "Patch a module type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ModuleType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_module_types_destroy", - "description": "Delete a module type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/modules/": { - "get": { - "operationId": "dcim_modules_list", - "description": "Get a list of module objects.", - "parameters": [ - { - "in": "query", - "name": "asset_tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asset_tag__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_bay_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_bay_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Module type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Module type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "2217e87d0c3efdda" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedModuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_modules_create", - "description": "Post a list of module objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableModuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableModuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Module" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_modules_bulk_update", - "description": "Put a list of module objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Module" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_modules_bulk_partial_update", - "description": "Patch a list of module objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Module" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_modules_bulk_destroy", - "description": "Delete a list of module objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/modules/{id}/": { - "get": { - "operationId": "dcim_modules_retrieve", - "description": "Get a module object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Module" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_modules_update", - "description": "Put a module object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableModuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableModuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Module" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_modules_partial_update", - "description": "Patch a module object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableModuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Module" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_modules_destroy", - "description": "Delete a module object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this module.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/platforms/": { - "get": { - "operationId": "dcim_platforms_list", - "description": "Get a list of platform objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_for_device_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "config_template_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Immediate parent platform (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Immediate parent platform (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Immediate parent platform (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Immediate parent platform (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPlatformList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_platforms_create", - "description": "Post a list of platform objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Platform" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_platforms_bulk_update", - "description": "Put a list of platform objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlatformRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlatformRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Platform" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_platforms_bulk_partial_update", - "description": "Patch a list of platform objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlatformRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlatformRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Platform" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_platforms_bulk_destroy", - "description": "Delete a list of platform objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlatformRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PlatformRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/platforms/{id}/": { - "get": { - "operationId": "dcim_platforms_retrieve", - "description": "Get a platform object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this platform.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Platform" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_platforms_update", - "description": "Put a platform object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this platform.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePlatformRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Platform" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_platforms_partial_update", - "description": "Patch a platform object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this platform.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePlatformRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePlatformRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Platform" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_platforms_destroy", - "description": "Delete a platform object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this platform.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-feeds/": { - "get": { - "operationId": "dcim_power_feeds_list", - "description": "Get a list of power feed objects.", - "parameters": [ - { - "in": "query", - "name": "amperage", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "amperage__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "amperage__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "amperage__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "amperage__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "amperage__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "amperage__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_power", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_power__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "available_power__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_power__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_power__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_power__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "available_power__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "max_utilization", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_utilization__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "max_utilization__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_utilization__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_utilization__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_utilization__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_utilization__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "phase", - "schema": { - "type": "string", - "x-spec-enum-id": "994bc0696f4df57f", - "enum": [ - "single-phase", - "three-phase" - ] - }, - "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase" - }, - { - "in": "query", - "name": "power_panel_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Power panel (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_panel_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Power panel (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b77fc919138c12f6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "supply", - "schema": { - "type": "string", - "x-spec-enum-id": "1b6d99616ca6412b", - "enum": [ - "ac", - "dc" - ] - }, - "description": "* `ac` - AC\n* `dc` - DC" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "093a164236819eb8", - "enum": [ - "primary", - "redundant" - ] - }, - "description": "* `primary` - Primary\n* `redundant` - Redundant" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "voltage", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "voltage__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "voltage__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "voltage__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "voltage__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "voltage__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "voltage__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPowerFeedList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_power_feeds_create", - "description": "Post a list of power feed objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerFeedRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerFeedRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerFeed" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_feeds_bulk_update", - "description": "Put a list of power feed objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeedRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeedRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeed" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_feeds_bulk_partial_update", - "description": "Patch a list of power feed objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeedRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeedRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeed" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_feeds_bulk_destroy", - "description": "Delete a list of power feed objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeedRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeedRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-feeds/{id}/": { - "get": { - "operationId": "dcim_power_feeds_retrieve", - "description": "Get a power feed object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power feed.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerFeed" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_feeds_update", - "description": "Put a power feed object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power feed.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerFeedRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerFeedRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerFeed" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_feeds_partial_update", - "description": "Patch a power feed object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power feed.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerFeedRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerFeedRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerFeed" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_feeds_destroy", - "description": "Delete a power feed object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power feed.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-feeds/{id}/trace/": { - "get": { - "operationId": "dcim_power_feeds_trace_retrieve", - "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power feed.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerFeed" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/power-outlet-templates/": { - "get": { - "operationId": "dcim_power_outlet_templates_list", - "description": "Get a list of power outlet template objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "feed_leg__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "power_port_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Power port (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Power port (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true, - "enum": [ - "California Style", - "DC", - "IEC 60309", - "IEC 60320", - "IEC 60906-1", - "ITA/International", - "Molex", - "NEMA (Locking)", - "NEMA (Non-locking)", - "Other", - "Proprietary", - "USB" - ] - }, - "description": "* `IEC 60320` - [('iec-60320-c5', 'C5'), ('iec-60320-c7', 'C7'), ('iec-60320-c13', 'C13'), ('iec-60320-c15', 'C15'), ('iec-60320-c17', 'C17'), ('iec-60320-c19', 'C19'), ('iec-60320-c21', 'C21')]\n* `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')]\n* `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')]\n* `NEMA (Non-locking)` - [('nema-1-15r', 'NEMA 1-15R'), ('nema-5-15r', 'NEMA 5-15R'), ('nema-5-20r', 'NEMA 5-20R'), ('nema-5-30r', 'NEMA 5-30R'), ('nema-5-50r', 'NEMA 5-50R'), ('nema-6-15r', 'NEMA 6-15R'), ('nema-6-20r', 'NEMA 6-20R'), ('nema-6-30r', 'NEMA 6-30R'), ('nema-6-50r', 'NEMA 6-50R'), ('nema-10-30r', 'NEMA 10-30R'), ('nema-10-50r', 'NEMA 10-50R'), ('nema-14-20r', 'NEMA 14-20R'), ('nema-14-30r', 'NEMA 14-30R'), ('nema-14-50r', 'NEMA 14-50R'), ('nema-14-60r', 'NEMA 14-60R'), ('nema-15-15r', 'NEMA 15-15R'), ('nema-15-20r', 'NEMA 15-20R'), ('nema-15-30r', 'NEMA 15-30R'), ('nema-15-50r', 'NEMA 15-50R'), ('nema-15-60r', 'NEMA 15-60R')]\n* `NEMA (Locking)` - [('nema-l1-15r', 'NEMA L1-15R'), ('nema-l5-15r', 'NEMA L5-15R'), ('nema-l5-20r', 'NEMA L5-20R'), ('nema-l5-30r', 'NEMA L5-30R'), ('nema-l5-50r', 'NEMA L5-50R'), ('nema-l6-15r', 'NEMA L6-15R'), ('nema-l6-20r', 'NEMA L6-20R'), ('nema-l6-30r', 'NEMA L6-30R'), ('nema-l6-50r', 'NEMA L6-50R'), ('nema-l10-30r', 'NEMA L10-30R'), ('nema-l14-20r', 'NEMA L14-20R'), ('nema-l14-30r', 'NEMA L14-30R'), ('nema-l14-50r', 'NEMA L14-50R'), ('nema-l14-60r', 'NEMA L14-60R'), ('nema-l15-20r', 'NEMA L15-20R'), ('nema-l15-30r', 'NEMA L15-30R'), ('nema-l15-50r', 'NEMA L15-50R'), ('nema-l15-60r', 'NEMA L15-60R'), ('nema-l21-20r', 'NEMA L21-20R'), ('nema-l21-30r', 'NEMA L21-30R'), ('nema-l22-20r', 'NEMA L22-20R'), ('nema-l22-30r', 'NEMA L22-30R')]\n* `California Style` - [('CS6360C', 'CS6360C'), ('CS6364C', 'CS6364C'), ('CS8164C', 'CS8164C'), ('CS8264C', 'CS8264C'), ('CS8364C', 'CS8364C'), ('CS8464C', 'CS8464C')]\n* `ITA/International` - [('ita-e', 'ITA Type E (CEE 7/5)'), ('ita-f', 'ITA Type F (CEE 7/3)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O'), ('ita-multistandard', 'ITA Multistandard')]\n* `USB` - [('usb-a', 'USB Type A'), ('usb-micro-b', 'USB Micro B'), ('usb-c', 'USB Type C')]\n* `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')]\n* `DC` - [('dc-terminal', 'DC Terminal')]\n* `Proprietary` - [('eaton-c39', 'Eaton C39'), ('hdot-cx', 'HDOT Cx'), ('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20a', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32a', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')]\n* `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPowerOutletTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_power_outlet_templates_create", - "description": "Post a list of power outlet template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_outlet_templates_bulk_update", - "description": "Put a list of power outlet template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_outlet_templates_bulk_partial_update", - "description": "Patch a list of power outlet template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_outlet_templates_bulk_destroy", - "description": "Delete a list of power outlet template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-outlet-templates/{id}/": { - "get": { - "operationId": "dcim_power_outlet_templates_retrieve", - "description": "Get a power outlet template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_outlet_templates_update", - "description": "Put a power outlet template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_outlet_templates_partial_update", - "description": "Patch a power outlet template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerOutletTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerOutletTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_outlet_templates_destroy", - "description": "Delete a power outlet template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-outlets/": { - "get": { - "operationId": "dcim_power_outlets_list", - "description": "Get a list of power outlet objects.", - "parameters": [ - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "feed_leg__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "feed_leg__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - } - }, - "description": "Phase (for three-phase feeds)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "power_port_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Power port (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "power_port_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Power port (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1024f7deaed962d7" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPowerOutletList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_power_outlets_create", - "description": "Post a list of power outlet objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_outlets_bulk_update", - "description": "Put a list of power outlet objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_outlets_bulk_partial_update", - "description": "Patch a list of power outlet objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_outlets_bulk_destroy", - "description": "Delete a list of power outlet objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-outlets/{id}/": { - "get": { - "operationId": "dcim_power_outlets_retrieve", - "description": "Get a power outlet object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_outlets_update", - "description": "Put a power outlet object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerOutletRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_outlets_partial_update", - "description": "Patch a power outlet object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerOutletRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerOutletRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_outlets_destroy", - "description": "Delete a power outlet object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-outlets/{id}/trace/": { - "get": { - "operationId": "dcim_power_outlets_trace_retrieve", - "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power outlet.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/power-panels/": { - "get": { - "operationId": "dcim_power_panels_list", - "description": "Get a list of power panel objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPowerPanelList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_power_panels_create", - "description": "Post a list of power panel objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPanel" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_panels_bulk_update", - "description": "Put a list of power panel objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanel" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_panels_bulk_partial_update", - "description": "Patch a list of power panel objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanel" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_panels_bulk_destroy", - "description": "Delete a list of power panel objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-panels/{id}/": { - "get": { - "operationId": "dcim_power_panels_retrieve", - "description": "Get a power panel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power panel.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPanel" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_panels_update", - "description": "Put a power panel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power panel.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PowerPanelRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPanel" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_panels_partial_update", - "description": "Patch a power panel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power panel.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedPowerPanelRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedPowerPanelRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPanel" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_panels_destroy", - "description": "Delete a power panel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power panel.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-port-templates/": { - "get": { - "operationId": "dcim_power_port_templates_list", - "description": "Get a list of power port template objects.", - "parameters": [ - { - "in": "query", - "name": "allocated_draw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "allocated_draw__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "maximum_draw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "maximum_draw__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true, - "enum": [ - "California Style", - "DC", - "IEC 60309", - "IEC 60320", - "IEC 60906-1", - "International/ITA", - "Molex", - "NEMA (Locking)", - "NEMA (Non-locking)", - "Other", - "Proprietary", - "USB" - ] - }, - "description": "* `IEC 60320` - [('iec-60320-c6', 'C6'), ('iec-60320-c8', 'C8'), ('iec-60320-c14', 'C14'), ('iec-60320-c16', 'C16'), ('iec-60320-c18', 'C18'), ('iec-60320-c20', 'C20'), ('iec-60320-c22', 'C22')]\n* `IEC 60309` - [('iec-60309-p-n-e-4h', 'P+N+E 4H'), ('iec-60309-p-n-e-6h', 'P+N+E 6H'), ('iec-60309-p-n-e-9h', 'P+N+E 9H'), ('iec-60309-2p-e-4h', '2P+E 4H'), ('iec-60309-2p-e-6h', '2P+E 6H'), ('iec-60309-2p-e-9h', '2P+E 9H'), ('iec-60309-3p-e-4h', '3P+E 4H'), ('iec-60309-3p-e-6h', '3P+E 6H'), ('iec-60309-3p-e-9h', '3P+E 9H'), ('iec-60309-3p-n-e-4h', '3P+N+E 4H'), ('iec-60309-3p-n-e-6h', '3P+N+E 6H'), ('iec-60309-3p-n-e-9h', '3P+N+E 9H')]\n* `IEC 60906-1` - [('iec-60906-1', 'IEC 60906-1'), ('nbr-14136-10a', '2P+T 10A (NBR 14136)'), ('nbr-14136-20a', '2P+T 20A (NBR 14136)')]\n* `NEMA (Non-locking)` - [('nema-1-15p', 'NEMA 1-15P'), ('nema-5-15p', 'NEMA 5-15P'), ('nema-5-20p', 'NEMA 5-20P'), ('nema-5-30p', 'NEMA 5-30P'), ('nema-5-50p', 'NEMA 5-50P'), ('nema-6-15p', 'NEMA 6-15P'), ('nema-6-20p', 'NEMA 6-20P'), ('nema-6-30p', 'NEMA 6-30P'), ('nema-6-50p', 'NEMA 6-50P'), ('nema-10-30p', 'NEMA 10-30P'), ('nema-10-50p', 'NEMA 10-50P'), ('nema-14-20p', 'NEMA 14-20P'), ('nema-14-30p', 'NEMA 14-30P'), ('nema-14-50p', 'NEMA 14-50P'), ('nema-14-60p', 'NEMA 14-60P'), ('nema-15-15p', 'NEMA 15-15P'), ('nema-15-20p', 'NEMA 15-20P'), ('nema-15-30p', 'NEMA 15-30P'), ('nema-15-50p', 'NEMA 15-50P'), ('nema-15-60p', 'NEMA 15-60P')]\n* `NEMA (Locking)` - [('nema-l1-15p', 'NEMA L1-15P'), ('nema-l5-15p', 'NEMA L5-15P'), ('nema-l5-20p', 'NEMA L5-20P'), ('nema-l5-30p', 'NEMA L5-30P'), ('nema-l5-50p', 'NEMA L5-50P'), ('nema-l6-15p', 'NEMA L6-15P'), ('nema-l6-20p', 'NEMA L6-20P'), ('nema-l6-30p', 'NEMA L6-30P'), ('nema-l6-50p', 'NEMA L6-50P'), ('nema-l10-30p', 'NEMA L10-30P'), ('nema-l14-20p', 'NEMA L14-20P'), ('nema-l14-30p', 'NEMA L14-30P'), ('nema-l14-50p', 'NEMA L14-50P'), ('nema-l14-60p', 'NEMA L14-60P'), ('nema-l15-20p', 'NEMA L15-20P'), ('nema-l15-30p', 'NEMA L15-30P'), ('nema-l15-50p', 'NEMA L15-50P'), ('nema-l15-60p', 'NEMA L15-60P'), ('nema-l21-20p', 'NEMA L21-20P'), ('nema-l21-30p', 'NEMA L21-30P'), ('nema-l22-20p', 'NEMA L22-20P'), ('nema-l22-30p', 'NEMA L22-30P')]\n* `California Style` - [('cs6361c', 'CS6361C'), ('cs6365c', 'CS6365C'), ('cs8165c', 'CS8165C'), ('cs8265c', 'CS8265C'), ('cs8365c', 'CS8365C'), ('cs8465c', 'CS8465C')]\n* `International/ITA` - [('ita-c', 'ITA Type C (CEE 7/16)'), ('ita-e', 'ITA Type E (CEE 7/6)'), ('ita-f', 'ITA Type F (CEE 7/4)'), ('ita-ef', 'ITA Type E/F (CEE 7/7)'), ('ita-g', 'ITA Type G (BS 1363)'), ('ita-h', 'ITA Type H'), ('ita-i', 'ITA Type I'), ('ita-j', 'ITA Type J'), ('ita-k', 'ITA Type K'), ('ita-l', 'ITA Type L (CEI 23-50)'), ('ita-m', 'ITA Type M (BS 546)'), ('ita-n', 'ITA Type N'), ('ita-o', 'ITA Type O')]\n* `USB` - [('usb-a', 'USB Type A'), ('usb-b', 'USB Type B'), ('usb-c', 'USB Type C'), ('usb-mini-a', 'USB Mini A'), ('usb-mini-b', 'USB Mini B'), ('usb-micro-a', 'USB Micro A'), ('usb-micro-b', 'USB Micro B'), ('usb-micro-ab', 'USB Micro AB'), ('usb-3-b', 'USB 3.0 Type B'), ('usb-3-micro-b', 'USB 3.0 Micro B')]\n* `Molex` - [('molex-micro-fit-1x2', 'Molex Micro-Fit 1x2'), ('molex-micro-fit-2x2', 'Molex Micro-Fit 2x2'), ('molex-micro-fit-2x4', 'Molex Micro-Fit 2x4')]\n* `DC` - [('dc-terminal', 'DC Terminal')]\n* `Proprietary` - [('saf-d-grid', 'Saf-D-Grid'), ('neutrik-powercon-20', 'Neutrik powerCON (20A)'), ('neutrik-powercon-32', 'Neutrik powerCON (32A)'), ('neutrik-powercon-true1', 'Neutrik powerCON TRUE1'), ('neutrik-powercon-true1-top', 'Neutrik powerCON TRUE1 TOP'), ('ubiquiti-smartpower', 'Ubiquiti SmartPower')]\n* `Other` - [('hardwired', 'Hardwired'), ('other', 'Other')]" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPowerPortTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_power_port_templates_create", - "description": "Post a list of power port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_port_templates_bulk_update", - "description": "Put a list of power port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_port_templates_bulk_partial_update", - "description": "Patch a list of power port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_port_templates_bulk_destroy", - "description": "Delete a list of power port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-port-templates/{id}/": { - "get": { - "operationId": "dcim_power_port_templates_retrieve", - "description": "Get a power port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_port_templates_update", - "description": "Put a power port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_port_templates_partial_update", - "description": "Patch a power port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerPortTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_port_templates_destroy", - "description": "Delete a power port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-ports/": { - "get": { - "operationId": "dcim_power_ports_list", - "description": "Get a list of power port objects.", - "parameters": [ - { - "in": "query", - "name": "allocated_draw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "allocated_draw__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "allocated_draw__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "maximum_draw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "maximum_draw__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "maximum_draw__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - } - }, - "description": "Physical port type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPowerPortList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_power_ports_create", - "description": "Post a list of power port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_ports_bulk_update", - "description": "Put a list of power port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPort" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_ports_bulk_partial_update", - "description": "Patch a list of power port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPort" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_ports_bulk_destroy", - "description": "Delete a list of power port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-ports/{id}/": { - "get": { - "operationId": "dcim_power_ports_retrieve", - "description": "Get a power port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_power_ports_update", - "description": "Put a power port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePowerPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPort" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_power_ports_partial_update", - "description": "Patch a power port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePowerPortRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPort" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_power_ports_destroy", - "description": "Delete a power port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/power-ports/{id}/trace/": { - "get": { - "operationId": "dcim_power_ports_trace_retrieve", - "description": "Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this power port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PowerPort" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/rack-reservations/": { - "get": { - "operationId": "dcim_rack_reservations_list", - "description": "Get a list of rack reservation objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b62013475549e423" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "unit__empty", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "unit__gt", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "unit__gte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "unit__lt", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "unit__lte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "unit__n", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRackReservationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_rack_reservations_create", - "description": "Post a list of rack reservation objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackReservation" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rack_reservations_bulk_update", - "description": "Put a list of rack reservation objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservation" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rack_reservations_bulk_partial_update", - "description": "Patch a list of rack reservation objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservation" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rack_reservations_bulk_destroy", - "description": "Delete a list of rack reservation objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rack-reservations/{id}/": { - "get": { - "operationId": "dcim_rack_reservations_retrieve", - "description": "Get a rack reservation object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack reservation.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackReservation" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rack_reservations_update", - "description": "Put a rack reservation object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack reservation.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRackReservationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackReservation" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rack_reservations_partial_update", - "description": "Patch a rack reservation object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack reservation.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRackReservationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRackReservationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackReservation" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rack_reservations_destroy", - "description": "Delete a rack reservation object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack reservation.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rack-roles/": { - "get": { - "operationId": "dcim_rack_roles_list", - "description": "Get a list of rack role objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRackRoleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_rack_roles_create", - "description": "Post a list of rack role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rack_roles_bulk_update", - "description": "Put a list of rack role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRole" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rack_roles_bulk_partial_update", - "description": "Patch a list of rack role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRole" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rack_roles_bulk_destroy", - "description": "Delete a list of rack role objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rack-roles/{id}/": { - "get": { - "operationId": "dcim_rack_roles_retrieve", - "description": "Get a rack role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rack_roles_update", - "description": "Put a rack role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RackRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackRole" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rack_roles_partial_update", - "description": "Patch a rack role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedRackRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedRackRoleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackRole" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rack_roles_destroy", - "description": "Delete a rack role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack role.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rack-types/": { - "get": { - "operationId": "dcim_rack_types_list", - "description": "Get a list of rack type objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "desc_units", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "form_factor__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "max_weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "model__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "mounting_depth", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mounting_depth__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "outer_depth", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "outer_depth__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "outer_height__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true, - "enum": [ - "in", - "mm" - ] - }, - "description": "* `mm` - Millimeters\n* `in` - Inches" - }, - { - "in": "query", - "name": "outer_width", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "outer_width__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "starting_unit__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "u_height__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true, - "enum": [ - "g", - "kg", - "lb", - "oz" - ] - }, - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" - }, - { - "in": "query", - "name": "width", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__ic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__ie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__iew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__iregex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__isw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__nic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__nie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__niew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__nisw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__regex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRackTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_rack_types_create", - "description": "Post a list of rack type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRackTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRackTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rack_types_bulk_update", - "description": "Put a list of rack type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rack_types_bulk_partial_update", - "description": "Patch a list of rack type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rack_types_bulk_destroy", - "description": "Delete a list of rack type objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rack-types/{id}/": { - "get": { - "operationId": "dcim_rack_types_retrieve", - "description": "Get a rack type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rack_types_update", - "description": "Put a rack type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRackTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRackTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rack_types_partial_update", - "description": "Patch a rack type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRackTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRackTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RackType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rack_types_destroy", - "description": "Delete a rack type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack type.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/racks/": { - "get": { - "operationId": "dcim_racks_list", - "description": "Get a list of rack objects.", - "parameters": [ - { - "in": "query", - "name": "airflow", - "schema": { - "type": "string", - "x-spec-enum-id": "a784734d07ef1b3c", - "nullable": true, - "enum": [ - "front-to-rear", - "rear-to-front" - ] - }, - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front" - }, - { - "in": "query", - "name": "asset_tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asset_tag__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "desc_units", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "facility_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "form_factor__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "form_factor__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Manufacturer (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "manufacturer_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Manufacturer (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "max_weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "max_weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "mounting_depth", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mounting_depth__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mounting_depth__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "outer_depth", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "outer_depth__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_depth__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "outer_height__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_height__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true, - "enum": [ - "in", - "mm" - ] - }, - "description": "* `mm` - Millimeters\n* `in` - Inches" - }, - { - "in": "query", - "name": "outer_width", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "outer_width__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outer_width__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Rack type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Rack type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "starting_unit__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "starting_unit__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0c556d55dc1baa13" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "u_height__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "u_height__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true, - "enum": [ - "g", - "kg", - "lb", - "oz" - ] - }, - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces" - }, - { - "in": "query", - "name": "width", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__ic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__ie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__iew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__iregex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__isw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__nic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__nie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__niew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__nisw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "width__regex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3" - } - }, - "description": "Rail-to-rail width", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRackList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_racks_create", - "description": "Post a list of rack objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRackRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRackRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Rack" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_racks_bulk_update", - "description": "Put a list of rack objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Rack" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_racks_bulk_partial_update", - "description": "Patch a list of rack objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Rack" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_racks_bulk_destroy", - "description": "Delete a list of rack objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/racks/{id}/": { - "get": { - "operationId": "dcim_racks_retrieve", - "description": "Get a rack object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Rack" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_racks_update", - "description": "Put a rack object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRackRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRackRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Rack" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_racks_partial_update", - "description": "Patch a rack object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRackRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRackRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Rack" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_racks_destroy", - "description": "Delete a rack object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/racks/{id}/elevation/": { - "get": { - "operationId": "dcim_racks_elevation_retrieve", - "description": "Rack elevation representing the list of rack units. Also supports rendering the elevation as an SVG.", - "parameters": [ - { - "in": "query", - "name": "exclude", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "expand_devices", - "schema": { - "type": "boolean", - "default": true - } - }, - { - "in": "query", - "name": "face", - "schema": { - "enum": [ - "front", - "rear" - ], - "type": "string", - "x-spec-enum-id": "d2fb9b3f75158b83", - "default": "front", - "minLength": 1 - }, - "description": "* `front` - Front\n* `rear` - Rear" - }, - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rack.", - "required": true - }, - { - "in": "query", - "name": "include_images", - "schema": { - "type": "boolean", - "default": true - } - }, - { - "in": "query", - "name": "legend_width", - "schema": { - "type": "integer", - "default": 30 - } - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "margin_width", - "schema": { - "type": "integer", - "default": 15 - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string", - "minLength": 1 - } - }, - { - "in": "query", - "name": "render", - "schema": { - "enum": [ - "json", - "svg" - ], - "type": "string", - "x-spec-enum-id": "09901a5ff13ba07a", - "default": "json", - "minLength": 1 - }, - "description": "* `json` - json\n* `svg` - svg" - }, - { - "in": "query", - "name": "unit_height", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "unit_width", - "schema": { - "type": "integer" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRackUnitList" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/rear-port-templates/": { - "get": { - "operationId": "dcim_rear_port_templates_list", - "description": "Get a list of rear port template objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "positions", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "positions__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRearPortTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_rear_port_templates_create", - "description": "Post a list of rear port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rear_port_templates_bulk_update", - "description": "Put a list of rear port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rear_port_templates_bulk_partial_update", - "description": "Patch a list of rear port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rear_port_templates_bulk_destroy", - "description": "Delete a list of rear port template objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rear-port-templates/{id}/": { - "get": { - "operationId": "dcim_rear_port_templates_retrieve", - "description": "Get a rear port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rear_port_templates_update", - "description": "Put a rear port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rear_port_templates_partial_update", - "description": "Patch a rear port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRearPortTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRearPortTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rear_port_templates_destroy", - "description": "Delete a rear port template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port template.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rear-ports/": { - "get": { - "operationId": "dcim_rear_ports_list", - "description": "Get a list of rear port objects.", - "parameters": [ - { - "in": "query", - "name": "cable_end", - "schema": { - "type": "string", - "x-spec-enum-id": "1db84f9b93b261c8", - "nullable": true, - "enum": [ - "A", - "B" - ] - }, - "description": "* `A` - A\n* `B` - B" - }, - { - "in": "query", - "name": "cable_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cable_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cable (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "device_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8d8971779f16ee18" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Device type (model)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_connected", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "occupied", - "schema": { - "type": "boolean" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "positions", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "positions__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "positions__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Rack (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rack_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Rack (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ea67ae8ba4602f8a" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_chassis", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual Chassis", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_chassis_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual Chassis (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRearPortList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_rear_ports_create", - "description": "Post a list of rear port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rear_ports_bulk_update", - "description": "Put a list of rear port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPort" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rear_ports_bulk_partial_update", - "description": "Patch a list of rear port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPort" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rear_ports_bulk_destroy", - "description": "Delete a list of rear port objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rear-ports/{id}/": { - "get": { - "operationId": "dcim_rear_ports_retrieve", - "description": "Get a rear port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPort" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_rear_ports_update", - "description": "Put a rear port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRearPortRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPort" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_rear_ports_partial_update", - "description": "Patch a rear port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRearPortRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRearPortRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPort" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_rear_ports_destroy", - "description": "Delete a rear port object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/rear-ports/{id}/paths/": { - "get": { - "operationId": "dcim_rear_ports_paths_retrieve", - "description": "Return all CablePaths which traverse a given pass-through port.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this rear port.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RearPort" - } - } - }, - "description": "" - } - } - } - }, - "/api/dcim/regions/": { - "get": { - "operationId": "dcim_regions_list", - "description": "Get a list of region objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent region (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent region (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent region (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRegionList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_regions_create", - "description": "Post a list of region objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRegionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRegionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Region" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_regions_bulk_update", - "description": "Put a list of region objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Region" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_regions_bulk_partial_update", - "description": "Patch a list of region objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Region" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_regions_bulk_destroy", - "description": "Delete a list of region objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RegionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/regions/{id}/": { - "get": { - "operationId": "dcim_regions_retrieve", - "description": "Get a region object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this region.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Region" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_regions_update", - "description": "Put a region object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this region.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableRegionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableRegionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Region" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_regions_partial_update", - "description": "Patch a region object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this region.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRegionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableRegionRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Region" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_regions_destroy", - "description": "Delete a region object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this region.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/site-groups/": { - "get": { - "operationId": "dcim_site_groups_list", - "description": "Get a list of site group objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent site group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent site group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent site group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent site group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSiteGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_site_groups_create", - "description": "Post a list of site group objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableSiteGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableSiteGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SiteGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_site_groups_bulk_update", - "description": "Put a list of site group objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_site_groups_bulk_partial_update", - "description": "Patch a list of site group objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_site_groups_bulk_destroy", - "description": "Delete a list of site group objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/site-groups/{id}/": { - "get": { - "operationId": "dcim_site_groups_retrieve", - "description": "Get a site group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site group.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SiteGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_site_groups_update", - "description": "Put a site group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site group.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableSiteGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableSiteGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SiteGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_site_groups_partial_update", - "description": "Patch a site group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site group.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSiteGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSiteGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SiteGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_site_groups_destroy", - "description": "Delete a site group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site group.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/sites/": { - "get": { - "operationId": "dcim_sites_list", - "description": "Get a list of site objects.", - "parameters": [ - { - "in": "query", - "name": "asn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - } - }, - "description": "AS (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - } - }, - "description": "AS (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "AS (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "AS (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "facility__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "facility__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "latitude__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "latitude__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "longitude", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "longitude__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "longitude__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "e363a8ddb138be50" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "time_zone__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSiteList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_sites_create", - "description": "Post a list of site objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableSiteRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableSiteRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Site" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_sites_bulk_update", - "description": "Put a list of site objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Site" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_sites_bulk_partial_update", - "description": "Patch a list of site objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Site" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_sites_bulk_destroy", - "description": "Delete a list of site objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/sites/{id}/": { - "get": { - "operationId": "dcim_sites_retrieve", - "description": "Get a site object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Site" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_sites_update", - "description": "Put a site object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableSiteRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableSiteRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Site" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_sites_partial_update", - "description": "Patch a site object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSiteRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSiteRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Site" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_sites_destroy", - "description": "Delete a site object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this site.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/virtual-chassis/": { - "get": { - "operationId": "dcim_virtual_chassis_list", - "description": "Get a list of virtual chassis objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "domain__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "domain__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "master", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Master (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "master__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Master (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "master_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Master (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "master_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Master (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "member_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "member_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site name (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualChassisList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_virtual_chassis_create", - "description": "Post a list of virtual chassis objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualChassisRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualChassisRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_virtual_chassis_bulk_update", - "description": "Put a list of virtual chassis objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassisRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassisRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_virtual_chassis_bulk_partial_update", - "description": "Patch a list of virtual chassis objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassisRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassisRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_virtual_chassis_bulk_destroy", - "description": "Delete a list of virtual chassis objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassisRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassisRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/virtual-chassis/{id}/": { - "get": { - "operationId": "dcim_virtual_chassis_retrieve", - "description": "Get a virtual chassis object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual chassis.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_virtual_chassis_update", - "description": "Put a virtual chassis object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual chassis.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualChassisRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualChassisRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_virtual_chassis_partial_update", - "description": "Patch a virtual chassis object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual chassis.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualChassisRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualChassisRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_virtual_chassis_destroy", - "description": "Delete a virtual chassis object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual chassis.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/virtual-device-contexts/": { - "get": { - "operationId": "dcim_virtual_device_contexts_list", - "description": "Get a list of virtual device context objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device model", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device model", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VDC (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VDC (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "has_primary_ip", - "schema": { - "type": "boolean" - }, - "description": "Has a primary IP" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "identifier__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "primary_ip4", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv4 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv4 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv6 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv6 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "ee1ef02def7a91ab" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualDeviceContextList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "dcim_virtual_device_contexts_create", - "description": "Post a list of virtual device context objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualDeviceContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualDeviceContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_virtual_device_contexts_bulk_update", - "description": "Put a list of virtual device context objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_virtual_device_contexts_bulk_partial_update", - "description": "Patch a list of virtual device context objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_virtual_device_contexts_bulk_destroy", - "description": "Delete a list of virtual device context objects.", - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/dcim/virtual-device-contexts/{id}/": { - "get": { - "operationId": "dcim_virtual_device_contexts_retrieve", - "description": "Get a virtual device context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual device context.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "dcim_virtual_device_contexts_update", - "description": "Put a virtual device context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual device context.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualDeviceContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualDeviceContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "dcim_virtual_device_contexts_partial_update", - "description": "Patch a virtual device context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual device context.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualDeviceContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualDeviceContextRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "dcim_virtual_device_contexts_destroy", - "description": "Delete a virtual device context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual device context.", - "required": true - } - ], - "tags": [ - "dcim" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/bookmarks/": { - "get": { - "operationId": "extras_bookmarks_list", - "description": "Get a list of bookmark objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBookmarkList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_bookmarks_create", - "description": "Post a list of bookmark objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BookmarkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Bookmark" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_bookmarks_bulk_update", - "description": "Put a list of bookmark objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Bookmark" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_bookmarks_bulk_partial_update", - "description": "Patch a list of bookmark objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Bookmark" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_bookmarks_bulk_destroy", - "description": "Delete a list of bookmark objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/bookmarks/{id}/": { - "get": { - "operationId": "extras_bookmarks_retrieve", - "description": "Get a bookmark object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bookmark.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Bookmark" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_bookmarks_update", - "description": "Put a bookmark object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bookmark.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BookmarkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BookmarkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Bookmark" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_bookmarks_partial_update", - "description": "Patch a bookmark object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bookmark.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedBookmarkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedBookmarkRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Bookmark" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_bookmarks_destroy", - "description": "Delete a bookmark object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bookmark.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-context-profiles/": { - "get": { - "operationId": "extras_config_context_profiles_list", - "description": "Get a list of config context profile objects.", - "parameters": [ - { - "in": "query", - "name": "auto_sync_enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "data_file_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_file_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "data_synced__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConfigContextProfileList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_config_context_profiles_create", - "description": "Post a list of config context profile objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_config_context_profiles_bulk_update", - "description": "Put a list of config context profile objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_config_context_profiles_bulk_partial_update", - "description": "Patch a list of config context profile objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_config_context_profiles_bulk_destroy", - "description": "Delete a list of config context profile objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-context-profiles/{id}/": { - "get": { - "operationId": "extras_config_context_profiles_retrieve", - "description": "Get a config context profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context profile.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_config_context_profiles_update", - "description": "Put a config context profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context profile.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_config_context_profiles_partial_update", - "description": "Patch a config context profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context profile.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedConfigContextProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedConfigContextProfileRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_config_context_profiles_destroy", - "description": "Delete a config context profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context profile.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-context-profiles/{id}/sync/": { - "post": { - "operationId": "extras_config_context_profiles_sync_create", - "description": "Provide a /sync API endpoint to synchronize an object's data from its associated DataFile (if any).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context profile.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/config-contexts/": { - "get": { - "operationId": "extras_config_contexts_list", - "description": "Get a list of config context objects.", - "parameters": [ - { - "in": "query", - "name": "auto_sync_enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "cluster_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "data_file_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_file_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "data_synced__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device type", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_active", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Location (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Location", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Platform (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Platform (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Platform", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Platform", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Profile (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Profile (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Profile (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Profile (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Region (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Region (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Region", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tag (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tag (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tag", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tag", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tenant", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConfigContextList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_config_contexts_create", - "description": "Post a list of config context objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_config_contexts_bulk_update", - "description": "Put a list of config context objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContext" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_config_contexts_bulk_partial_update", - "description": "Patch a list of config context objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContext" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_config_contexts_bulk_destroy", - "description": "Delete a list of config context objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-contexts/{id}/": { - "get": { - "operationId": "extras_config_contexts_retrieve", - "description": "Get a config context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_config_contexts_update", - "description": "Put a config context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContext" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_config_contexts_partial_update", - "description": "Patch a config context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedConfigContextRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContext" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_config_contexts_destroy", - "description": "Delete a config context object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-contexts/{id}/sync/": { - "post": { - "operationId": "extras_config_contexts_sync_create", - "description": "Provide a /sync API endpoint to synchronize an object's data from its associated DataFile (if any).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config context.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigContext" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/config-templates/": { - "get": { - "operationId": "extras_config_templates_list", - "description": "Get a list of config template objects.", - "parameters": [ - { - "in": "query", - "name": "as_attachment", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auto_sync_enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "data_file_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_file_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "data_synced__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "file_extension__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "file_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mime_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mime_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedConfigTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_config_templates_create", - "description": "Post a list of config template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_config_templates_bulk_update", - "description": "Put a list of config template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_config_templates_bulk_partial_update", - "description": "Patch a list of config template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_config_templates_bulk_destroy", - "description": "Delete a list of config template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-templates/{id}/": { - "get": { - "operationId": "extras_config_templates_retrieve", - "description": "Get a config template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_config_templates_update", - "description": "Put a config template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_config_templates_partial_update", - "description": "Patch a config template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedConfigTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedConfigTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_config_templates_destroy", - "description": "Delete a config template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/config-templates/{id}/render/": { - "post": { - "operationId": "extras_config_templates_render_create", - "description": "Render a ConfigTemplate using the context data provided (if any). If the client requests \"text/plain\" data,\nreturn the raw rendered content, rather than serialized JSON.", - "parameters": [ - { - "in": "query", - "name": "format", - "schema": { - "type": "string", - "enum": [ - "json", - "txt" - ] - } - }, - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - }, - "text/plain": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/config-templates/{id}/sync/": { - "post": { - "operationId": "extras_config_templates_sync_create", - "description": "Provide a /sync API endpoint to synchronize an object's data from its associated DataFile (if any).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this config template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/custom-field-choice-sets/": { - "get": { - "operationId": "extras_custom_field_choice_sets_list", - "description": "Get a list of custom field choice set objects.", - "parameters": [ - { - "in": "query", - "name": "base_choices", - "schema": { - "type": "string", - "x-spec-enum-id": "cf0efb5195f85007", - "nullable": true, - "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE" - ] - }, - "description": "Base set of predefined choices (optional)\n\n* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)" - }, - { - "in": "query", - "name": "choice", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "order_alphabetically", - "schema": { - "type": "boolean" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCustomFieldChoiceSetList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_custom_field_choice_sets_create", - "description": "Post a list of custom field choice set objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldChoiceSetRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldChoiceSetRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_custom_field_choice_sets_bulk_update", - "description": "Put a list of custom field choice set objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_custom_field_choice_sets_bulk_partial_update", - "description": "Patch a list of custom field choice set objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_custom_field_choice_sets_bulk_destroy", - "description": "Delete a list of custom field choice set objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSetRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/custom-field-choice-sets/{id}/": { - "get": { - "operationId": "extras_custom_field_choice_sets_retrieve", - "description": "Get a custom field choice set object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field choice set.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_custom_field_choice_sets_update", - "description": "Put a custom field choice set object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field choice set.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldChoiceSetRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldChoiceSetRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_custom_field_choice_sets_partial_update", - "description": "Patch a custom field choice set object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field choice set.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCustomFieldChoiceSetRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCustomFieldChoiceSetRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_custom_field_choice_sets_destroy", - "description": "Delete a custom field choice set object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field choice set.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/custom-field-choice-sets/{id}/choices/": { - "get": { - "operationId": "extras_custom_field_choice_sets_choices_retrieve", - "description": "Provides an endpoint to iterate through each choice in a set.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field choice set.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/custom-fields/": { - "get": { - "operationId": "extras_custom_fields_list", - "description": "Get a list of custom field objects.", - "parameters": [ - { - "in": "query", - "name": "choice_set", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "choice_set__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "choice_set_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "choice_set_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "filter_logic", - "schema": { - "type": "string", - "x-spec-enum-id": "a958350ae21c10ee", - "enum": [ - "disabled", - "exact", - "loose" - ] - }, - "description": "Loose matches any instance of a given string; exact matches the entire field.\n\n* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact" - }, - { - "in": "query", - "name": "group_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "group_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_cloneable", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "related_object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "related_object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "related_object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "related_object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "required", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "search_weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "search_weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "search_weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "search_weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "search_weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "search_weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "search_weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "22e3a64138d10046" - } - }, - "description": "The type of data this custom field holds", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ui_editable", - "schema": { - "type": "string", - "x-spec-enum-id": "1065673147e26bb5", - "enum": [ - "hidden", - "no", - "yes" - ] - }, - "description": "Specifies whether the custom field value can be edited in the UI\n\n* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden" - }, - { - "in": "query", - "name": "ui_visible", - "schema": { - "type": "string", - "x-spec-enum-id": "cd2cf94af56de747", - "enum": [ - "always", - "hidden", - "if-set" - ] - }, - "description": "Specifies whether the custom field is displayed in the UI\n\n* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden" - }, - { - "in": "query", - "name": "unique", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "validation_maximum", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_maximum__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "validation_maximum__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_maximum__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_maximum__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_maximum__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_maximum__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_minimum", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_minimum__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "validation_minimum__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_minimum__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_minimum__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_minimum__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_minimum__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "validation_regex__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "validation_regex__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCustomFieldList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_custom_fields_create", - "description": "Post a list of custom field objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomField" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_custom_fields_bulk_update", - "description": "Put a list of custom field objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomField" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_custom_fields_bulk_partial_update", - "description": "Patch a list of custom field objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomField" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_custom_fields_bulk_destroy", - "description": "Delete a list of custom field objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/custom-fields/{id}/": { - "get": { - "operationId": "extras_custom_fields_retrieve", - "description": "Get a custom field object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomField" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_custom_fields_update", - "description": "Put a custom field object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableCustomFieldRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomField" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_custom_fields_partial_update", - "description": "Patch a custom field object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCustomFieldRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableCustomFieldRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomField" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_custom_fields_destroy", - "description": "Delete a custom field object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom field.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/custom-links/": { - "get": { - "operationId": "extras_custom_links_list", - "description": "Get a list of custom link objects.", - "parameters": [ - { - "in": "query", - "name": "button_class", - "schema": { - "type": "string", - "x-spec-enum-id": "ee8e5bb1ccdcdb19", - "enum": [ - "black", - "blue", - "cyan", - "default", - "ghost-dark", - "gray", - "green", - "indigo", - "orange", - "pink", - "purple", - "red", - "teal", - "white", - "yellow" - ] - }, - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `default` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "group_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "group_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "link_text", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_text__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "link_url__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "new_window", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCustomLinkList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_custom_links_create", - "description": "Post a list of custom link objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomLink" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_custom_links_bulk_update", - "description": "Put a list of custom link objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLink" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_custom_links_bulk_partial_update", - "description": "Patch a list of custom link objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLink" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_custom_links_bulk_destroy", - "description": "Delete a list of custom link objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/custom-links/{id}/": { - "get": { - "operationId": "extras_custom_links_retrieve", - "description": "Get a custom link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom link.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomLink" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_custom_links_update", - "description": "Put a custom link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom link.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CustomLinkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomLink" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_custom_links_partial_update", - "description": "Patch a custom link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom link.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCustomLinkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCustomLinkRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CustomLink" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_custom_links_destroy", - "description": "Delete a custom link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this custom link.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/dashboard/": { - "get": { - "operationId": "extras_dashboard_retrieve", - "description": "Get a list of dashboard objects.", - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Dashboard" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_dashboard_update", - "description": "Put a list of dashboard objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/DashboardRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/DashboardRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Dashboard" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_dashboard_partial_update", - "description": "Patch a list of dashboard objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedDashboardRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedDashboardRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Dashboard" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_dashboard_destroy", - "description": "Delete a list of dashboard objects.", - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/event-rules/": { - "get": { - "operationId": "extras_event_rules_list", - "description": "Get a list of event rule objects.", - "parameters": [ - { - "in": "query", - "name": "action_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_id__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "action_object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "action_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "action_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d07193c73ebc03c6" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "event_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedEventRuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_event_rules_create", - "description": "Post a list of event rule objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableEventRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableEventRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EventRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_event_rules_bulk_update", - "description": "Put a list of event rule objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRule" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_event_rules_bulk_partial_update", - "description": "Patch a list of event rule objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRule" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_event_rules_bulk_destroy", - "description": "Delete a list of event rule objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/event-rules/{id}/": { - "get": { - "operationId": "extras_event_rules_retrieve", - "description": "Get a event rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this event rule.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EventRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_event_rules_update", - "description": "Put a event rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this event rule.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableEventRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableEventRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EventRule" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_event_rules_partial_update", - "description": "Patch a event rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this event rule.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableEventRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableEventRuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EventRule" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_event_rules_destroy", - "description": "Delete a event rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this event rule.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/export-templates/": { - "get": { - "operationId": "extras_export_templates_list", - "description": "Get a list of export template objects.", - "parameters": [ - { - "in": "query", - "name": "as_attachment", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auto_sync_enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "data_file_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_file_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data file (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_source_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Data source (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "data_synced__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "data_synced__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "file_extension__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_extension__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "file_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "file_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mime_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mime_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mime_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedExportTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_export_templates_create", - "description": "Post a list of export template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_export_templates_bulk_update", - "description": "Put a list of export template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_export_templates_bulk_partial_update", - "description": "Patch a list of export template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_export_templates_bulk_destroy", - "description": "Delete a list of export template objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/export-templates/{id}/": { - "get": { - "operationId": "extras_export_templates_retrieve", - "description": "Get a export template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this export template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_export_templates_update", - "description": "Put a export template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this export template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_export_templates_partial_update", - "description": "Patch a export template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this export template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedExportTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedExportTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_export_templates_destroy", - "description": "Delete a export template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this export template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/export-templates/{id}/sync/": { - "post": { - "operationId": "extras_export_templates_sync_create", - "description": "Provide a /sync API endpoint to synchronize an object's data from its associated DataFile (if any).", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this export template.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ExportTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/image-attachments/": { - "get": { - "operationId": "extras_image_attachments_list", - "description": "Get a list of image attachment objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_height", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_height__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "image_height__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_height__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_height__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_height__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_height__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_width", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_width__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "image_width__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_width__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_width__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_width__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "image_width__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedImageAttachmentList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_image_attachments_create", - "description": "Post a list of image attachment objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_image_attachments_bulk_update", - "description": "Put a list of image attachment objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_image_attachments_bulk_partial_update", - "description": "Patch a list of image attachment objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_image_attachments_bulk_destroy", - "description": "Delete a list of image attachment objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/image-attachments/{id}/": { - "get": { - "operationId": "extras_image_attachments_retrieve", - "description": "Get a image attachment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this image attachment.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_image_attachments_update", - "description": "Put a image attachment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this image attachment.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ImageAttachmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_image_attachments_partial_update", - "description": "Patch a image attachment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this image attachment.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedImageAttachmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedImageAttachmentRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_image_attachments_destroy", - "description": "Delete a image attachment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this image attachment.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/journal-entries/": { - "get": { - "operationId": "extras_journal_entries_list", - "description": "Get a list of journal entry objects.", - "parameters": [ - { - "in": "query", - "name": "assigned_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "assigned_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "assigned_object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "assigned_object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_after", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created_before", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created_by", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "kind__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "kind__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a21af280f632fa34" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedJournalEntryList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_journal_entries_create", - "description": "Post a list of journal entry objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableJournalEntryRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableJournalEntryRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JournalEntry" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_journal_entries_bulk_update", - "description": "Put a list of journal entry objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntryRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntryRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntry" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_journal_entries_bulk_partial_update", - "description": "Patch a list of journal entry objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntryRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntryRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntry" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_journal_entries_bulk_destroy", - "description": "Delete a list of journal entry objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntryRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntryRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/journal-entries/{id}/": { - "get": { - "operationId": "extras_journal_entries_retrieve", - "description": "Get a journal entry object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this journal entry.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JournalEntry" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_journal_entries_update", - "description": "Put a journal entry object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this journal entry.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableJournalEntryRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableJournalEntryRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JournalEntry" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_journal_entries_partial_update", - "description": "Patch a journal entry object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this journal entry.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableJournalEntryRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableJournalEntryRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/JournalEntry" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_journal_entries_destroy", - "description": "Delete a journal entry object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this journal entry.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/notification-groups/": { - "get": { - "operationId": "extras_notification_groups_list", - "description": "Get a list of notification group objects.", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedNotificationGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_notification_groups_create", - "description": "Post a list of notification group objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_notification_groups_bulk_update", - "description": "Put a list of notification group objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_notification_groups_bulk_partial_update", - "description": "Patch a list of notification group objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_notification_groups_bulk_destroy", - "description": "Delete a list of notification group objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/notification-groups/{id}/": { - "get": { - "operationId": "extras_notification_groups_retrieve", - "description": "Get a notification group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification group.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_notification_groups_update", - "description": "Put a notification group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification group.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/NotificationGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_notification_groups_partial_update", - "description": "Patch a notification group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification group.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedNotificationGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedNotificationGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_notification_groups_destroy", - "description": "Delete a notification group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification group.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/notifications/": { - "get": { - "operationId": "extras_notifications_list", - "description": "Get a list of notification objects.", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedNotificationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_notifications_create", - "description": "Post a list of notification objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Notification" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_notifications_bulk_update", - "description": "Put a list of notification objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Notification" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_notifications_bulk_partial_update", - "description": "Patch a list of notification objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Notification" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_notifications_bulk_destroy", - "description": "Delete a list of notification objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/notifications/{id}/": { - "get": { - "operationId": "extras_notifications_retrieve", - "description": "Get a notification object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Notification" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_notifications_update", - "description": "Put a notification object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Notification" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_notifications_partial_update", - "description": "Patch a notification object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedNotificationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedNotificationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Notification" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_notifications_destroy", - "description": "Delete a notification object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this notification.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/object-types/": { - "get": { - "operationId": "extras_object_types_list", - "description": "Read-only list of ObjectTypes.", - "parameters": [ - { - "in": "query", - "name": "app_label", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "app_label__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "app_label__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "features", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "model", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "model__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "model__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "public", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedObjectTypeList" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/object-types/{id}/": { - "get": { - "operationId": "extras_object_types_retrieve", - "description": "Read-only list of ObjectTypes.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this object type.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectType" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/saved-filters/": { - "get": { - "operationId": "extras_saved_filters_list", - "description": "Get a list of saved filter objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "shared", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "usable", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSavedFilterList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_saved_filters_create", - "description": "Post a list of saved filter objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SavedFilter" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_saved_filters_bulk_update", - "description": "Put a list of saved filter objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilter" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_saved_filters_bulk_partial_update", - "description": "Patch a list of saved filter objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilter" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_saved_filters_bulk_destroy", - "description": "Delete a list of saved filter objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/saved-filters/{id}/": { - "get": { - "operationId": "extras_saved_filters_retrieve", - "description": "Get a saved filter object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this saved filter.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SavedFilter" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_saved_filters_update", - "description": "Put a saved filter object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this saved filter.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/SavedFilterRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SavedFilter" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_saved_filters_partial_update", - "description": "Patch a saved filter object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this saved filter.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedSavedFilterRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedSavedFilterRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SavedFilter" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_saved_filters_destroy", - "description": "Delete a saved filter object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this saved filter.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/scripts/": { - "get": { - "operationId": "extras_scripts_list", - "description": "Get a list of script objects.", - "parameters": [ - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_executable", - "schema": { - "type": "boolean" - } - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "module_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Script module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "module_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Script module (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedScriptList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_scripts_create", - "description": "Post a list of script objects.", - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Script" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/scripts/{id}/": { - "get": { - "operationId": "extras_scripts_retrieve", - "description": "Get a script object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string", - "pattern": "^[^/]+$" - }, - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Script" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_scripts_update", - "description": "Put a script object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string", - "pattern": "^[^/]+$" - }, - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ScriptInputRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ScriptInputRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Script" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_scripts_partial_update", - "description": "Patch a script object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string", - "pattern": "^[^/]+$" - }, - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedScriptInputRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedScriptInputRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Script" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_scripts_destroy", - "description": "Delete a script object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "string", - "pattern": "^[^/]+$" - }, - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/subscriptions/": { - "get": { - "operationId": "extras_subscriptions_list", - "description": "Get a list of subscription objects.", - "parameters": [ - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSubscriptionList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_subscriptions_create", - "description": "Post a list of subscription objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_subscriptions_bulk_update", - "description": "Put a list of subscription objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_subscriptions_bulk_partial_update", - "description": "Patch a list of subscription objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_subscriptions_bulk_destroy", - "description": "Delete a list of subscription objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/subscriptions/{id}/": { - "get": { - "operationId": "extras_subscriptions_retrieve", - "description": "Get a subscription object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this subscription.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_subscriptions_update", - "description": "Put a subscription object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this subscription.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/SubscriptionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_subscriptions_partial_update", - "description": "Patch a subscription object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this subscription.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedSubscriptionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedSubscriptionRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Subscription" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_subscriptions_destroy", - "description": "Delete a subscription object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this subscription.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/table-configs/": { - "get": { - "operationId": "extras_table_configs_list", - "description": "Get a list of table config objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "shared", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "table", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "table__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "table__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "usable", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTableConfigList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_table_configs_create", - "description": "Post a list of table config objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TableConfigRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TableConfig" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_table_configs_bulk_update", - "description": "Put a list of table config objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfig" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_table_configs_bulk_partial_update", - "description": "Patch a list of table config objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfig" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_table_configs_bulk_destroy", - "description": "Delete a list of table config objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/table-configs/{id}/": { - "get": { - "operationId": "extras_table_configs_retrieve", - "description": "Get a table config object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this table config.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TableConfig" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_table_configs_update", - "description": "Put a table config object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this table config.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TableConfigRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TableConfigRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TableConfig" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_table_configs_partial_update", - "description": "Patch a table config object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this table config.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedTableConfigRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedTableConfigRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TableConfig" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_table_configs_destroy", - "description": "Delete a table config object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this table config.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/tagged-objects/": { - "get": { - "operationId": "extras_tagged_objects_list", - "description": "Get a list of tagged item objects.", - "parameters": [ - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTaggedItemList" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/tagged-objects/{id}/": { - "get": { - "operationId": "extras_tagged_objects_retrieve", - "description": "Get a tagged item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tagged item.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TaggedItem" - } - } - }, - "description": "" - } - } - } - }, - "/api/extras/tags/": { - "get": { - "operationId": "extras_tags_list", - "description": "Get a list of tag objects.", - "parameters": [ - { - "in": "query", - "name": "color", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "color__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "color__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "content_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "for_object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_types", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_types__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTagList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_tags_create", - "description": "Post a list of tag objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TagRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TagRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tag" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_tags_bulk_update", - "description": "Put a list of tag objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tag" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_tags_bulk_partial_update", - "description": "Patch a list of tag objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tag" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_tags_bulk_destroy", - "description": "Delete a list of tag objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TagRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/tags/{id}/": { - "get": { - "operationId": "extras_tags_retrieve", - "description": "Get a tag object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tag.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tag" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_tags_update", - "description": "Put a tag object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tag.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TagRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TagRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tag" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_tags_partial_update", - "description": "Patch a tag object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tag.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedTagRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedTagRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tag" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_tags_destroy", - "description": "Delete a tag object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tag.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/webhooks/": { - "get": { - "operationId": "extras_webhooks_list", - "description": "Get a list of webhook objects.", - "parameters": [ - { - "in": "query", - "name": "ca_file_path", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "ca_file_path__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ca_file_path__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "http_content_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_content_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "http_method__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "http_method__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a12018571a034921" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "payload_url", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "secret", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "secret__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "secret__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssl_verification", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedWebhookList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "extras_webhooks_create", - "description": "Post a list of webhook objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebhookRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Webhook" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_webhooks_bulk_update", - "description": "Put a list of webhook objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Webhook" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_webhooks_bulk_partial_update", - "description": "Patch a list of webhook objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Webhook" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_webhooks_bulk_destroy", - "description": "Delete a list of webhook objects.", - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/extras/webhooks/{id}/": { - "get": { - "operationId": "extras_webhooks_retrieve", - "description": "Get a webhook object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this webhook.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Webhook" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "extras_webhooks_update", - "description": "Put a webhook object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this webhook.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WebhookRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WebhookRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Webhook" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "extras_webhooks_partial_update", - "description": "Patch a webhook object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this webhook.", - "required": true - } - ], - "tags": [ - "extras" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWebhookRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWebhookRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Webhook" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "extras_webhooks_destroy", - "description": "Delete a webhook object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this webhook.", - "required": true - } - ], - "tags": [ - "extras" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/aggregates/": { - "get": { - "operationId": "ipam_aggregates_list", - "description": "Get a list of aggregate objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "date_added", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_added__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_added__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_added__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_added__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_added__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_added__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "family", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "prefix", - "schema": { - "type": "string" - }, - "description": "Prefix" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rir", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "RIR (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "RIR (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "RIR (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "RIR (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedAggregateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_aggregates_create", - "description": "Post a list of aggregate objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableAggregateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableAggregateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Aggregate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_aggregates_bulk_update", - "description": "Put a list of aggregate objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AggregateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AggregateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Aggregate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_aggregates_bulk_partial_update", - "description": "Patch a list of aggregate objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AggregateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AggregateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Aggregate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_aggregates_bulk_destroy", - "description": "Delete a list of aggregate objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AggregateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AggregateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/aggregates/{id}/": { - "get": { - "operationId": "ipam_aggregates_retrieve", - "description": "Get a aggregate object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this aggregate.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Aggregate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_aggregates_update", - "description": "Put a aggregate object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this aggregate.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableAggregateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableAggregateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Aggregate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_aggregates_partial_update", - "description": "Patch a aggregate object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this aggregate.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableAggregateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableAggregateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Aggregate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_aggregates_destroy", - "description": "Delete a aggregate object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this aggregate.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/asn-ranges/": { - "get": { - "operationId": "ipam_asn_ranges_list", - "description": "Get a list of ASN range objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "end__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rir", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "RIR (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "RIR (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "RIR (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "RIR (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "start__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedASNRangeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_asn_ranges_create", - "description": "Post a list of ASN range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRange" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_asn_ranges_bulk_update", - "description": "Put a list of ASN range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRange" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_asn_ranges_bulk_partial_update", - "description": "Patch a list of ASN range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRange" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_asn_ranges_bulk_destroy", - "description": "Delete a list of ASN range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/asn-ranges/{id}/": { - "get": { - "operationId": "ipam_asn_ranges_retrieve", - "description": "Get a ASN range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRange" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_asn_ranges_update", - "description": "Put a ASN range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ASNRangeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRange" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_asn_ranges_partial_update", - "description": "Patch a ASN range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedASNRangeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedASNRangeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRange" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_asn_ranges_destroy", - "description": "Delete a ASN range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/asn-ranges/{id}/available-asns/": { - "get": { - "operationId": "ipam_asn_ranges_available_asns_list", - "description": "Get a ASN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AvailableASN" - } - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_asn_ranges_available_asns_create", - "description": "Post a ASN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASN" - } - } - } - }, - "description": "" - } - } - } - }, - "/api/ipam/asns/": { - "get": { - "operationId": "ipam_asns_list", - "description": "Get a list of ASN objects.", - "parameters": [ - { - "in": "query", - "name": "asn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asn__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "provider", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Provider (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "provider_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Provider (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rir", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "RIR (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "RIR (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "RIR (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rir_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "RIR (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedASNList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_asns_create", - "description": "Post a list of ASN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ASNRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_asns_bulk_update", - "description": "Put a list of ASN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASN" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_asns_bulk_partial_update", - "description": "Patch a list of ASN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASN" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_asns_bulk_destroy", - "description": "Delete a list of ASN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/asns/{id}/": { - "get": { - "operationId": "ipam_asns_retrieve", - "description": "Get a ASN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_asns_update", - "description": "Put a ASN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASNRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ASNRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASN" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_asns_partial_update", - "description": "Patch a ASN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedASNRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedASNRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ASN" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_asns_destroy", - "description": "Delete a ASN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this ASN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/fhrp-group-assignments/": { - "get": { - "operationId": "ipam_fhrp_group_assignments_list", - "description": "Get a list of FHRP group assignment objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "interface_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "interface_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "priority", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "priority__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "priority__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "priority__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "priority__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "priority__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "priority__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedFHRPGroupAssignmentList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_fhrp_group_assignments_create", - "description": "Post a list of FHRP group assignment objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_fhrp_group_assignments_bulk_update", - "description": "Put a list of FHRP group assignment objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_fhrp_group_assignments_bulk_partial_update", - "description": "Patch a list of FHRP group assignment objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_fhrp_group_assignments_bulk_destroy", - "description": "Delete a list of FHRP group assignment objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/fhrp-group-assignments/{id}/": { - "get": { - "operationId": "ipam_fhrp_group_assignments_retrieve", - "description": "Get a FHRP group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group assignment.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_fhrp_group_assignments_update", - "description": "Put a FHRP group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group assignment.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_fhrp_group_assignments_partial_update", - "description": "Patch a FHRP group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group assignment.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedFHRPGroupAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedFHRPGroupAssignmentRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_fhrp_group_assignments_destroy", - "description": "Delete a FHRP group assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group assignment.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/fhrp-groups/": { - "get": { - "operationId": "ipam_fhrp_groups_list", - "description": "Get a list of FHRP group objects.", - "parameters": [ - { - "in": "query", - "name": "auth_key", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_key__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_key__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "group_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "protocol", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "protocol__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "protocol__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "40dc831c689b4b78" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "related_ip", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedFHRPGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_fhrp_groups_create", - "description": "Post a list of FHRP group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_fhrp_groups_bulk_update", - "description": "Put a list of FHRP group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_fhrp_groups_bulk_partial_update", - "description": "Patch a list of FHRP group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_fhrp_groups_bulk_destroy", - "description": "Delete a list of FHRP group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/fhrp-groups/{id}/": { - "get": { - "operationId": "ipam_fhrp_groups_retrieve", - "description": "Get a FHRP group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_fhrp_groups_update", - "description": "Put a FHRP group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/FHRPGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_fhrp_groups_partial_update", - "description": "Patch a FHRP group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedFHRPGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedFHRPGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_fhrp_groups_destroy", - "description": "Delete a FHRP group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this FHRP group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/ip-addresses/": { - "get": { - "operationId": "ipam_ip_addresses_list", - "description": "Get a list of IP address objects.", - "parameters": [ - { - "in": "query", - "name": "address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned", - "schema": { - "type": "boolean" - }, - "description": "Is assigned" - }, - { - "in": "query", - "name": "assigned_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "assigned_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "assigned_object_type__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "assigned_to_interface", - "schema": { - "type": "boolean" - }, - "description": "Is assigned to an interface" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "dns_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "dns_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "family", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "fhrpgroup_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "FHRP group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "fhrpgroup_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "FHRP group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mask_length", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mask_length__gte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "mask_length__lte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "nat_inside_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "NAT inside IP address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "nat_inside_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "NAT inside IP address (ID)", - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "present_in_vrf", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "present_in_vrf_id", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "role__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true - } - }, - "description": "The functional role of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Application Service (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "service_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Application Service (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "24935cfee15bd268" - } - }, - "description": "The operational status of this IP", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VRF", - "explode": true, - "style": "form" - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIPAddressList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_ip_addresses_create", - "description": "Post a list of IP address objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPAddressRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPAddressRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPAddress" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_ip_addresses_bulk_update", - "description": "Put a list of IP address objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddress" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_ip_addresses_bulk_partial_update", - "description": "Patch a list of IP address objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddress" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_ip_addresses_bulk_destroy", - "description": "Delete a list of IP address objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/ip-addresses/{id}/": { - "get": { - "operationId": "ipam_ip_addresses_retrieve", - "description": "Get a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP address.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPAddress" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_ip_addresses_update", - "description": "Put a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP address.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPAddressRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPAddressRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPAddress" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_ip_addresses_partial_update", - "description": "Patch a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP address.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPAddressRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPAddressRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPAddress" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_ip_addresses_destroy", - "description": "Delete a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP address.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/ip-ranges/": { - "get": { - "operationId": "ipam_ip_ranges_list", - "description": "Get a list of IP range objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contains", - "schema": { - "type": "string" - }, - "description": "Ranges which contain this prefix or IP" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "end_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "family", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mark_populated", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mark_utilized", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "size__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "start_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this range", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VRF", - "explode": true, - "style": "form" - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIPRangeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_ip_ranges_create", - "description": "Post a list of IP range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPRangeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPRangeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPRange" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_ip_ranges_bulk_update", - "description": "Put a list of IP range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRangeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRangeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRange" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_ip_ranges_bulk_partial_update", - "description": "Patch a list of IP range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRangeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRangeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRange" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_ip_ranges_bulk_destroy", - "description": "Delete a list of IP range objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRangeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRangeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/ip-ranges/{id}/": { - "get": { - "operationId": "ipam_ip_ranges_retrieve", - "description": "Get a IP range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPRange" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_ip_ranges_update", - "description": "Put a IP range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPRangeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPRangeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPRange" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_ip_ranges_partial_update", - "description": "Patch a IP range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPRangeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPRangeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPRange" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_ip_ranges_destroy", - "description": "Delete a IP range object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IP range.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/ip-ranges/{id}/available-ips/": { - "get": { - "operationId": "ipam_ip_ranges_available_ips_list", - "description": "Get a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AvailableIP" - } - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_ip_ranges_available_ips_create", - "description": "Post a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddress" - } - } - } - }, - "description": "" - } - } - } - }, - "/api/ipam/prefixes/": { - "get": { - "operationId": "ipam_prefixes_list", - "description": "Get a list of prefix objects.", - "parameters": [ - { - "in": "query", - "name": "children", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "children__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "children__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "children__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "children__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "children__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "children__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contains", - "schema": { - "type": "string" - }, - "description": "Prefixes which contain this prefix or IP" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "depth", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "depth__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "depth__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "depth__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "depth__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "depth__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "depth__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "family", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_pool", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mark_utilized", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mask_length", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mask_length__gte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "mask_length__lte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "prefix", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "present_in_vrf", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "present_in_vrf_id", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "scope_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "scope_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9" - } - }, - "description": "Operational status of this prefix", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vlan_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VLAN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VLAN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_vid", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__empty", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__gt", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__gte", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__lt", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__lte", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__n", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "within", - "schema": { - "type": "string" - }, - "description": "Within prefix" - }, - { - "in": "query", - "name": "within_include", - "schema": { - "type": "string" - }, - "description": "Within and including prefix" - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPrefixList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_prefixes_create", - "description": "Post a list of prefix objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePrefixRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePrefixRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Prefix" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_prefixes_bulk_update", - "description": "Put a list of prefix objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prefix" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_prefixes_bulk_partial_update", - "description": "Patch a list of prefix objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prefix" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_prefixes_bulk_destroy", - "description": "Delete a list of prefix objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/prefixes/{id}/": { - "get": { - "operationId": "ipam_prefixes_retrieve", - "description": "Get a prefix object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this prefix.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Prefix" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_prefixes_update", - "description": "Put a prefix object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this prefix.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePrefixRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePrefixRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Prefix" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_prefixes_partial_update", - "description": "Patch a prefix object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this prefix.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePrefixRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePrefixRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Prefix" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_prefixes_destroy", - "description": "Delete a prefix object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this prefix.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/prefixes/{id}/available-ips/": { - "get": { - "operationId": "ipam_prefixes_available_ips_list", - "description": "Get a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AvailableIP" - } - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_prefixes_available_ips_create", - "description": "Post a IP address object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddressRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddress" - } - } - } - }, - "description": "" - } - } - } - }, - "/api/ipam/prefixes/{id}/available-prefixes/": { - "get": { - "operationId": "ipam_prefixes_available_prefixes_list", - "description": "Get a prefix object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AvailablePrefix" - } - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_prefixes_available_prefixes_create", - "description": "Post a prefix object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PrefixRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prefix" - } - } - } - }, - "description": "" - } - } - } - }, - "/api/ipam/rirs/": { - "get": { - "operationId": "ipam_rirs_list", - "description": "Get a list of RIR objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_private", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRIRList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_rirs_create", - "description": "Post a list of RIR objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RIRRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RIRRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RIR" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_rirs_bulk_update", - "description": "Put a list of RIR objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIRRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIRRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIR" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_rirs_bulk_partial_update", - "description": "Patch a list of RIR objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIRRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIRRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIR" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_rirs_bulk_destroy", - "description": "Delete a list of RIR objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIRRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIRRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/rirs/{id}/": { - "get": { - "operationId": "ipam_rirs_retrieve", - "description": "Get a RIR object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this RIR.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RIR" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_rirs_update", - "description": "Put a RIR object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this RIR.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RIRRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RIRRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RIR" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_rirs_partial_update", - "description": "Patch a RIR object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this RIR.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedRIRRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedRIRRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RIR" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_rirs_destroy", - "description": "Delete a RIR object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this RIR.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/roles/": { - "get": { - "operationId": "ipam_roles_list", - "description": "Get a list of role objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "weight", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "weight__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "weight__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRoleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_roles_create", - "description": "Post a list of role objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Role" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_roles_bulk_update", - "description": "Put a list of role objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Role" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_roles_bulk_partial_update", - "description": "Patch a list of role objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Role" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_roles_bulk_destroy", - "description": "Delete a list of role objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/roles/{id}/": { - "get": { - "operationId": "ipam_roles_retrieve", - "description": "Get a role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this role.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Role" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_roles_update", - "description": "Put a role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this role.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Role" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_roles_partial_update", - "description": "Patch a role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this role.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedRoleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Role" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_roles_destroy", - "description": "Delete a role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this role.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/route-targets/": { - "get": { - "operationId": "ipam_route_targets_list", - "description": "Get a list of route target objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_l2vpn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "Exporting L2VPN (identifier)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "Exporting L2VPN (identifier)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Exporting L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Exporting L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "Export VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "Export VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Exporting VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "exporting_vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Exporting VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_l2vpn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "Importing L2VPN (identifier)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "Importing L2VPN (identifier)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Importing L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Importing L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "Import VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "Import VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Importing VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "importing_vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Importing VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedRouteTargetList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_route_targets_create", - "description": "Post a list of route target objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RouteTarget" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_route_targets_bulk_update", - "description": "Put a list of route target objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_route_targets_bulk_partial_update", - "description": "Patch a list of route target objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_route_targets_bulk_destroy", - "description": "Delete a list of route target objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/route-targets/{id}/": { - "get": { - "operationId": "ipam_route_targets_retrieve", - "description": "Get a route target object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this route target.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RouteTarget" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_route_targets_update", - "description": "Put a route target object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this route target.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/RouteTargetRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RouteTarget" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_route_targets_partial_update", - "description": "Patch a route target object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this route target.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedRouteTargetRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedRouteTargetRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/RouteTarget" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_route_targets_destroy", - "description": "Delete a route target object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this route target.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/service-templates/": { - "get": { - "operationId": "ipam_service_templates_list", - "description": "Get a list of application service template objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "port", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__empty", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__gt", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__gte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__lt", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__lte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__n", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "protocol", - "schema": { - "type": "string", - "x-spec-enum-id": "5521e084b1ad51de", - "enum": [ - "sctp", - "tcp", - "udp" - ] - }, - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedServiceTemplateList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_service_templates_create", - "description": "Post a list of application service template objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableServiceTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableServiceTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_service_templates_bulk_update", - "description": "Put a list of application service template objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_service_templates_bulk_partial_update", - "description": "Patch a list of application service template objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_service_templates_bulk_destroy", - "description": "Delete a list of application service template objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplateRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/service-templates/{id}/": { - "get": { - "operationId": "ipam_service_templates_retrieve", - "description": "Get a application service template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service template.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_service_templates_update", - "description": "Put a application service template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service template.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableServiceTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableServiceTemplateRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_service_templates_partial_update", - "description": "Patch a application service template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service template.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableServiceTemplateRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableServiceTemplateRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_service_templates_destroy", - "description": "Delete a application service template object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service template.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/services/": { - "get": { - "operationId": "ipam_services_list", - "description": "Get a list of application service objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "fhrpgroup", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "fhrpgroup_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ip_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IP address", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ip_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IP address", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ip_address_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IP address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ip_address_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IP address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "parent_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "parent_object_type__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "port", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__empty", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__gt", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__gte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__lt", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__lte", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "port__n", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "protocol", - "schema": { - "type": "string", - "x-spec-enum-id": "5521e084b1ad51de", - "enum": [ - "sctp", - "tcp", - "udp" - ] - }, - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedServiceList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_services_create", - "description": "Post a list of application service objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableServiceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableServiceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Service" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_services_bulk_update", - "description": "Put a list of application service objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Service" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_services_bulk_partial_update", - "description": "Patch a list of application service objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Service" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_services_bulk_destroy", - "description": "Delete a list of application service objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/services/{id}/": { - "get": { - "operationId": "ipam_services_retrieve", - "description": "Get a application service object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Service" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_services_update", - "description": "Put a application service object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableServiceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableServiceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Service" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_services_partial_update", - "description": "Patch a application service object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableServiceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableServiceRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Service" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_services_destroy", - "description": "Delete a application service object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this application service.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlan-groups/": { - "get": { - "operationId": "ipam_vlan_groups_list", - "description": "Get a list of VLAN group objects.", - "parameters": [ - { - "in": "query", - "name": "cluster", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "cluster_group", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "contains_vid", - "schema": { - "type": "number" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rack", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "scope_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "scope_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "scope_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVLANGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_vlan_groups_create", - "description": "Post a list of VLAN group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlan_groups_bulk_update", - "description": "Put a list of VLAN group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlan_groups_bulk_partial_update", - "description": "Patch a list of VLAN group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlan_groups_bulk_destroy", - "description": "Delete a list of VLAN group objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlan-groups/{id}/": { - "get": { - "operationId": "ipam_vlan_groups_retrieve", - "description": "Get a VLAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlan_groups_update", - "description": "Put a VLAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VLANGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlan_groups_partial_update", - "description": "Patch a VLAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVLANGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVLANGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlan_groups_destroy", - "description": "Delete a VLAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN group.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlan-groups/{id}/available-vlans/": { - "get": { - "operationId": "ipam_vlan_groups_available_vlans_list", - "description": "Get a VLAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/AvailableVLAN" - } - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_vlan_groups_available_vlans_create", - "description": "Post a VLAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } - } - } - }, - "description": "" - } - } - } - }, - "/api/ipam/vlan-translation-policies/": { - "get": { - "operationId": "ipam_vlan_translation_policies_list", - "description": "Get a list of VLAN translation policy objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVLANTranslationPolicyList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_vlan_translation_policies_create", - "description": "Post a list of VLAN translation policy objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlan_translation_policies_bulk_update", - "description": "Put a list of VLAN translation policy objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlan_translation_policies_bulk_partial_update", - "description": "Patch a list of VLAN translation policy objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlan_translation_policies_bulk_destroy", - "description": "Delete a list of VLAN translation policy objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlan-translation-policies/{id}/": { - "get": { - "operationId": "ipam_vlan_translation_policies_retrieve", - "description": "Get a VLAN translation policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation policy.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlan_translation_policies_update", - "description": "Put a VLAN translation policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation policy.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlan_translation_policies_partial_update", - "description": "Patch a VLAN translation policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation policy.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVLANTranslationPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVLANTranslationPolicyRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlan_translation_policies_destroy", - "description": "Delete a VLAN translation policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation policy.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlan-translation-rules/": { - "get": { - "operationId": "ipam_vlan_translation_rules_list", - "description": "Get a list of VLAN translation rule objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "local_vid", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "local_vid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "local_vid__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "local_vid__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "local_vid__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "local_vid__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "local_vid__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Translation Policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Translation Policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Translation Policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Translation Policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "remote_vid", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "remote_vid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "remote_vid__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "remote_vid__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "remote_vid__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "remote_vid__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "remote_vid__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVLANTranslationRuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_vlan_translation_rules_create", - "description": "Post a list of VLAN translation rule objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlan_translation_rules_bulk_update", - "description": "Put a list of VLAN translation rule objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlan_translation_rules_bulk_partial_update", - "description": "Patch a list of VLAN translation rule objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlan_translation_rules_bulk_destroy", - "description": "Delete a list of VLAN translation rule objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlan-translation-rules/{id}/": { - "get": { - "operationId": "ipam_vlan_translation_rules_retrieve", - "description": "Get a VLAN translation rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation rule.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlan_translation_rules_update", - "description": "Put a VLAN translation rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation rule.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlan_translation_rules_partial_update", - "description": "Patch a VLAN translation rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation rule.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVLANTranslationRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVLANTranslationRuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlan_translation_rules_destroy", - "description": "Delete a VLAN translation rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN translation rule.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlans/": { - "get": { - "operationId": "ipam_vlans_list", - "description": "Get a list of VLAN objects.", - "parameters": [ - { - "in": "query", - "name": "available_at_site", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "available_on_device", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "available_on_virtualmachine", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "l2vpn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "qinq_role", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qinq_role__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_role__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role" - } - }, - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Q-in-Q SVLAN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Q-in-Q SVLAN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid__empty", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qinq_svlan_vid__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15" - } - }, - "description": "Operational status of this VLAN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vid", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "vid__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vid__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vid__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vid__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vid__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id", - "schema": { - "type": "integer" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVLANList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_vlans_create", - "description": "Post a list of VLAN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVLANRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVLANRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLAN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlans_bulk_update", - "description": "Put a list of VLAN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlans_bulk_partial_update", - "description": "Patch a list of VLAN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlans_bulk_destroy", - "description": "Delete a list of VLAN objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vlans/{id}/": { - "get": { - "operationId": "ipam_vlans_retrieve", - "description": "Get a VLAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLAN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vlans_update", - "description": "Put a VLAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVLANRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVLANRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLAN" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vlans_partial_update", - "description": "Patch a VLAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVLANRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVLANRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VLAN" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vlans_destroy", - "description": "Delete a VLAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VLAN.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vrfs/": { - "get": { - "operationId": "ipam_vrfs_list", - "description": "Get a list of VRF objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enforce_unique", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "export_target", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Export target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Export target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Export target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Export target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Import target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Import target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Import target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Import target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "rd", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "rd__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "rd__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVRFList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "ipam_vrfs_create", - "description": "Post a list of VRF objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VRFRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VRFRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VRF" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vrfs_bulk_update", - "description": "Put a list of VRF objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRFRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRFRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRF" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vrfs_bulk_partial_update", - "description": "Patch a list of VRF objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRFRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRFRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRF" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vrfs_bulk_destroy", - "description": "Delete a list of VRF objects.", - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRFRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRFRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/ipam/vrfs/{id}/": { - "get": { - "operationId": "ipam_vrfs_retrieve", - "description": "Get a VRF object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VRF.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VRF" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "ipam_vrfs_update", - "description": "Put a VRF object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VRF.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VRFRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VRFRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VRF" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "ipam_vrfs_partial_update", - "description": "Patch a VRF object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VRF.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVRFRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVRFRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VRF" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "ipam_vrfs_destroy", - "description": "Delete a VRF object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this VRF.", - "required": true - } - ], - "tags": [ - "ipam" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/schema/": { - "get": { - "operationId": "schema_retrieve", - "description": "OpenApi3 schema for this API. Format can be selected via content negotiation.\n\n- YAML: application/vnd.oai.openapi\n- JSON: application/vnd.oai.openapi+json", - "parameters": [ - { - "in": "query", - "name": "format", - "schema": { - "type": "string", - "enum": [ - "json", - "yaml" - ] - } - }, - { - "in": "query", - "name": "lang", - "schema": { - "type": "string", - "enum": [ - "cs", - "da", - "de", - "en", - "es", - "fr", - "it", - "ja", - "nl", - "pl", - "pt", - "ru", - "tr", - "uk", - "zh" - ] - } - } - ], - "tags": [ - "schema" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - }, - {} - ], - "responses": { - "200": { - "content": { - "application/vnd.oai.openapi": { - "schema": { - "type": "object", - "additionalProperties": {} - } - }, - "application/yaml": { - "schema": { - "type": "object", - "additionalProperties": {} - } - }, - "application/vnd.oai.openapi+json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - }, - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/status/": { - "get": { - "operationId": "status_retrieve", - "description": "A lightweight read-only endpoint for conveying NetBox's current operational status.", - "tags": [ - "status" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/tenancy/contact-assignments/": { - "get": { - "operationId": "tenancy_contact_assignments_list", - "description": "Get a list of contact assignment objects.", - "parameters": [ - { - "in": "query", - "name": "contact_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "priority", - "schema": { - "type": "string", - "x-spec-enum-id": "ef3a31644cec7524", - "nullable": true, - "enum": [ - "inactive", - "primary", - "secondary", - "tertiary" - ] - }, - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Contact role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Contact role (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact role (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedContactAssignmentList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_contact_assignments_create", - "description": "Post a list of contact assignment objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contact_assignments_bulk_update", - "description": "Put a list of contact assignment objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contact_assignments_bulk_partial_update", - "description": "Patch a list of contact assignment objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contact_assignments_bulk_destroy", - "description": "Delete a list of contact assignment objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contact-assignments/{id}/": { - "get": { - "operationId": "tenancy_contact_assignments_retrieve", - "description": "Get a contact assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact assignment.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contact_assignments_update", - "description": "Put a contact assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact assignment.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableContactAssignmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contact_assignments_partial_update", - "description": "Patch a contact assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact assignment.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableContactAssignmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableContactAssignmentRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contact_assignments_destroy", - "description": "Delete a contact assignment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact assignment.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contact-groups/": { - "get": { - "operationId": "tenancy_contact_groups_list", - "description": "Get a list of contact group objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent contact group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent contact group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent contact group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent contact group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedContactGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_contact_groups_create", - "description": "Post a list of contact group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contact_groups_bulk_update", - "description": "Put a list of contact group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contact_groups_bulk_partial_update", - "description": "Patch a list of contact group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contact_groups_bulk_destroy", - "description": "Delete a list of contact group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contact-groups/{id}/": { - "get": { - "operationId": "tenancy_contact_groups_retrieve", - "description": "Get a contact group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contact_groups_update", - "description": "Put a contact group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableContactGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contact_groups_partial_update", - "description": "Patch a contact group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableContactGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableContactGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contact_groups_destroy", - "description": "Delete a contact group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contact-roles/": { - "get": { - "operationId": "tenancy_contact_roles_list", - "description": "Get a list of contact role objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedContactRoleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_contact_roles_create", - "description": "Post a list of contact role objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contact_roles_bulk_update", - "description": "Put a list of contact role objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRole" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contact_roles_bulk_partial_update", - "description": "Patch a list of contact role objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRole" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contact_roles_bulk_destroy", - "description": "Delete a list of contact role objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contact-roles/{id}/": { - "get": { - "operationId": "tenancy_contact_roles_retrieve", - "description": "Get a contact role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact role.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRole" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contact_roles_update", - "description": "Put a contact role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact role.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ContactRoleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRole" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contact_roles_partial_update", - "description": "Patch a contact role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact role.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedContactRoleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedContactRoleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRole" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contact_roles_destroy", - "description": "Delete a contact role object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact role.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contacts/": { - "get": { - "operationId": "tenancy_contacts_list", - "description": "Get a list of contact objects.", - "parameters": [ - { - "in": "query", - "name": "address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "address__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "email__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "link", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "link__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "link__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "phone", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "phone__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "phone__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "title__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "title__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedContactList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_contacts_create", - "description": "Post a list of contact objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ContactRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Contact" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contacts_bulk_update", - "description": "Put a list of contact objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Contact" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contacts_bulk_partial_update", - "description": "Patch a list of contact objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Contact" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contacts_bulk_destroy", - "description": "Delete a list of contact objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/contacts/{id}/": { - "get": { - "operationId": "tenancy_contacts_retrieve", - "description": "Get a contact object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Contact" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_contacts_update", - "description": "Put a contact object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ContactRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ContactRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Contact" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_contacts_partial_update", - "description": "Patch a contact object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedContactRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedContactRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Contact" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_contacts_destroy", - "description": "Delete a contact object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this contact.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/tenant-groups/": { - "get": { - "operationId": "tenancy_tenant_groups_list", - "description": "Get a list of tenant group objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent tenant group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent tenant group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent tenant group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent tenant group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTenantGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_tenant_groups_create", - "description": "Post a list of tenant group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_tenant_groups_bulk_update", - "description": "Put a list of tenant group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_tenant_groups_bulk_partial_update", - "description": "Patch a list of tenant group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_tenant_groups_bulk_destroy", - "description": "Delete a list of tenant group objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/tenant-groups/{id}/": { - "get": { - "operationId": "tenancy_tenant_groups_retrieve", - "description": "Get a tenant group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_tenant_groups_update", - "description": "Put a tenant group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTenantGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_tenant_groups_partial_update", - "description": "Patch a tenant group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTenantGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTenantGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_tenant_groups_destroy", - "description": "Delete a tenant group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant group.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/tenants/": { - "get": { - "operationId": "tenancy_tenants_list", - "description": "Get a list of tenant objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTenantList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "tenancy_tenants_create", - "description": "Post a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_tenants_bulk_update", - "description": "Put a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_tenants_bulk_partial_update", - "description": "Patch a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_tenants_bulk_destroy", - "description": "Delete a list of tenant objects.", - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/tenancy/tenants/{id}/": { - "get": { - "operationId": "tenancy_tenants_retrieve", - "description": "Get a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "tenancy_tenants_update", - "description": "Put a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TenantRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TenantRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "tenancy_tenants_partial_update", - "description": "Patch a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedTenantRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedTenantRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tenant" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "tenancy_tenants_destroy", - "description": "Delete a tenant object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tenant.", - "required": true - } - ], - "tags": [ - "tenancy" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/config/": { - "get": { - "operationId": "users_config_retrieve", - "description": "An API endpoint via which a user can update his or her own UserConfig data (but no one else's).", - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/users/groups/": { - "get": { - "operationId": "users_groups_list", - "description": "Get a list of group objects.", - "parameters": [ - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "notification_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Notification group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "notification_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Notification group (ID)", - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "permission_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Permission (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "permission_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Permission (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "users_groups_create", - "description": "Post a list of group objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/GroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Group" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_groups_bulk_update", - "description": "Put a list of group objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Group" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_groups_bulk_partial_update", - "description": "Patch a list of group objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Group" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_groups_bulk_destroy", - "description": "Delete a list of group objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/groups/{id}/": { - "get": { - "operationId": "users_groups_retrieve", - "description": "Get a group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this group.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Group" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_groups_update", - "description": "Put a group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this group.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/GroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Group" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_groups_partial_update", - "description": "Patch a group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this group.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Group" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_groups_destroy", - "description": "Delete a group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this group.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/permissions/": { - "get": { - "operationId": "users_permissions_list", - "description": "Get a list of permission objects.", - "parameters": [ - { - "in": "query", - "name": "can_add", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "can_change", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "can_delete", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "can_view", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Group (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Group (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_types", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_types__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User", - "explode": true, - "style": "form" - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedObjectPermissionList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "users_permissions_create", - "description": "Post a list of permission objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_permissions_bulk_update", - "description": "Put a list of permission objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_permissions_bulk_partial_update", - "description": "Patch a list of permission objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_permissions_bulk_destroy", - "description": "Delete a list of permission objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/permissions/{id}/": { - "get": { - "operationId": "users_permissions_retrieve", - "description": "Get a permission object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this permission.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_permissions_update", - "description": "Put a permission object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this permission.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ObjectPermissionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_permissions_partial_update", - "description": "Patch a permission object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this permission.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedObjectPermissionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedObjectPermissionRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_permissions_destroy", - "description": "Delete a permission object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this permission.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/tokens/": { - "get": { - "operationId": "users_tokens_list", - "description": "Get a list of token objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "expires", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "expires__gte", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "expires__lte", - "schema": { - "type": "string", - "format": "date-time" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "key__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "key__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_used", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_used__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_used__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_used__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_used__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_used__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_used__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "user", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "User (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "user_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "User", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "write_enabled", - "schema": { - "type": "boolean" - } - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTokenList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "users_tokens_create", - "description": "Post a list of token objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TokenRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_tokens_bulk_update", - "description": "Put a list of token objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TokenRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TokenRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Token" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_tokens_bulk_partial_update", - "description": "Patch a list of token objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TokenRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TokenRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Token" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_tokens_bulk_destroy", - "description": "Delete a list of token objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TokenRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TokenRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/tokens/{id}/": { - "get": { - "operationId": "users_tokens_retrieve", - "description": "Get a token object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this token.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_tokens_update", - "description": "Put a token object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this token.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TokenRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_tokens_partial_update", - "description": "Patch a token object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this token.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedTokenRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedTokenRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Token" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_tokens_destroy", - "description": "Delete a token object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this token.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/tokens/provision/": { - "post": { - "operationId": "users_tokens_provision_create", - "description": "Non-authenticated REST API endpoint via which a user may create a Token.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenProvisionRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TokenProvisionRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TokenProvision" - } - } - }, - "description": "" - }, - "401": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": {} - } - } - }, - "description": "" - } - } - } - }, - "/api/users/users/": { - "get": { - "operationId": "users_users_list", - "description": "Get a list of user objects.", - "parameters": [ - { - "in": "query", - "name": "date_joined", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_joined__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_joined__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_joined__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_joined__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_joined__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_joined__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "email__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "email__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "first_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "first_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Group (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Group (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Group", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_active", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "is_staff", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "is_superuser", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_login", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_login__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_login__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_login__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_login__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_login__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_login__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "notification_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Notification group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "notification_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Notification group (ID)", - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "permission_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Permission (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "permission_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Permission (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "username", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "username__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "username__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedUserList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "users_users_create", - "description": "Post a list of user objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_users_bulk_update", - "description": "Put a list of user objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/User" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_users_bulk_partial_update", - "description": "Patch a list of user objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/User" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_users_bulk_destroy", - "description": "Delete a list of user objects.", - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/UserRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/users/users/{id}/": { - "get": { - "operationId": "users_users_retrieve", - "description": "Get a user object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this user.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "users_users_update", - "description": "Put a user object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this user.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/UserRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/UserRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "users_users_partial_update", - "description": "Patch a user object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this user.", - "required": true - } - ], - "tags": [ - "users" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedUserRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedUserRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/User" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "users_users_destroy", - "description": "Delete a user object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this user.", - "required": true - } - ], - "tags": [ - "users" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/cluster-groups/": { - "get": { - "operationId": "virtualization_cluster_groups_list", - "description": "Get a list of cluster group objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedClusterGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "virtualization_cluster_groups_create", - "description": "Post a list of cluster group objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_cluster_groups_bulk_update", - "description": "Put a list of cluster group objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_cluster_groups_bulk_partial_update", - "description": "Patch a list of cluster group objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_cluster_groups_bulk_destroy", - "description": "Delete a list of cluster group objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/cluster-groups/{id}/": { - "get": { - "operationId": "virtualization_cluster_groups_retrieve", - "description": "Get a cluster group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster group.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_cluster_groups_update", - "description": "Put a cluster group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster group.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ClusterGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_cluster_groups_partial_update", - "description": "Patch a cluster group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster group.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedClusterGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedClusterGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_cluster_groups_destroy", - "description": "Delete a cluster group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster group.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/cluster-types/": { - "get": { - "operationId": "virtualization_cluster_types_list", - "description": "Get a list of cluster type objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedClusterTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "virtualization_cluster_types_create", - "description": "Post a list of cluster type objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_cluster_types_bulk_update", - "description": "Put a list of cluster type objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_cluster_types_bulk_partial_update", - "description": "Patch a list of cluster type objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_cluster_types_bulk_destroy", - "description": "Delete a list of cluster type objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/cluster-types/{id}/": { - "get": { - "operationId": "virtualization_cluster_types_retrieve", - "description": "Get a cluster type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster type.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_cluster_types_update", - "description": "Put a cluster type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster type.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ClusterTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_cluster_types_partial_update", - "description": "Patch a cluster type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster type.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedClusterTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedClusterTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ClusterType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_cluster_types_destroy", - "description": "Delete a cluster type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster type.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/clusters/": { - "get": { - "operationId": "virtualization_clusters_list", - "description": "Get a list of cluster objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Parent group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Parent group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "scope_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "scope_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "79d20a734d0eecbb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedClusterList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "virtualization_clusters_create", - "description": "Post a list of cluster objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cluster" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_clusters_bulk_update", - "description": "Put a list of cluster objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cluster" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_clusters_bulk_partial_update", - "description": "Patch a list of cluster objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cluster" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_clusters_bulk_destroy", - "description": "Delete a list of cluster objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/clusters/{id}/": { - "get": { - "operationId": "virtualization_clusters_retrieve", - "description": "Get a cluster object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cluster" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_clusters_update", - "description": "Put a cluster object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableClusterRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cluster" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_clusters_partial_update", - "description": "Patch a cluster object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableClusterRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableClusterRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Cluster" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_clusters_destroy", - "description": "Delete a cluster object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cluster.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/interfaces/": { - "get": { - "operationId": "virtualization_interfaces_list", - "description": "Get a list of interface objects.", - "parameters": [ - { - "in": "query", - "name": "bridge_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Bridged interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bridge_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Bridged interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - } - }, - "description": "L2VPN", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__empty", - "schema": { - "type": "boolean" - }, - "description": "802.1Q Mode" - }, - { - "in": "query", - "name": "mode__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true - } - }, - "description": "802.1Q Mode", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "mtu", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mtu__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mtu__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Parent interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary MAC address", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary MAC address", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary MAC address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_mac_address_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary MAC address (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual machine", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual machine", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan", - "schema": { - "type": "string" - }, - "description": "Assigned VID" - }, - { - "in": "query", - "name": "vlan_id", - "schema": { - "type": "string" - }, - "description": "Assigned VLAN" - }, - { - "in": "query", - "name": "vlan_translation_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Translation Policy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_translation_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN Translation Policy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_translation_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Translation Policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_translation_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN Translation Policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true, - "title": "Route distinguisher" - } - }, - "description": "VRF (RD)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VRF", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vrf_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VRF", - "explode": true, - "style": "form" - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVMInterfaceList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "virtualization_interfaces_create", - "description": "Post a list of interface objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VMInterface" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_interfaces_bulk_update", - "description": "Put a list of interface objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterface" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_interfaces_bulk_partial_update", - "description": "Patch a list of interface objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterface" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_interfaces_bulk_destroy", - "description": "Delete a list of interface objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterfaceRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/interfaces/{id}/": { - "get": { - "operationId": "virtualization_interfaces_retrieve", - "description": "Get a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VMInterface" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_interfaces_update", - "description": "Put a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVMInterfaceRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VMInterface" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_interfaces_partial_update", - "description": "Patch a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVMInterfaceRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVMInterfaceRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VMInterface" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_interfaces_destroy", - "description": "Delete a interface object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this interface.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/virtual-disks/": { - "get": { - "operationId": "virtualization_virtual_disks_list", - "description": "Get a list of virtual disk objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "size", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "size__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "size__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual machine", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual machine", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualDiskList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "virtualization_virtual_disks_create", - "description": "Post a list of virtual disk objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_virtual_disks_bulk_update", - "description": "Put a list of virtual disk objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_virtual_disks_bulk_partial_update", - "description": "Patch a list of virtual disk objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_virtual_disks_bulk_destroy", - "description": "Delete a list of virtual disk objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/virtual-disks/{id}/": { - "get": { - "operationId": "virtualization_virtual_disks_retrieve", - "description": "Get a virtual disk object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual disk.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_virtual_disks_update", - "description": "Put a virtual disk object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual disk.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VirtualDiskRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_virtual_disks_partial_update", - "description": "Patch a virtual disk object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual disk.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVirtualDiskRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVirtualDiskRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_virtual_disks_destroy", - "description": "Delete a virtual disk object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual disk.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/virtual-machines/": { - "get": { - "operationId": "virtualization_virtual_machines_list", - "description": "Get a list of virtual machine objects.", - "parameters": [ - { - "in": "query", - "name": "cluster", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Cluster (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Cluster type (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "cluster_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Cluster type (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "config_template_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Config template (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "disk__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "disk__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "has_primary_ip", - "schema": { - "type": "boolean" - }, - "description": "Has a primary IP" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "interface_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "local_context_data", - "schema": { - "type": "boolean" - }, - "description": "Has local config context data" - }, - { - "in": "query", - "name": "mac_address", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mac_address__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "memory__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "memory__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "platform", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "platform_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv4 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv4 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip4_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv4 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv6 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Primary IPv6 (address)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "primary_ip6_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Primary IPv6 (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "c649dc8de233760f" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vcpus", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vcpus__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "vcpus__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vcpus__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vcpus__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vcpus__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vcpus__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_disk_count", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_disk_count__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "virtual_disk_count__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_disk_count__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_disk_count__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_disk_count__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_disk_count__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVirtualMachineWithConfigContextList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "virtualization_virtual_machines_create", - "description": "Post a list of virtual machine objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_virtual_machines_bulk_update", - "description": "Put a list of virtual machine objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_virtual_machines_bulk_partial_update", - "description": "Patch a list of virtual machine objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_virtual_machines_bulk_destroy", - "description": "Delete a list of virtual machine objects.", - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContextRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/virtual-machines/{id}/": { - "get": { - "operationId": "virtualization_virtual_machines_retrieve", - "description": "Get a virtual machine object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual machine.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "virtualization_virtual_machines_update", - "description": "Put a virtual machine object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual machine.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "virtualization_virtual_machines_partial_update", - "description": "Patch a virtual machine object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual machine.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableVirtualMachineWithConfigContextRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "virtualization_virtual_machines_destroy", - "description": "Delete a virtual machine object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual machine.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/virtualization/virtual-machines/{id}/render-config/": { - "post": { - "operationId": "virtualization_virtual_machines_render_config_create", - "description": "Resolve and render the preferred ConfigTemplate for this Device.", - "parameters": [ - { - "in": "query", - "name": "format", - "schema": { - "type": "string", - "enum": [ - "json", - "txt" - ] - } - }, - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this virtual machine.", - "required": true - } - ], - "tags": [ - "virtualization" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableVirtualMachineWithConfigContextRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - }, - "text/plain": { - "schema": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - }, - "description": "" - } - } - } - }, - "/api/vpn/ike-policies/": { - "get": { - "operationId": "vpn_ike_policies_list", - "description": "Get a list of IKE policy objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_proposal", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_proposal__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_proposal_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_proposal_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mode", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mode__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__ic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__ie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__iew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__iregex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__isw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__nic", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__nie", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__niew", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__nisw", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "preshared_key__regex", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "version", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__ic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__ie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__iew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__iregex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__isw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__nic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__nie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__niew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__nisw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "version__regex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "00872b77916a1fde" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIKEPolicyList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_ike_policies_create", - "description": "Post a list of IKE policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ike_policies_bulk_update", - "description": "Put a list of IKE policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ike_policies_bulk_partial_update", - "description": "Patch a list of IKE policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ike_policies_bulk_destroy", - "description": "Delete a list of IKE policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ike-policies/{id}/": { - "get": { - "operationId": "vpn_ike_policies_retrieve", - "description": "Get a IKE policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ike_policies_update", - "description": "Put a IKE policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIKEPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ike_policies_partial_update", - "description": "Patch a IKE policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEPolicyRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ike_policies_destroy", - "description": "Delete a IKE policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ike-proposals/": { - "get": { - "operationId": "vpn_ike_proposals_list", - "description": "Get a list of IKE proposal objects.", - "parameters": [ - { - "in": "query", - "name": "authentication_algorithm", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "authentication_algorithm__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "authentication_method__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_method__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "92bb2f1103b3a262" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "encryption_algorithm__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__ic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__ie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__iew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__iregex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__isw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__nic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__nie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__niew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__nisw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__regex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8" - } - }, - "description": "Diffie-Hellman group ID", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IKE policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IKE policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IKE policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IKE policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "sa_lifetime", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "sa_lifetime__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIKEProposalList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_ike_proposals_create", - "description": "Post a list of IKE proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEProposal" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ike_proposals_bulk_update", - "description": "Put a list of IKE proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposalRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposalRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposal" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ike_proposals_bulk_partial_update", - "description": "Patch a list of IKE proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposalRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposalRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposal" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ike_proposals_bulk_destroy", - "description": "Delete a list of IKE proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposalRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposalRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ike-proposals/{id}/": { - "get": { - "operationId": "vpn_ike_proposals_retrieve", - "description": "Get a IKE proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEProposal" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ike_proposals_update", - "description": "Put a IKE proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIKEProposalRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEProposal" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ike_proposals_partial_update", - "description": "Patch a IKE proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEProposalRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIKEProposalRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IKEProposal" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ike_proposals_destroy", - "description": "Delete a IKE proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IKE proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-policies/": { - "get": { - "operationId": "vpn_ipsec_policies_list", - "description": "Get a list of IPSec policy objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_proposal", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_proposal__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_proposal_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_proposal_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "pfs_group", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__ic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__ie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__iew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__iregex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__isw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__nic", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__nie", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__niew", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__nisw", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pfs_group__regex", - "schema": { - "type": "array", - "items": { - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true - } - }, - "description": "Diffie-Hellman group for Perfect Forward Secrecy", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIPSecPolicyList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_ipsec_policies_create", - "description": "Post a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_policies_bulk_update", - "description": "Put a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_policies_bulk_partial_update", - "description": "Patch a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_policies_bulk_destroy", - "description": "Delete a list of IPSec policy objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicyRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-policies/{id}/": { - "get": { - "operationId": "vpn_ipsec_policies_retrieve", - "description": "Get a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_policies_update", - "description": "Put a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecPolicyRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_policies_partial_update", - "description": "Patch a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecPolicyRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecPolicyRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_policies_destroy", - "description": "Delete a IPSec policy object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec policy.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-profiles/": { - "get": { - "operationId": "vpn_ipsec_profiles_list", - "description": "Get a list of IPSec profile objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IKE policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IKE policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IKE policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ike_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IKE policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IPSec policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IPSec policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IPSec policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IPSec policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "mode", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "mode__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "mode__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "1136c2cdfee84436" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIPSecProfileList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_ipsec_profiles_create", - "description": "Post a list of IPSec profile objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_profiles_bulk_update", - "description": "Put a list of IPSec profile objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_profiles_bulk_partial_update", - "description": "Patch a list of IPSec profile objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_profiles_bulk_destroy", - "description": "Delete a list of IPSec profile objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfileRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-profiles/{id}/": { - "get": { - "operationId": "vpn_ipsec_profiles_retrieve", - "description": "Get a IPSec profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec profile.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_profiles_update", - "description": "Put a IPSec profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec profile.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProfileRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_profiles_partial_update", - "description": "Patch a IPSec profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec profile.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProfileRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProfileRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_profiles_destroy", - "description": "Delete a IPSec profile object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec profile.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-proposals/": { - "get": { - "operationId": "vpn_ipsec_proposals_list", - "description": "Get a list of IPSec proposal objects.", - "parameters": [ - { - "in": "query", - "name": "authentication_algorithm", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "authentication_algorithm__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "authentication_algorithm__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "encryption_algorithm__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encryption_algorithm__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IPSec policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IPSec policy (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IPSec policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_policy_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "IPSec policy (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "sa_lifetime_data", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_data__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "sa_lifetime_data__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_data__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_data__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_data__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_data__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_seconds", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_seconds__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "sa_lifetime_seconds__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_seconds__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_seconds__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_seconds__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "sa_lifetime_seconds__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedIPSecProposalList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_ipsec_proposals_create", - "description": "Post a list of IPSec proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_proposals_bulk_update", - "description": "Put a list of IPSec proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_proposals_bulk_partial_update", - "description": "Patch a list of IPSec proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_proposals_bulk_destroy", - "description": "Delete a list of IPSec proposal objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposalRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/ipsec-proposals/{id}/": { - "get": { - "operationId": "vpn_ipsec_proposals_retrieve", - "description": "Get a IPSec proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_ipsec_proposals_update", - "description": "Put a IPSec proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableIPSecProposalRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_ipsec_proposals_partial_update", - "description": "Patch a IPSec proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProposalRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableIPSecProposalRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_ipsec_proposals_destroy", - "description": "Delete a IPSec proposal object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this IPSec proposal.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/l2vpn-terminations/": { - "get": { - "operationId": "vpn_l2vpn_terminations_list", - "description": "Get a list of L2VPN termination objects.", - "parameters": [ - { - "in": "query", - "name": "assigned_object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "assigned_object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "assigned_object_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "assigned_object_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "device", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "nullable": true - } - }, - "description": "Device (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "device_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Device (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "L2VPN (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "L2VPN (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "l2vpn_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "L2VPN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "virtual_machine", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual machine (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Virtual machine (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "virtual_machine_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Virtual machine (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VLAN (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VLAN (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_vid", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__empty", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__gt", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__gte", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__lt", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__lte", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vlan_vid__n", - "schema": { - "type": "integer" - }, - "description": "VLAN number (1-4094)" - }, - { - "in": "query", - "name": "vminterface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM Interface (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedL2VPNTerminationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_l2vpn_terminations_create", - "description": "Post a list of L2VPN termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_l2vpn_terminations_bulk_update", - "description": "Put a list of L2VPN termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_l2vpn_terminations_bulk_partial_update", - "description": "Patch a list of L2VPN termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_l2vpn_terminations_bulk_destroy", - "description": "Delete a list of L2VPN termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/l2vpn-terminations/{id}/": { - "get": { - "operationId": "vpn_l2vpn_terminations_retrieve", - "description": "Get a L2VPN termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_l2vpn_terminations_update", - "description": "Put a L2VPN termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/L2VPNTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_l2vpn_terminations_partial_update", - "description": "Patch a L2VPN termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedL2VPNTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedL2VPNTerminationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_l2vpn_terminations_destroy", - "description": "Delete a L2VPN termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/l2vpns/": { - "get": { - "operationId": "vpn_l2vpns_list", - "description": "Get a list of L2VPN objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Export target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Export target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Export target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "export_target_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Export target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "identifier__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "identifier__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Import target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Import target (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Import target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "import_target_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Import target", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "937bacafb9d5d4bb" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "730136816a2885f9" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedL2VPNList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_l2vpns_create", - "description": "Post a list of L2VPN objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_l2vpns_bulk_update", - "description": "Put a list of L2VPN objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPN" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_l2vpns_bulk_partial_update", - "description": "Patch a list of L2VPN objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPN" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_l2vpns_bulk_destroy", - "description": "Delete a list of L2VPN objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/l2vpns/{id}/": { - "get": { - "operationId": "vpn_l2vpns_retrieve", - "description": "Get a L2VPN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_l2vpns_update", - "description": "Put a L2VPN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableL2VPNRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPN" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_l2vpns_partial_update", - "description": "Patch a L2VPN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableL2VPNRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableL2VPNRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/L2VPN" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_l2vpns_destroy", - "description": "Delete a L2VPN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this L2VPN.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/tunnel-groups/": { - "get": { - "operationId": "vpn_tunnel_groups_list", - "description": "Get a list of tunnel group objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTunnelGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_tunnel_groups_create", - "description": "Post a list of tunnel group objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_tunnel_groups_bulk_update", - "description": "Put a list of tunnel group objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_tunnel_groups_bulk_partial_update", - "description": "Patch a list of tunnel group objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_tunnel_groups_bulk_destroy", - "description": "Delete a list of tunnel group objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/tunnel-groups/{id}/": { - "get": { - "operationId": "vpn_tunnel_groups_retrieve", - "description": "Get a tunnel group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel group.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_tunnel_groups_update", - "description": "Put a tunnel group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel group.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/TunnelGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_tunnel_groups_partial_update", - "description": "Patch a tunnel group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel group.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedTunnelGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedTunnelGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_tunnel_groups_destroy", - "description": "Delete a tunnel group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel group.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/tunnel-terminations/": { - "get": { - "operationId": "vpn_tunnel_terminations_list", - "description": "Get a list of tunnel termination objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "outside_ip_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Outside IP (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "outside_ip_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Outside IP (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "role", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "role__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "role__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "52225cd60b867572" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "termination_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "termination_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "termination_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "tunnel", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tunnel (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tunnel (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tunnel (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Tunnel (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vminterface", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "VM interface (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM interface (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vminterface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "VM interface (ID)", - "explode": true, - "style": "form" - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTunnelTerminationList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_tunnel_terminations_create", - "description": "Post a list of tunnel termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_tunnel_terminations_bulk_update", - "description": "Put a list of tunnel termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_tunnel_terminations_bulk_partial_update", - "description": "Patch a list of tunnel termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_tunnel_terminations_bulk_destroy", - "description": "Delete a list of tunnel termination objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTerminationRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/tunnel-terminations/{id}/": { - "get": { - "operationId": "vpn_tunnel_terminations_retrieve", - "description": "Get a tunnel termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_tunnel_terminations_update", - "description": "Put a tunnel termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelTerminationRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_tunnel_terminations_partial_update", - "description": "Patch a tunnel termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelTerminationRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelTerminationRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_tunnel_terminations_destroy", - "description": "Delete a tunnel termination object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel termination.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/tunnels/": { - "get": { - "operationId": "vpn_tunnels_list", - "description": "Get a list of tunnel objects.", - "parameters": [ - { - "in": "query", - "name": "contact", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "contact_role__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Contact Role", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "encapsulation__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "encapsulation__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "54a2e45824009c49" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tunnel group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tunnel group (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tunnel group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tunnel group (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_profile", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IPSec profile (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_profile__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "IPSec profile (name)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_profile_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "IPSec profile (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ipsec_profile_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "IPSec profile (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "0d65f7912cba74aa" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tunnel_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tunnel_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedTunnelList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "vpn_tunnels_create", - "description": "Post a list of tunnel objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tunnel" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_tunnels_bulk_update", - "description": "Put a list of tunnel objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tunnel" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_tunnels_bulk_partial_update", - "description": "Patch a list of tunnel objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tunnel" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_tunnels_bulk_destroy", - "description": "Delete a list of tunnel objects.", - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/vpn/tunnels/{id}/": { - "get": { - "operationId": "vpn_tunnels_retrieve", - "description": "Get a tunnel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tunnel" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "vpn_tunnels_update", - "description": "Put a tunnel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableTunnelRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tunnel" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "vpn_tunnels_partial_update", - "description": "Patch a tunnel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableTunnelRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Tunnel" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "vpn_tunnels_destroy", - "description": "Delete a tunnel object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this tunnel.", - "required": true - } - ], - "tags": [ - "vpn" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/wireless/wireless-lan-groups/": { - "get": { - "operationId": "wireless_wireless_lan_groups_list", - "description": "Get a list of wireless LAN group objects.", - "parameters": [ - { - "in": "query", - "name": "ancestor", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ancestor_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "parent", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "parent_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "slug", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "slug__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "slug__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedWirelessLANGroupList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "wireless_wireless_lan_groups_create", - "description": "Post a list of wireless LAN group objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "wireless_wireless_lan_groups_bulk_update", - "description": "Put a list of wireless LAN group objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "wireless_wireless_lan_groups_bulk_partial_update", - "description": "Patch a list of wireless LAN group objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "wireless_wireless_lan_groups_bulk_destroy", - "description": "Delete a list of wireless LAN group objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroupRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/wireless/wireless-lan-groups/{id}/": { - "get": { - "operationId": "wireless_wireless_lan_groups_retrieve", - "description": "Get a wireless LAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN group.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "wireless_wireless_lan_groups_update", - "description": "Put a wireless LAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN group.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANGroupRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "wireless_wireless_lan_groups_partial_update", - "description": "Patch a wireless LAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN group.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANGroupRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANGroupRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "wireless_wireless_lan_groups_destroy", - "description": "Delete a wireless LAN group object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN group.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/wireless/wireless-lans/": { - "get": { - "operationId": "wireless_wireless_lans_list", - "description": "Get a list of wireless LAN objects.", - "parameters": [ - { - "in": "query", - "name": "auth_cipher", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_cipher__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_psk__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "region", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "region_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "scope_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "scope_type", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "scope_type__n", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "site", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Site (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": "Site (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "ssid__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "412ebdca597f609e" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vlan_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vlan_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedWirelessLANList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "wireless_wireless_lans_create", - "description": "Post a list of wireless LAN objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "wireless_wireless_lans_bulk_update", - "description": "Put a list of wireless LAN objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "wireless_wireless_lans_bulk_partial_update", - "description": "Patch a list of wireless LAN objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "wireless_wireless_lans_bulk_destroy", - "description": "Delete a list of wireless LAN objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/wireless/wireless-lans/{id}/": { - "get": { - "operationId": "wireless_wireless_lans_retrieve", - "description": "Get a wireless LAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "wireless_wireless_lans_update", - "description": "Put a wireless LAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLANRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "wireless_wireless_lans_partial_update", - "description": "Patch a wireless LAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLANRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "wireless_wireless_lans_destroy", - "description": "Delete a wireless LAN object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless LAN.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/wireless/wireless-links/": { - "get": { - "operationId": "wireless_wireless_links_list", - "description": "Get a list of wireless link objects.", - "parameters": [ - { - "in": "query", - "name": "auth_cipher", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_cipher__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_cipher__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_psk__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_psk__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "auth_type__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "auth_type__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "distance__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "distance_unit", - "schema": { - "type": "string", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true, - "enum": [ - "ft", - "km", - "m", - "mi" - ] - }, - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_a_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_b_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "interface_b_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "ssid", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "ssid__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "ssid__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "fbc2f302c08be50d" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "description": "Tenant (slug)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_group_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tenant_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "nullable": true - } - }, - "description": "Tenant (ID)", - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedWirelessLinkList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "wireless_wireless_links_create", - "description": "Post a list of wireless link objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLink" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "wireless_wireless_links_bulk_update", - "description": "Put a list of wireless link objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLink" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "wireless_wireless_links_bulk_partial_update", - "description": "Patch a list of wireless link objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLink" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "wireless_wireless_links_bulk_destroy", - "description": "Delete a list of wireless link objects.", - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLinkRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/wireless/wireless-links/{id}/": { - "get": { - "operationId": "wireless_wireless_links_retrieve", - "description": "Get a wireless link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless link.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLink" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "wireless_wireless_links_update", - "description": "Put a wireless link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless link.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableWirelessLinkRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLink" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "wireless_wireless_links_partial_update", - "description": "Patch a wireless link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless link.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLinkRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableWirelessLinkRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WirelessLink" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "wireless_wireless_links_destroy", - "description": "Delete a wireless link object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this wireless link.", - "required": true - } - ], - "tags": [ - "wireless" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - } - }, - "components": { - "schemas": { - "ASN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - }, - "rir": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRIR" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "site_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "provider_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "asn", - "created", - "display", - "display_url", - "id", - "last_updated", - "provider_count", - "site_count", - "url" - ] - }, - "ASNRange": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "rir": { - "$ref": "#/components/schemas/BriefRIR" - }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "asn_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "asn_count", - "created", - "display", - "display_url", - "end", - "id", - "last_updated", - "name", - "rir", - "slug", - "start", - "url" - ] - }, - "ASNRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ] - }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "end", - "name", - "rir", - "slug", - "start" - ] - }, - "ASNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "asn" - ] - }, - "Aggregate": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - } - }, - "readOnly": true - }, - "prefix": { - "type": "string" - }, - "rir": { - "$ref": "#/components/schemas/BriefRIR" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "date_added": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "family", - "id", - "last_updated", - "prefix", - "rir", - "url" - ] - }, - "AggregateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "date_added": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "prefix", - "rir" - ] - }, - "AvailableASN": { - "type": "object", - "description": "Representation of an ASN which does not exist in the database.", - "properties": { - "asn": { - "type": "integer", - "readOnly": true - }, - "description": { - "type": "string" - } - }, - "required": [ - "asn" - ] - }, - "AvailableIP": { - "type": "object", - "description": "Representation of an IP address which does not exist in the database.", - "properties": { - "family": { - "type": "integer", - "readOnly": true - }, - "address": { - "type": "string", - "readOnly": true - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "readOnly": true, - "nullable": true - }, - "description": { - "type": "string" - } - }, - "required": [ - "address", - "family", - "vrf" - ] - }, - "AvailablePrefix": { - "type": "object", - "description": "Representation of a prefix which does not exist in the database.", - "properties": { - "family": { - "type": "integer", - "readOnly": true - }, - "prefix": { - "type": "string", - "readOnly": true - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "readOnly": true, - "nullable": true - } - }, - "required": [ - "family", - "prefix", - "vrf" - ] - }, - "AvailableVLAN": { - "type": "object", - "description": "Representation of a VLAN which does not exist in the database.", - "properties": { - "vid": { - "type": "integer", - "readOnly": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANGroup" - } - ], - "readOnly": true, - "nullable": true - } - }, - "required": [ - "group", - "vid" - ] - }, - "BackgroundTask": { - "type": "object", - "properties": { - "id": { - "type": "string" - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "description": { - "type": "string" - }, - "origin": { - "type": "string" - }, - "func_name": { - "type": "string" - }, - "args": { - "type": "array", - "items": {}, - "readOnly": true - }, - "kwargs": { - "type": "object", - "additionalProperties": {}, - "readOnly": true - }, - "result": { - "type": "string" - }, - "timeout": { - "type": "integer" - }, - "result_ttl": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "enqueued_at": { - "type": "string", - "format": "date-time" - }, - "started_at": { - "type": "string", - "format": "date-time" - }, - "ended_at": { - "type": "string", - "format": "date-time" - }, - "worker_name": { - "type": "string" - }, - "position": { - "type": "integer", - "readOnly": true - }, - "status": { - "type": "string", - "readOnly": true - }, - "meta": { - "type": "object", - "additionalProperties": {} - }, - "last_heartbeat": { - "type": "string" - }, - "is_finished": { - "type": "boolean" - }, - "is_queued": { - "type": "boolean" - }, - "is_failed": { - "type": "boolean" - }, - "is_started": { - "type": "boolean" - }, - "is_deferred": { - "type": "boolean" - }, - "is_canceled": { - "type": "boolean" - }, - "is_scheduled": { - "type": "boolean" - }, - "is_stopped": { - "type": "boolean" - } - }, - "required": [ - "args", - "created_at", - "description", - "ended_at", - "enqueued_at", - "func_name", - "id", - "is_canceled", - "is_deferred", - "is_failed", - "is_finished", - "is_queued", - "is_scheduled", - "is_started", - "is_stopped", - "kwargs", - "last_heartbeat", - "meta", - "origin", - "position", - "result", - "result_ttl", - "started_at", - "status", - "timeout", - "url", - "worker_name" - ] - }, - "BackgroundTaskRequest": { - "type": "object", - "properties": { - "id": { - "type": "string", - "minLength": 1 - }, - "description": { - "type": "string", - "minLength": 1 - }, - "origin": { - "type": "string", - "minLength": 1 - }, - "func_name": { - "type": "string", - "minLength": 1 - }, - "result": { - "type": "string", - "minLength": 1 - }, - "timeout": { - "type": "integer" - }, - "result_ttl": { - "type": "integer" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "enqueued_at": { - "type": "string", - "format": "date-time" - }, - "started_at": { - "type": "string", - "format": "date-time" - }, - "ended_at": { - "type": "string", - "format": "date-time" - }, - "worker_name": { - "type": "string", - "minLength": 1 - }, - "meta": { - "type": "object", - "additionalProperties": {} - }, - "last_heartbeat": { - "type": "string", - "minLength": 1 - }, - "is_finished": { - "type": "boolean" - }, - "is_queued": { - "type": "boolean" - }, - "is_failed": { - "type": "boolean" - }, - "is_started": { - "type": "boolean" - }, - "is_deferred": { - "type": "boolean" - }, - "is_canceled": { - "type": "boolean" - }, - "is_scheduled": { - "type": "boolean" - }, - "is_stopped": { - "type": "boolean" - } - }, - "required": [ - "created_at", - "description", - "ended_at", - "enqueued_at", - "func_name", - "id", - "is_canceled", - "is_deferred", - "is_failed", - "is_finished", - "is_queued", - "is_scheduled", - "is_started", - "is_stopped", - "last_heartbeat", - "meta", - "origin", - "result", - "result_ttl", - "started_at", - "timeout", - "worker_name" - ] - }, - "Bookmark": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "nullable": true, - "readOnly": true - }, - "user": { - "$ref": "#/components/schemas/BriefUser" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "id", - "object", - "object_id", - "object_type", - "url", - "user" - ] - }, - "BookmarkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - } - }, - "required": [ - "object_id", - "object_type", - "user" - ] - }, - "BriefCable": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "label": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "url" - ] - }, - "BriefCableRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "label": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "BriefCircuit": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "cid": { - "type": "string", - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "$ref": "#/components/schemas/BriefProvider" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "cid", - "display", - "id", - "provider", - "url" - ] - }, - "BriefCircuitGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefCircuitGroupAssignmentSerializer_": { - "type": "object", - "description": "Base serializer for group assignments under CircuitSerializer.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "group": { - "$ref": "#/components/schemas/BriefCircuitGroup" - }, - "priority": { - "type": "object", - "properties": { - "value": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "label": { - "type": "string", - "enum": [ - "Primary", - "Secondary", - "Tertiary", - "Inactive" - ] - } - } - } - }, - "required": [ - "display", - "group", - "id", - "url" - ] - }, - "BriefCircuitGroupAssignmentSerializer_Request": { - "type": "object", - "description": "Base serializer for group assignments under CircuitSerializer.", - "properties": { - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitGroupRequest" - } - ] - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - } - }, - "required": [ - "group" - ] - }, - "BriefCircuitGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "BriefCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "cid", - "provider" - ] - }, - "BriefCircuitType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefCircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefCluster": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "virtualmachine_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "url", - "virtualmachine_count" - ] - }, - "BriefClusterGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "cluster_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "cluster_count", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefClusterGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefClusterRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefClusterType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "cluster_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "cluster_count", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefClusterTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefConfigContextProfile": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefConfigContextProfileRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefConfigTemplate": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefConfigTemplateRequest": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefContact": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefContactRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefContactRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefContactRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefCustomFieldChoiceSet": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "choices_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "choices_count", - "display", - "id", - "name", - "url" - ] - }, - "BriefCustomFieldChoiceSetRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefDataFile": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "path": { - "type": "string", - "readOnly": true, - "description": "File path relative to the data source's root" - } - }, - "required": [ - "display", - "id", - "path", - "url" - ] - }, - "BriefDataSource": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefDataSourceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefDevice": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "url" - ] - }, - "BriefDeviceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "BriefDeviceRole": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "device_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "device_count", - "display", - "id", - "name", - "slug", - "url", - "virtualmachine_count" - ] - }, - "BriefDeviceRoleRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefDeviceType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "manufacturer": { - "$ref": "#/components/schemas/BriefManufacturer" - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "device_count", - "display", - "id", - "manufacturer", - "model", - "slug", - "url" - ] - }, - "BriefDeviceTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "manufacturer", - "model", - "slug" - ] - }, - "BriefFHRPGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "group_id", - "id", - "protocol", - "url" - ] - }, - "BriefFHRPGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "group_id", - "protocol" - ] - }, - "BriefIKEPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefIKEPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefIPAddress": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - } - }, - "readOnly": true - }, - "address": { - "type": "string" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "address", - "display", - "family", - "id", - "url" - ] - }, - "BriefIPAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "address": { - "type": "string", - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "address" - ] - }, - "BriefIPSecPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefIPSecPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefIPSecProfile": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefIPSecProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefInterface": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "device", - "display", - "id", - "name", - "url" - ] - }, - "BriefInterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "device", - "name" - ] - }, - "BriefInventoryItemRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "inventoryitem_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "inventoryitem_count", - "name", - "slug", - "url" - ] - }, - "BriefInventoryItemRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefJob": { - "type": "object", - "properties": { - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "pending", - "scheduled", - "running", - "completed", - "errored", - "failed" - ], - "type": "string", - "description": "* `pending` - Pending\n* `scheduled` - Scheduled\n* `running` - Running\n* `completed` - Completed\n* `errored` - Errored\n* `failed` - Failed", - "x-spec-enum-id": "e33887d83efcc138" - }, - "label": { - "type": "string", - "enum": [ - "Pending", - "Scheduled", - "Running", - "Completed", - "Errored", - "Failed" - ] - } - }, - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "completed": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "user": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefUser" - } - ], - "readOnly": true - } - }, - "required": [ - "created", - "status", - "url", - "user" - ] - }, - "BriefJobRequest": { - "type": "object", - "properties": { - "completed": { - "type": "string", - "format": "date-time", - "nullable": true - } - } - }, - "BriefL2VPN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "evpn-vpws", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree", - "spb" - ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `evpn-vpws` - EVPN VPWS\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree\n* `spb` - SPB", - "x-spec-enum-id": "730136816a2885f9" - }, - "label": { - "type": "string", - "enum": [ - "VPWS", - "VPLS", - "VXLAN", - "VXLAN-EVPN", - "MPLS EVPN", - "PBB EVPN", - "EVPN VPWS", - "EPL", - "EVPL", - "Ethernet Private LAN", - "Ethernet Virtual Private LAN", - "Ethernet Private Tree", - "Ethernet Virtual Private Tree", - "SPB" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefL2VPNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "type": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "evpn-vpws", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree", - "spb" - ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `evpn-vpws` - EVPN VPWS\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree\n* `spb` - SPB", - "x-spec-enum-id": "730136816a2885f9" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefL2VPNTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "l2vpn": { - "$ref": "#/components/schemas/BriefL2VPN" - } - }, - "required": [ - "display", - "id", - "l2vpn", - "url" - ] - }, - "BriefL2VPNTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "l2vpn": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefL2VPNRequest" - } - ] - } - }, - "required": [ - "l2vpn" - ] - }, - "BriefLocation": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "rack_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "id", - "name", - "rack_count", - "slug", - "url" - ] - }, - "BriefLocationRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefMACAddress": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "mac_address": { - "type": "string" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "mac_address", - "url" - ] - }, - "BriefMACAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "mac_address": { - "type": "string", - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "mac_address" - ] - }, - "BriefManufacturer": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "devicetype_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "devicetype_count", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefManufacturerRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefModule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module_bay": { - "$ref": "#/components/schemas/NestedModuleBay" - } - }, - "required": [ - "device", - "display", - "id", - "module_bay", - "url" - ] - }, - "BriefModuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module_bay": { - "$ref": "#/components/schemas/NestedModuleBayRequest" - } - }, - "required": [ - "device", - "module_bay" - ] - }, - "BriefModuleType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "profile": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeProfile" - } - ], - "nullable": true - }, - "manufacturer": { - "$ref": "#/components/schemas/BriefManufacturer" - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "manufacturer", - "model", - "url" - ] - }, - "BriefModuleTypeProfile": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefModuleTypeProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefModuleTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "manufacturer", - "model" - ] - }, - "BriefPlatform": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "device_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "device_count", - "display", - "id", - "name", - "slug", - "url", - "virtualmachine_count" - ] - }, - "BriefPlatformRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefPowerPanel": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "powerfeed_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "powerfeed_count", - "url" - ] - }, - "BriefPowerPanelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefPowerPort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "device", - "display", - "id", - "name", - "url" - ] - }, - "BriefPowerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "device", - "name" - ] - }, - "BriefPowerPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefPowerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefProvider": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefProviderAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "default": "", - "maxLength": 100 - }, - "account": { - "type": "string", - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account", - "display", - "id", - "url" - ] - }, - "BriefProviderAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "default": "", - "maxLength": 100 - }, - "account": { - "type": "string", - "minLength": 1, - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account" - ] - }, - "BriefProviderNetwork": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefProviderNetworkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefProviderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefRIR": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "aggregate_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "aggregate_count", - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefRIRRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefRack": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "device_count", - "display", - "id", - "name", - "url" - ] - }, - "BriefRackRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefRackRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "rack_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "rack_count", - "slug", - "url" - ] - }, - "BriefRackRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefRackType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "manufacturer": { - "$ref": "#/components/schemas/BriefManufacturer" - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "manufacturer", - "model", - "slug", - "url" - ] - }, - "BriefRackTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "manufacturer", - "model", - "slug" - ] - }, - "BriefRearPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefRearPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefRegion": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "site_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "id", - "name", - "site_count", - "slug", - "url" - ] - }, - "BriefRegionRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "vlan_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "prefix_count", - "slug", - "url", - "vlan_count" - ] - }, - "BriefRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefSite": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the site", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefSiteGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "site_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "id", - "name", - "site_count", - "slug", - "url" - ] - }, - "BriefSiteGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefSiteRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the site", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefTag": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "pattern": "^[-\\w]+$", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefTenant": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url" - ] - }, - "BriefTenantGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "id", - "name", - "slug", - "tenant_count", - "url" - ] - }, - "BriefTenantGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefTenantRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefTunnel": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefTunnelGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tunnel_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "tunnel_count", - "url" - ] - }, - "BriefTunnelGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefTunnelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefUser": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "username": { - "type": "string", - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - } - }, - "required": [ - "display", - "id", - "url", - "username" - ] - }, - "BriefUserRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "username": { - "type": "string", - "minLength": 1, - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - } - }, - "required": [ - "username" - ] - }, - "BriefVLAN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url", - "vid" - ] - }, - "BriefVLANGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "vlan_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url", - "vlan_count" - ] - }, - "BriefVLANGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefVLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "vid" - ] - }, - "BriefVLANTranslationPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefVLANTranslationPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefVRF": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "prefix_count", - "url" - ] - }, - "BriefVRFRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefVirtualChassis": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "master": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "member_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "member_count", - "name", - "url" - ] - }, - "BriefVirtualChassisRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "master": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefVirtualCircuit": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "cid": { - "type": "string", - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider_network": { - "$ref": "#/components/schemas/BriefProviderNetwork" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "cid", - "display", - "id", - "provider_network", - "url" - ] - }, - "BriefVirtualCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider_network": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderNetworkRequest" - } - ] - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "cid", - "provider_network" - ] - }, - "BriefVirtualCircuitType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "virtual_circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "slug", - "url", - "virtual_circuit_count" - ] - }, - "BriefVirtualCircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "BriefVirtualMachine": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefVirtualMachineRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "BriefWirelessLANGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "wirelesslan_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "id", - "name", - "slug", - "url", - "wirelesslan_count" - ] - }, - "BriefWirelessLANGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "slug" - ] - }, - "Cable": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb", - "", - null - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - }, - "a_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObject" - } - }, - "b_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObject" - } - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "label": { - "type": "string", - "enum": [ - "Connected", - "Planned", - "Decommissioning" - ] - } - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "label": { - "type": "string", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "length": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "length_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "km", - "m", - "cm", - "mi", - "ft", - "in", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches", - "x-spec-enum-id": "e64ce3a2c5997172" - }, - "label": { - "type": "string", - "enum": [ - "Kilometers", - "Meters", - "Centimeters", - "Miles", - "Feet", - "Inches" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "url" - ] - }, - "CableRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb", - "", - null - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - }, - "a_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } - }, - "b_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } - }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "label": { - "type": "string", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "length": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "length_unit": { - "enum": [ - "km", - "m", - "cm", - "mi", - "ft", - "in", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches", - "x-spec-enum-id": "e64ce3a2c5997172", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "CableTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "cable": { - "type": "integer" - }, - "cable_end": { - "enum": [ - "A", - "B" - ], - "type": "string", - "description": "* `A` - A\n* `B` - B", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "termination": { - "nullable": true, - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "cable", - "cable_end", - "created", - "display", - "id", - "last_updated", - "termination", - "termination_id", - "termination_type", - "url" - ] - }, - "CableTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cable": { - "type": "integer" - }, - "cable_end": { - "enum": [ - "A", - "B" - ], - "type": "string", - "description": "* `A` - A\n* `B` - B", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - }, - "required": [ - "cable", - "cable_end", - "termination_id", - "termination_type" - ] - }, - "Circuit": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "cid": { - "type": "string", - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "$ref": "#/components/schemas/BriefProvider" - }, - "provider_account": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccount" - } - ], - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/BriefCircuitType" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Provisioning", - "Active", - "Offline", - "Deprovisioning", - "Decommissioned" - ] - } - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "install_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Installed" - }, - "termination_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Terminates" - }, - "commit_rate": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Commit rate (Kbps)", - "description": "Committed rate" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af" - }, - "label": { - "type": "string", - "enum": [ - "Kilometers", - "Meters", - "Miles", - "Feet" - ] - } - }, - "nullable": true - }, - "termination_a": { - "allOf": [ - { - "$ref": "#/components/schemas/CircuitCircuitTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "termination_z": { - "allOf": [ - { - "$ref": "#/components/schemas/CircuitCircuitTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "assignments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefCircuitGroupAssignmentSerializer_" - } - } - }, - "required": [ - "cid", - "created", - "display", - "display_url", - "id", - "last_updated", - "provider", - "termination_a", - "termination_z", - "type", - "url" - ] - }, - "CircuitCircuitTermination": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "termination_type": { - "type": "string", - "nullable": true - }, - "termination_id": { - "type": "integer", - "nullable": true - }, - "termination": { - "nullable": true, - "readOnly": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "display_url", - "id", - "termination", - "url" - ] - }, - "CircuitCircuitTerminationRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "termination_type": { - "type": "string", - "nullable": true - }, - "termination_id": { - "type": "integer", - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "CircuitGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "CircuitGroupAssignment": { - "type": "object", - "description": "Base serializer for group assignments under CircuitSerializer.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "group": { - "$ref": "#/components/schemas/BriefCircuitGroup" - }, - "member_type": { - "type": "string" - }, - "member_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "member": { - "nullable": true, - "readOnly": true - }, - "priority": { - "type": "object", - "properties": { - "value": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "label": { - "type": "string", - "enum": [ - "Primary", - "Secondary", - "Tertiary", - "Inactive" - ] - } - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "group", - "id", - "last_updated", - "member", - "member_id", - "member_type", - "url" - ] - }, - "CircuitGroupAssignmentRequest": { - "type": "object", - "description": "Base serializer for group assignments under CircuitSerializer.", - "properties": { - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitGroupRequest" - } - ] - }, - "member_type": { - "type": "string" - }, - "member_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "group", - "member_id", - "member_type" - ] - }, - "CircuitGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "CircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "provider_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitTypeRequest" - } - ] - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "install_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Installed" - }, - "termination_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Terminates" - }, - "commit_rate": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Commit rate (Kbps)", - "description": "Committed rate" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "assignments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefCircuitGroupAssignmentSerializer_Request" - } - } - }, - "required": [ - "cid", - "provider", - "type" - ] - }, - "CircuitTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "circuit": { - "$ref": "#/components/schemas/BriefCircuit" - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination side" - }, - "termination_type": { - "type": "string", - "nullable": true - }, - "termination_id": { - "type": "integer", - "nullable": true - }, - "termination": { - "nullable": true, - "readOnly": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "circuit", - "created", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "term_side", - "termination", - "url" - ] - }, - "CircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "circuit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitRequest" - } - ] - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination side" - }, - "termination_type": { - "type": "string", - "nullable": true - }, - "termination_id": { - "type": "integer", - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "circuit", - "term_side" - ] - }, - "CircuitType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "CircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "Cluster": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "type": { - "$ref": "#/components/schemas/BriefClusterType" - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterGroup" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "offline" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `offline` - Offline", - "x-spec-enum-id": "79d20a734d0eecbb" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Staging", - "Active", - "Decommissioning", - "Offline" - ] - } - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "scope": { - "nullable": true, - "readOnly": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "virtualmachine_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "allocated_vcpus": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "readOnly": true - }, - "allocated_memory": { - "type": "integer", - "readOnly": true - }, - "allocated_disk": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "allocated_disk", - "allocated_memory", - "allocated_vcpus", - "created", - "device_count", - "display", - "display_url", - "id", - "last_updated", - "name", - "scope", - "type", - "url", - "virtualmachine_count" - ] - }, - "ClusterGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "cluster_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "cluster_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ClusterGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "ClusterRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefClusterTypeRequest" - } - ] - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "offline" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `offline` - Offline", - "x-spec-enum-id": "79d20a734d0eecbb" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "type" - ] - }, - "ClusterType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "cluster_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "cluster_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ClusterTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "ConfigContext": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "profile": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigContextProfile" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "is_active": { - "type": "boolean" - }, - "regions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Region" - } - }, - "site_groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroup" - } - }, - "sites": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Site" - } - }, - "locations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Location" - } - }, - "device_types": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceType" - } - }, - "roles": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRole" - } - }, - "platforms": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Platform" - } - }, - "cluster_types": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterType" - } - }, - "cluster_groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroup" - } - }, - "clusters": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cluster" - } - }, - "tenant_groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroup" - } - }, - "tenants": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tenant" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "data_source": { - "$ref": "#/components/schemas/BriefDataSource" - }, - "data_path": { - "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" - }, - "data_file": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDataFile" - } - ], - "readOnly": true - }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" - }, - "data": {}, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "data", - "data_file", - "data_path", - "data_synced", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "ConfigContextProfile": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "schema": { - "nullable": true, - "description": "A JSON schema specifying the structure of the context data for this profile" - }, - "tags": { - "type": "array", - "items": { - "type": "string" - } - }, - "comments": { - "type": "string" - }, - "data_source": { - "$ref": "#/components/schemas/BriefDataSource" - }, - "data_path": { - "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" - }, - "data_file": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDataFile" - } - ], - "readOnly": true - }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "data_file", - "data_path", - "data_synced", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "ConfigContextProfileRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "schema": { - "nullable": true, - "description": "A JSON schema specifying the structure of the context data for this profile" - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - } - }, - "comments": { - "type": "string" - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - } - }, - "required": [ - "name" - ] - }, - "ConfigContextRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigContextProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "is_active": { - "type": "boolean" - }, - "regions": { - "type": "array", - "items": { - "type": "integer" - } - }, - "site_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sites": { - "type": "array", - "items": { - "type": "integer" - } - }, - "locations": { - "type": "array", - "items": { - "type": "integer" - } - }, - "device_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "roles": { - "type": "array", - "items": { - "type": "integer" - } - }, - "platforms": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "clusters": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenant_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - } - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - }, - "data": {} - }, - "required": [ - "data", - "name" - ] - }, - "ConfigTemplate": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja environment" - }, - "template_code": { - "type": "string", - "description": "Jinja template code." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_name": { - "type": "string", - "description": "Filename to give to the rendered export file", - "maxLength": 200 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "$ref": "#/components/schemas/BriefDataSource" - }, - "data_path": { - "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" - }, - "data_file": { - "$ref": "#/components/schemas/BriefDataFile" - }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "data_path", - "data_synced", - "display", - "display_url", - "id", - "last_updated", - "name", - "template_code", - "url" - ] - }, - "ConfigTemplateRequest": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja environment" - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja template code." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_name": { - "type": "string", - "description": "Filename to give to the rendered export file", - "maxLength": 200 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "name", - "template_code" - ] - }, - "ConsolePort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { - "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "speed": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378" - }, - "label": { - "type": "string", - "enum": [ - "1200 bps", - "2400 bps", - "4800 bps", - "9600 bps", - "19.2 kbps", - "38.4 kbps", - "57.6 kbps", - "115.2 kbps" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "nullable": true, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "url" - ] - }, - "ConsolePortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "ConsolePortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { - "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "ConsolePortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "ConsoleServerPort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { - "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "speed": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378" - }, - "label": { - "type": "string", - "enum": [ - "1200 bps", - "2400 bps", - "4800 bps", - "9600 bps", - "19.2 kbps", - "38.4 kbps", - "57.6 kbps", - "115.2 kbps" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "nullable": true, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "url" - ] - }, - "ConsoleServerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "description": "* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "ConsoleServerPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "label": { - "type": "string", - "enum": [ - "DE-9", - "DB-25", - "RJ-11", - "RJ-12", - "RJ-45", - "Mini-DIN 8", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "ConsoleServerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "" - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "Contact": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroup" - } - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "ContactAssignment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "type": "object", - "additionalProperties": {}, - "readOnly": true - }, - "contact": { - "$ref": "#/components/schemas/BriefContact" - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefContactRole" - } - ], - "nullable": true - }, - "priority": { - "type": "object", - "properties": { - "value": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "label": { - "type": "string", - "enum": [ - "Primary", - "Secondary", - "Tertiary", - "Inactive" - ] - } - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "contact", - "created", - "display", - "id", - "last_updated", - "object", - "object_id", - "object_type", - "url" - ] - }, - "ContactAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "contact": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefContactRequest" - } - ] - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefContactRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "" - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "contact", - "object_id", - "object_type" - ] - }, - "ContactGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedContactGroup" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "contact_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "contact_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ContactGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedContactGroupRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "ContactRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "ContactRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ContactRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "CustomField": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "text", - "longtext", - "integer", - "decimal", - "boolean", - "date", - "datetime", - "url", - "json", - "select", - "multiselect", - "object", - "multiobject" - ], - "type": "string", - "description": "* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects", - "x-spec-enum-id": "22e3a64138d10046" - }, - "label": { - "type": "string", - "enum": [ - "Text", - "Text (long)", - "Integer", - "Decimal", - "Boolean (true/false)", - "Date", - "Date & time", - "URL", - "JSON", - "Selection", - "Multiple selection", - "Object", - "Multiple objects" - ] - } - } - }, - "related_object_type": { - "type": "string", - "nullable": true - }, - "data_type": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Internal field name", - "pattern": "^[a-z0-9_]+$", - "maxLength": 50 - }, - "label": { - "type": "string", - "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", - "maxLength": 50 - }, - "group_name": { - "type": "string", - "description": "Custom fields within the same group will be displayed together", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "required": { - "type": "boolean", - "description": "This field is required when creating new objects or editing an existing object." - }, - "unique": { - "type": "boolean", - "title": "Must be unique", - "description": "The value of this field must be unique for the assigned object" - }, - "search_weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." - }, - "filter_logic": { - "type": "object", - "properties": { - "value": { - "enum": [ - "disabled", - "loose", - "exact" - ], - "type": "string", - "description": "* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact", - "x-spec-enum-id": "a958350ae21c10ee" - }, - "label": { - "type": "string", - "enum": [ - "Disabled", - "Loose", - "Exact" - ] - } - } - }, - "ui_visible": { - "type": "object", - "properties": { - "value": { - "enum": [ - "always", - "if-set", - "hidden" - ], - "type": "string", - "description": "* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden", - "x-spec-enum-id": "cd2cf94af56de747" - }, - "label": { - "type": "string", - "enum": [ - "Always", - "If set", - "Hidden" - ] - } - } - }, - "ui_editable": { - "type": "object", - "properties": { - "value": { - "enum": [ - "yes", - "no", - "hidden" - ], - "type": "string", - "description": "* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden", - "x-spec-enum-id": "1065673147e26bb5" - }, - "label": { - "type": "string", - "enum": [ - "Yes", - "No", - "Hidden" - ] - } - } - }, - "is_cloneable": { - "type": "boolean", - "description": "Replicate this value when cloning objects" - }, - "default": { - "nullable": true, - "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "related_object_filter": { - "nullable": true, - "description": "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "title": "Display weight", - "description": "Fields with higher weights appear lower in a form." - }, - "validation_minimum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Minimum value", - "description": "Minimum allowed value (for numeric fields)" - }, - "validation_maximum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Maximum value", - "description": "Maximum allowed value (for numeric fields)" - }, - "validation_regex": { - "type": "string", - "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", - "maxLength": 500 - }, - "choice_set": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCustomFieldChoiceSet" - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "data_type", - "display", - "display_url", - "id", - "last_updated", - "name", - "object_types", - "type", - "url" - ] - }, - "CustomFieldChoiceSet": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "base_choices": { - "type": "object", - "properties": { - "value": { - "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE" - ], - "type": "string", - "description": "* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)", - "x-spec-enum-id": "cf0efb5195f85007" - }, - "label": { - "type": "string", - "enum": [ - "IATA (Airport codes)", - "ISO 3166 (Country codes)", - "UN/LOCODE (Location codes)" - ] - } - } - }, - "extra_choices": { - "type": "array", - "items": { - "type": "array", - "items": {}, - "maxItems": 2, - "minItems": 2 - } - }, - "order_alphabetically": { - "type": "boolean", - "description": "Choices are automatically ordered alphabetically" - }, - "choices_count": { - "type": "integer", - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "choices_count", - "created", - "display", - "display_url", - "extra_choices", - "id", - "last_updated", - "name", - "url" - ] - }, - "CustomFieldChoiceSetRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "base_choices": { - "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE" - ], - "type": "string", - "description": "* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)", - "x-spec-enum-id": "cf0efb5195f85007" - }, - "extra_choices": { - "type": "array", - "items": { - "type": "array", - "items": {}, - "maxItems": 2, - "minItems": 2 - } - }, - "order_alphabetically": { - "type": "boolean", - "description": "Choices are automatically ordered alphabetically" - } - }, - "required": [ - "extra_choices", - "name" - ] - }, - "CustomFieldRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "enum": [ - "text", - "longtext", - "integer", - "decimal", - "boolean", - "date", - "datetime", - "url", - "json", - "select", - "multiselect", - "object", - "multiobject" - ], - "type": "string", - "description": "* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects", - "x-spec-enum-id": "22e3a64138d10046" - }, - "related_object_type": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "Internal field name", - "pattern": "^[a-z0-9_]+$", - "maxLength": 50 - }, - "label": { - "type": "string", - "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", - "maxLength": 50 - }, - "group_name": { - "type": "string", - "description": "Custom fields within the same group will be displayed together", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "required": { - "type": "boolean", - "description": "This field is required when creating new objects or editing an existing object." - }, - "unique": { - "type": "boolean", - "title": "Must be unique", - "description": "The value of this field must be unique for the assigned object" - }, - "search_weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." - }, - "filter_logic": { - "enum": [ - "disabled", - "loose", - "exact" - ], - "type": "string", - "description": "* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact", - "x-spec-enum-id": "a958350ae21c10ee" - }, - "ui_visible": { - "enum": [ - "always", - "if-set", - "hidden" - ], - "type": "string", - "description": "* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden", - "x-spec-enum-id": "cd2cf94af56de747" - }, - "ui_editable": { - "enum": [ - "yes", - "no", - "hidden" - ], - "type": "string", - "description": "* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden", - "x-spec-enum-id": "1065673147e26bb5" - }, - "is_cloneable": { - "type": "boolean", - "description": "Replicate this value when cloning objects" - }, - "default": { - "nullable": true, - "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "related_object_filter": { - "nullable": true, - "description": "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "title": "Display weight", - "description": "Fields with higher weights appear lower in a form." - }, - "validation_minimum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Minimum value", - "description": "Minimum allowed value (for numeric fields)" - }, - "validation_maximum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Maximum value", - "description": "Maximum allowed value (for numeric fields)" - }, - "validation_regex": { - "type": "string", - "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", - "maxLength": 500 - }, - "choice_set": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCustomFieldChoiceSetRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "object_types", - "type" - ] - }, - "CustomLink": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "enabled": { - "type": "boolean" - }, - "link_text": { - "type": "string", - "description": "Jinja2 template code for link text" - }, - "link_url": { - "type": "string", - "description": "Jinja2 template code for link URL" - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "group_name": { - "type": "string", - "description": "Links with the same group will appear as a dropdown menu", - "maxLength": 50 - }, - "button_class": { - "enum": [ - "default", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - "gray", - "black", - "white", - "ghost-dark" - ], - "type": "string", - "x-spec-enum-id": "ee8e5bb1ccdcdb19", - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `default` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" - }, - "new_window": { - "type": "boolean", - "description": "Force link to open in a new window" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "link_text", - "link_url", - "name", - "object_types", - "url" - ] - }, - "CustomLinkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "enabled": { - "type": "boolean" - }, - "link_text": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link text" - }, - "link_url": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link URL" - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "group_name": { - "type": "string", - "description": "Links with the same group will appear as a dropdown menu", - "maxLength": 50 - }, - "button_class": { - "enum": [ - "default", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - "gray", - "black", - "white", - "ghost-dark" - ], - "type": "string", - "x-spec-enum-id": "ee8e5bb1ccdcdb19", - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `default` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" - }, - "new_window": { - "type": "boolean", - "description": "Force link to open in a new window" - } - }, - "required": [ - "link_text", - "link_url", - "name", - "object_types" - ] - }, - "Dashboard": { - "type": "object", - "properties": { - "layout": {}, - "config": {} - } - }, - "DashboardRequest": { - "type": "object", - "properties": { - "layout": {}, - "config": {} - } - }, - "DataFile": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "source": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDataSource" - } - ], - "readOnly": true - }, - "path": { - "type": "string", - "readOnly": true, - "description": "File path relative to the data source's root" - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "size": { - "type": "integer", - "readOnly": true - }, - "hash": { - "type": "string", - "readOnly": true, - "description": "SHA256 hash of the file data" - } - }, - "required": [ - "display", - "display_url", - "hash", - "id", - "last_updated", - "path", - "size", - "source", - "url" - ] - }, - "DataSource": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - null, - "local", - "git", - "amazon-s3" - ], - "description": "* `None` - ---------\n* `local` - Local\n* `git` - Git\n* `amazon-s3` - Amazon S3", - "x-spec-enum-id": "570db3f2d4e98ccf" - }, - "label": { - "type": "string", - "enum": [ - "---------", - "Local", - "Git", - "Amazon S3" - ] - } - } - }, - "source_url": { - "type": "string", - "title": "URL", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "new", - "queued", - "syncing", - "completed", - "failed" - ], - "type": "string", - "description": "* `new` - New\n* `queued` - Queued\n* `syncing` - Syncing\n* `completed` - Completed\n* `failed` - Failed", - "x-spec-enum-id": "6dfb2220617590c8" - }, - "label": { - "type": "string", - "enum": [ - "New", - "Queued", - "Syncing", - "Completed", - "Failed" - ] - } - }, - "readOnly": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "sync_interval": { - "enum": [ - 1, - 60, - 720, - 1440, - 10080, - 43200, - null - ], - "type": "integer", - "description": "* `1` - Minutely\n* `60` - Hourly\n* `720` - 12 hours\n* `1440` - Daily\n* `10080` - Weekly\n* `43200` - 30 days", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true, - "minimum": 0, - "maximum": 32767 - }, - "parameters": { - "nullable": true - }, - "ignore_rules": { - "type": "string", - "description": "Patterns (one per line) matching files to ignore when syncing" - }, - "comments": { - "type": "string" - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "file_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "file_count", - "id", - "last_synced", - "last_updated", - "name", - "source_url", - "status", - "type", - "url" - ] - }, - "DataSourceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "enum": [ - null, - "local", - "git", - "amazon-s3" - ], - "description": "* `None` - ---------\n* `local` - Local\n* `git` - Git\n* `amazon-s3` - Amazon S3", - "x-spec-enum-id": "570db3f2d4e98ccf" - }, - "source_url": { - "type": "string", - "minLength": 1, - "title": "URL", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "sync_interval": { - "enum": [ - 1, - 60, - 720, - 1440, - 10080, - 43200, - null - ], - "type": "integer", - "description": "* `1` - Minutely\n* `60` - Hourly\n* `720` - 12 hours\n* `1440` - Daily\n* `10080` - Weekly\n* `43200` - 30 days", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true, - "minimum": 0, - "maximum": 32767 - }, - "parameters": { - "nullable": true - }, - "ignore_rules": { - "type": "string", - "description": "Patterns (one per line) matching files to ignore when syncing" - }, - "comments": { - "type": "string" - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "source_url", - "type" - ] - }, - "Device": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "$ref": "#/components/schemas/BriefDeviceType" - }, - "role": { - "$ref": "#/components/schemas/BriefDeviceRole" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "platform": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatform" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "rack": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRack" - } - ], - "nullable": true - }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front", - "rear", - "" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "label": { - "type": "string", - "enum": [ - "Front", - "Rear" - ] - } - } - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "parent_device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "nullable": true, - "readOnly": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Inventory", - "Decommissioning" - ] - } - } - }, - "airflow": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "" - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Rear to side", - "Bottom to top", - "Top to bottom", - "Passive", - "Mixed" - ] - } - } - }, - "primary_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "readOnly": true, - "nullable": true - }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "oob_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "cluster": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCluster" - } - ], - "nullable": true - }, - "virtual_chassis": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVirtualChassis" - } - ], - "nullable": true - }, - "vc_position": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true - }, - "vc_priority": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplate" - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "console_port_count": { - "type": "integer", - "readOnly": true - }, - "console_server_port_count": { - "type": "integer", - "readOnly": true - }, - "power_port_count": { - "type": "integer", - "readOnly": true - }, - "power_outlet_count": { - "type": "integer", - "readOnly": true - }, - "interface_count": { - "type": "integer", - "readOnly": true - }, - "front_port_count": { - "type": "integer", - "readOnly": true - }, - "rear_port_count": { - "type": "integer", - "readOnly": true - }, - "device_bay_count": { - "type": "integer", - "readOnly": true - }, - "module_bay_count": { - "type": "integer", - "readOnly": true - }, - "inventory_item_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "console_port_count", - "console_server_port_count", - "created", - "device_bay_count", - "device_type", - "display", - "display_url", - "front_port_count", - "id", - "interface_count", - "inventory_item_count", - "last_updated", - "module_bay_count", - "parent_device", - "power_outlet_count", - "power_port_count", - "primary_ip", - "rear_port_count", - "role", - "site", - "url" - ] - }, - "DeviceBay": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "installed_device": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDevice" - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "DeviceBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "installed_device": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "DeviceBayTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "$ref": "#/components/schemas/BriefDeviceType" - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "device_type", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "DeviceBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "device_type", - "name" - ] - }, - "DeviceRole": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplate" - } - ], - "nullable": true - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRole" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "device_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "device_count", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url", - "virtualmachine_count" - ] - }, - "DeviceRoleRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRoleRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "DeviceType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "manufacturer": { - "$ref": "#/components/schemas/BriefManufacturer" - }, - "default_platform": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatform" - } - ], - "nullable": true - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "u_height": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.0, - "exclusiveMaximum": true, - "default": 1.0, - "title": "Position (U)" - }, - "exclude_from_utilization": { - "type": "boolean", - "description": "Devices of this type are excluded when calculating rack utilization." - }, - "is_full_depth": { - "type": "boolean", - "description": "Device consumes both front and rear rack faces." - }, - "subdevice_role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "parent", - "child", - "", - null - ], - "type": "string", - "description": "* `parent` - Parent\n* `child` - Child", - "x-spec-enum-id": "d10d91f690a856c2" - }, - "label": { - "type": "string", - "enum": [ - "Parent", - "Child" - ] - } - }, - "nullable": true - }, - "airflow": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Rear to side", - "Bottom to top", - "Top to bottom", - "Passive", - "Mixed" - ] - } - }, - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" - }, - "label": { - "type": "string", - "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" - ] - } - }, - "nullable": true - }, - "front_image": { - "type": "string", - "format": "uri", - "nullable": true - }, - "rear_image": { - "type": "string", - "format": "uri", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "console_port_template_count": { - "type": "integer", - "readOnly": true - }, - "console_server_port_template_count": { - "type": "integer", - "readOnly": true - }, - "power_port_template_count": { - "type": "integer", - "readOnly": true - }, - "power_outlet_template_count": { - "type": "integer", - "readOnly": true - }, - "interface_template_count": { - "type": "integer", - "readOnly": true - }, - "front_port_template_count": { - "type": "integer", - "readOnly": true - }, - "rear_port_template_count": { - "type": "integer", - "readOnly": true - }, - "device_bay_template_count": { - "type": "integer", - "readOnly": true - }, - "module_bay_template_count": { - "type": "integer", - "readOnly": true - }, - "inventory_item_template_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "console_port_template_count", - "console_server_port_template_count", - "created", - "device_bay_template_count", - "device_count", - "display", - "display_url", - "front_port_template_count", - "id", - "interface_template_count", - "inventory_item_template_count", - "last_updated", - "manufacturer", - "model", - "module_bay_template_count", - "power_outlet_template_count", - "power_port_template_count", - "rear_port_template_count", - "slug", - "url" - ] - }, - "DeviceTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "default_platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "u_height": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.0, - "exclusiveMaximum": true, - "default": 1.0, - "title": "Position (U)" - }, - "exclude_from_utilization": { - "type": "boolean", - "description": "Devices of this type are excluded when calculating rack utilization." - }, - "is_full_depth": { - "type": "boolean", - "description": "Device consumes both front and rear rack faces." - }, - "subdevice_role": { - "enum": [ - "parent", - "child", - "", - null - ], - "type": "string", - "description": "* `parent` - Parent\n* `child` - Child", - "x-spec-enum-id": "d10d91f690a856c2", - "nullable": true - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "front_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "rear_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "manufacturer", - "model", - "slug" - ] - }, - "DeviceWithConfigContext": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "$ref": "#/components/schemas/BriefDeviceType" - }, - "role": { - "$ref": "#/components/schemas/BriefDeviceRole" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "platform": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatform" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "rack": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRack" - } - ], - "nullable": true - }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front", - "rear", - "" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "label": { - "type": "string", - "enum": [ - "Front", - "Rear" - ] - } - } - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "parent_device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "nullable": true, - "readOnly": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Inventory", - "Decommissioning" - ] - } - } - }, - "airflow": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "" - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Rear to side", - "Bottom to top", - "Top to bottom", - "Passive", - "Mixed" - ] - } - } - }, - "primary_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "readOnly": true, - "nullable": true - }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "oob_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "cluster": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCluster" - } - ], - "nullable": true - }, - "virtual_chassis": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVirtualChassis" - } - ], - "nullable": true - }, - "vc_position": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true - }, - "vc_priority": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplate" - } - ], - "nullable": true - }, - "config_context": { - "nullable": true, - "readOnly": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "console_port_count": { - "type": "integer", - "readOnly": true - }, - "console_server_port_count": { - "type": "integer", - "readOnly": true - }, - "power_port_count": { - "type": "integer", - "readOnly": true - }, - "power_outlet_count": { - "type": "integer", - "readOnly": true - }, - "interface_count": { - "type": "integer", - "readOnly": true - }, - "front_port_count": { - "type": "integer", - "readOnly": true - }, - "rear_port_count": { - "type": "integer", - "readOnly": true - }, - "device_bay_count": { - "type": "integer", - "readOnly": true - }, - "module_bay_count": { - "type": "integer", - "readOnly": true - }, - "inventory_item_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "config_context", - "console_port_count", - "console_server_port_count", - "created", - "device_bay_count", - "device_type", - "display", - "display_url", - "front_port_count", - "id", - "interface_count", - "inventory_item_count", - "last_updated", - "module_bay_count", - "parent_device", - "power_outlet_count", - "power_port_count", - "primary_ip", - "rear_port_count", - "role", - "site", - "url" - ] - }, - "DeviceWithConfigContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRoleRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "enum": [ - "front", - "rear", - "" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "" - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782" - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "oob_ip": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "cluster": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "virtual_chassis": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVirtualChassisRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vc_position": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true - }, - "vc_priority": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device_type", - "role", - "site" - ] - }, - "EventRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "maxLength": 150 - }, - "enabled": { - "type": "boolean" - }, - "event_types": { - "type": "array", - "items": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424" - }, - "description": "The types of event which will trigger this rule." - }, - "conditions": { - "nullable": true, - "description": "A set of conditions which determine whether the event will be generated." - }, - "action_type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "webhook", - "script", - "notification" - ], - "type": "string", - "description": "* `webhook` - Webhook\n* `script` - Script\n* `notification` - Notification", - "x-spec-enum-id": "d07193c73ebc03c6" - }, - "label": { - "type": "string", - "enum": [ - "Webhook", - "Script", - "Notification" - ] - } - } - }, - "action_object_type": { - "type": "string" - }, - "action_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "action_object": { - "type": "object", - "additionalProperties": {}, - "readOnly": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "action_object", - "action_object_type", - "action_type", - "created", - "display", - "display_url", - "event_types", - "id", - "last_updated", - "name", - "object_types", - "url" - ] - }, - "EventRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "enabled": { - "type": "boolean" - }, - "event_types": { - "type": "array", - "items": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424" - }, - "description": "The types of event which will trigger this rule." - }, - "conditions": { - "nullable": true, - "description": "A set of conditions which determine whether the event will be generated." - }, - "action_type": { - "enum": [ - "webhook", - "script", - "notification" - ], - "type": "string", - "description": "* `webhook` - Webhook\n* `script` - Script\n* `notification` - Notification", - "x-spec-enum-id": "d07193c73ebc03c6" - }, - "action_object_type": { - "type": "string" - }, - "action_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "action_object_type", - "action_type", - "event_types", - "name", - "object_types" - ] - }, - "ExportTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja environment" - }, - "template_code": { - "type": "string", - "description": "Jinja template code." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_name": { - "type": "string", - "description": "Filename to give to the rendered export file", - "maxLength": 200 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "$ref": "#/components/schemas/BriefDataSource" - }, - "data_path": { - "type": "string", - "readOnly": true, - "description": "Path to remote file (relative to data source root)" - }, - "data_file": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDataFile" - } - ], - "readOnly": true - }, - "data_synced": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true, - "title": "Date synced" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "data_file", - "data_path", - "data_synced", - "display", - "display_url", - "id", - "last_updated", - "name", - "object_types", - "template_code", - "url" - ] - }, - "ExportTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja environment" - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja template code." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_name": { - "type": "string", - "description": "Filename to give to the rendered export file", - "maxLength": 200 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - } - }, - "required": [ - "name", - "object_types", - "template_code" - ] - }, - "FHRPGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "auth_type": { - "enum": [ - "plaintext", - "md5", - "", - null - ], - "type": "string", - "description": "* `plaintext` - Plaintext\n* `md5` - MD5", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - }, - "auth_key": { - "type": "string", - "title": "Authentication key", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "ip_addresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefIPAddress" - }, - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "group_id", - "id", - "ip_addresses", - "last_updated", - "protocol", - "url" - ] - }, - "FHRPGroupAssignment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "group": { - "$ref": "#/components/schemas/BriefFHRPGroup" - }, - "interface_type": { - "type": "string" - }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "interface": { - "nullable": true, - "readOnly": true - }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "group", - "id", - "interface", - "interface_id", - "interface_type", - "last_updated", - "priority", - "url" - ] - }, - "FHRPGroupAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefFHRPGroupRequest" - } - ] - }, - "interface_type": { - "type": "string" - }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 - } - }, - "required": [ - "group", - "interface_id", - "interface_type", - "priority" - ] - }, - "FHRPGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "maxLength": 100 - }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "auth_type": { - "enum": [ - "plaintext", - "md5", - "", - null - ], - "type": "string", - "description": "* `plaintext` - Plaintext\n* `md5` - MD5", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - }, - "auth_key": { - "type": "string", - "title": "Authentication key", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "group_id", - "protocol" - ] - }, - "FrontPort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "label": { - "type": "string", - "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "FC/PC", - "FC/UPC", - "FC/APC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "$ref": "#/components/schemas/FrontPortRearPort" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Mapped position on corresponding rear port" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "rear_port", - "type", - "url" - ] - }, - "FrontPortRearPort": { - "type": "object", - "description": "NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "FrontPortRearPortRequest": { - "type": "object", - "description": "NestedRearPortSerializer but with parent device omitted (since front and rear ports must belong to same device)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "FrontPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "$ref": "#/components/schemas/FrontPortRearPortRequest" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Mapped position on corresponding rear port" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "rear_port", - "type" - ] - }, - "FrontPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "label": { - "type": "string", - "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "FC/PC", - "FC/UPC", - "FC/APC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "$ref": "#/components/schemas/BriefRearPortTemplate" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "rear_port", - "type", - "url" - ] - }, - "FrontPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRearPortTemplateRequest" - } - ] - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "rear_port", - "type" - ] - }, - "GenericObject": { - "type": "object", - "description": "Minimal representation of some generic object identified by ContentType and PK.", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer" - }, - "object": { - "nullable": true, - "readOnly": true - } - }, - "required": [ - "object", - "object_id", - "object_type" - ] - }, - "GenericObjectRequest": { - "type": "object", - "description": "Minimal representation of some generic object identified by ContentType and PK.", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer" - } - }, - "required": [ - "object_id", - "object_type" - ] - }, - "Group": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 150 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "permissions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermission" - } - }, - "user_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url", - "user_count" - ] - }, - "GroupRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "permissions": { - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "name" - ] - }, - "IKEPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "version": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1, - 2 - ], - "type": "integer", - "description": "* `1` - IKEv1\n* `2` - IKEv2", - "x-spec-enum-id": "00872b77916a1fde" - }, - "label": { - "type": "string", - "enum": [ - "IKEv1", - "IKEv2" - ] - } - } - }, - "mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "aggressive", - "main" - ], - "type": "string", - "description": "* `aggressive` - Aggressive\n* `main` - Main", - "x-spec-enum-id": "64c1be7bdb2548ca" - }, - "label": { - "type": "string", - "enum": [ - "Aggressive", - "Main" - ] - } - } - }, - "proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposal" - } - }, - "preshared_key": { - "type": "string", - "title": "Pre-shared key" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "url", - "version" - ] - }, - "IKEPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "version": { - "enum": [ - 1, - 2 - ], - "type": "integer", - "description": "* `1` - IKEv1\n* `2` - IKEv2", - "x-spec-enum-id": "00872b77916a1fde" - }, - "mode": { - "enum": [ - "aggressive", - "main" - ], - "type": "string", - "description": "* `aggressive` - Aggressive\n* `main` - Main", - "x-spec-enum-id": "64c1be7bdb2548ca" - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "preshared_key": { - "type": "string", - "title": "Pre-shared key" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "version" - ] - }, - "IKEProposal": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "authentication_method": { - "type": "object", - "properties": { - "value": { - "enum": [ - "preshared-keys", - "certificates", - "rsa-signatures", - "dsa-signatures" - ], - "type": "string", - "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", - "x-spec-enum-id": "92bb2f1103b3a262" - }, - "label": { - "type": "string", - "enum": [ - "Pre-shared keys", - "Certificates", - "RSA signatures", - "DSA signatures" - ] - } - } - }, - "encryption_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "label": { - "type": "string", - "enum": [ - "128-bit AES (CBC)", - "128-bit AES (GCM)", - "192-bit AES (CBC)", - "192-bit AES (GCM)", - "256-bit AES (CBC)", - "256-bit AES (GCM)", - "3DES", - "DES" - ] - } - } - }, - "authentication_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" - }, - "label": { - "type": "string", - "enum": [ - "SHA-1 HMAC", - "SHA-256 HMAC", - "SHA-384 HMAC", - "SHA-512 HMAC", - "MD5 HMAC" - ] - } - } - }, - "group": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "label": { - "type": "string", - "enum": [ - "Group 1", - "Group 2", - "Group 5", - "Group 14", - "Group 15", - "Group 16", - "Group 17", - "Group 18", - "Group 19", - "Group 20", - "Group 21", - "Group 22", - "Group 23", - "Group 24", - "Group 25", - "Group 26", - "Group 27", - "Group 28", - "Group 29", - "Group 30", - "Group 31", - "Group 32", - "Group 33", - "Group 34" - ] - } - } - }, - "sa_lifetime": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Security association lifetime (in seconds)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "authentication_method", - "created", - "display", - "display_url", - "encryption_algorithm", - "group", - "id", - "last_updated", - "name", - "url" - ] - }, - "IKEProposalRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "authentication_method": { - "enum": [ - "preshared-keys", - "certificates", - "rsa-signatures", - "dsa-signatures" - ], - "type": "string", - "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", - "x-spec-enum-id": "92bb2f1103b3a262" - }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" - }, - "group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "sa_lifetime": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Security association lifetime (in seconds)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "authentication_method", - "encryption_algorithm", - "group", - "name" - ] - }, - "IPAddress": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - } - }, - "readOnly": true - }, - "address": { - "type": "string" - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "deprecated", - "dhcp", - "slaac" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated\n* `dhcp` - DHCP\n* `slaac` - SLAAC", - "x-spec-enum-id": "24935cfee15bd268" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Reserved", - "Deprecated", - "DHCP", - "SLAAC" - ] - } - } - }, - "role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "loopback", - "secondary", - "anycast", - "vip", - "vrrp", - "hsrp", - "glbp", - "carp", - "" - ], - "type": "string", - "description": "* `loopback` - Loopback\n* `secondary` - Secondary\n* `anycast` - Anycast\n* `vip` - VIP\n* `vrrp` - VRRP\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `carp` - CARP", - "x-spec-enum-id": "10fbcb4930889b0f" - }, - "label": { - "type": "string", - "enum": [ - "Loopback", - "Secondary", - "Anycast", - "VIP", - "VRRP", - "HSRP", - "GLBP", - "CARP" - ] - } - } - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "assigned_object": { - "nullable": true, - "readOnly": true - }, - "nat_inside": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddress" - } - ], - "nullable": true - }, - "nat_outside": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedIPAddress" - }, - "readOnly": true - }, - "dns_name": { - "type": "string", - "description": "Hostname or FQDN (not case-sensitive)", - "pattern": "^([0-9A-Za-z_-]+|\\*)(\\.[0-9A-Za-z_-]+)*\\.?$", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "address", - "assigned_object", - "created", - "display", - "display_url", - "family", - "id", - "last_updated", - "nat_outside", - "url" - ] - }, - "IPAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated", - "dhcp", - "slaac" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated\n* `dhcp` - DHCP\n* `slaac` - SLAAC", - "x-spec-enum-id": "24935cfee15bd268" - }, - "role": { - "enum": [ - "loopback", - "secondary", - "anycast", - "vip", - "vrrp", - "hsrp", - "glbp", - "carp", - "" - ], - "type": "string", - "description": "* `loopback` - Loopback\n* `secondary` - Secondary\n* `anycast` - Anycast\n* `vip` - VIP\n* `vrrp` - VRRP\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `carp` - CARP", - "x-spec-enum-id": "10fbcb4930889b0f" - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "nat_inside": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedIPAddressRequest" - } - ], - "nullable": true - }, - "dns_name": { - "type": "string", - "description": "Hostname or FQDN (not case-sensitive)", - "pattern": "^([0-9A-Za-z_-]+|\\*)(\\.[0-9A-Za-z_-]+)*\\.?$", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "address" - ] - }, - "IPRange": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - } - }, - "readOnly": true - }, - "start_address": { - "type": "string" - }, - "end_address": { - "type": "string" - }, - "size": { - "type": "integer", - "readOnly": true - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Reserved", - "Deprecated" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRole" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "mark_populated": { - "type": "boolean", - "description": "Prevent the creation of IP addresses within this range" - }, - "mark_utilized": { - "type": "boolean", - "description": "Report space as fully utilized" - } - }, - "required": [ - "created", - "display", - "display_url", - "end_address", - "family", - "id", - "last_updated", - "size", - "start_address", - "url" - ] - }, - "IPRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "start_address": { - "type": "string", - "minLength": 1 - }, - "end_address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "mark_populated": { - "type": "boolean", - "description": "Prevent the creation of IP addresses within this range" - }, - "mark_utilized": { - "type": "boolean", - "description": "Report space as fully utilized" - } - }, - "required": [ - "end_address", - "start_address" - ] - }, - "IPSecPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "proposals": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposal" - } - }, - "pfs_group": { - "type": "object", - "properties": { - "value": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "label": { - "type": "string", - "enum": [ - "Group 1", - "Group 2", - "Group 5", - "Group 14", - "Group 15", - "Group 16", - "Group 17", - "Group 18", - "Group 19", - "Group 20", - "Group 21", - "Group 22", - "Group 23", - "Group 24", - "Group 25", - "Group 26", - "Group 27", - "Group 28", - "Group 29", - "Group 30", - "Group 31", - "Group 32", - "Group 33", - "Group 34" - ] - } - } - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "IPSecPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "pfs_group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "description": "* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "x-spec-enum-id": "dbef43be795462a8" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "IPSecProfile": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "esp", - "ah" - ], - "type": "string", - "description": "* `esp` - ESP\n* `ah` - AH", - "x-spec-enum-id": "1136c2cdfee84436" - }, - "label": { - "type": "string", - "enum": [ - "ESP", - "AH" - ] - } - } - }, - "ike_policy": { - "$ref": "#/components/schemas/BriefIKEPolicy" - }, - "ipsec_policy": { - "$ref": "#/components/schemas/BriefIPSecPolicy" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "ike_policy", - "ipsec_policy", - "last_updated", - "mode", - "name", - "url" - ] - }, - "IPSecProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "esp", - "ah" - ], - "type": "string", - "description": "* `esp` - ESP\n* `ah` - AH", - "x-spec-enum-id": "1136c2cdfee84436" - }, - "ike_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefIKEPolicyRequest" - } - ] - }, - "ipsec_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefIPSecPolicyRequest" - } - ] - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "ike_policy", - "ipsec_policy", - "mode", - "name" - ] - }, - "IPSecProposal": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "encryption_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "label": { - "type": "string", - "enum": [ - "128-bit AES (CBC)", - "128-bit AES (GCM)", - "192-bit AES (CBC)", - "192-bit AES (GCM)", - "256-bit AES (CBC)", - "256-bit AES (GCM)", - "3DES", - "DES" - ] - } - } - }, - "authentication_algorithm": { - "type": "object", - "properties": { - "value": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" - }, - "label": { - "type": "string", - "enum": [ - "SHA-1 HMAC", - "SHA-256 HMAC", - "SHA-384 HMAC", - "SHA-512 HMAC", - "MD5 HMAC" - ] - } - } - }, - "sa_lifetime_seconds": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (seconds)", - "description": "Security association lifetime (seconds)" - }, - "sa_lifetime_data": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (KB)", - "description": "Security association lifetime (in kilobytes)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "IPSecProposalRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5" - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f" - }, - "sa_lifetime_seconds": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (seconds)", - "description": "Security association lifetime (seconds)" - }, - "sa_lifetime_data": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (KB)", - "description": "Security association lifetime (in kilobytes)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "ImageAttachment": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "parent": { - "nullable": true, - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 50 - }, - "image": { - "type": "string", - "format": "uri" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "image_height": { - "type": "integer", - "readOnly": true - }, - "image_width": { - "type": "integer", - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "image", - "image_height", - "image_width", - "last_updated", - "object_id", - "object_type", - "parent", - "url" - ] - }, - "ImageAttachmentRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "name": { - "type": "string", - "maxLength": 50 - }, - "image": { - "type": "string", - "format": "binary" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "image", - "object_id", - "object_type" - ] - }, - "IntegerRange": { - "type": "array", - "items": { - "type": "integer" - }, - "minItems": 2, - "maxItems": 2, - "example": [ - 10, - 20 - ] - }, - "IntegerRangeRequest": { - "type": "array", - "items": { - "type": "integer" - }, - "minItems": 2, - "maxItems": 2, - "example": [ - 10, - 20 - ] - }, - "Interface": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "vdcs": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "label": { - "type": "string", - "enum": [ - "Virtual", - "Bridge", - "Link Aggregation Group (LAG)", - "100BASE-FX (10/100ME)", - "100BASE-LFX (10/100ME)", - "100BASE-TX (10/100ME)", - "100BASE-T1 (10/100ME)", - "1000BASE-BX10-D (1GE BiDi Down)", - "1000BASE-BX10-U (1GE BiDi Up)", - "1000BASE-CWDM (1GE)", - "1000BASE-CX (1GE DAC)", - "1000BASE-DWDM (1GE)", - "1000BASE-EX (1GE)", - "1000BASE-LSX (1GE)", - "1000BASE-LX (1GE)", - "1000BASE-LX10/LH (1GE)", - "1000BASE-SX (1GE)", - "1000BASE-T (1GE)", - "1000BASE-TX (1GE)", - "1000BASE-ZX (1GE)", - "2.5GBASE-T (2.5GE)", - "5GBASE-T (5GE)", - "10GBASE-BR-D (10GE BiDi Down)", - "10GBASE-BR-U (10GE BiDi Up)", - "10GBASE-CX4 (10GE DAC)", - "10GBASE-ER (10GE)", - "10GBASE-LR (10GE)", - "10GBASE-LRM (10GE)", - "10GBASE-LX4 (10GE)", - "10GBASE-SR (10GE)", - "10GBASE-T (10GE)", - "10GBASE-ZR (10GE)", - "25GBASE-CR (25GE DAC)", - "25GBASE-ER (25GE)", - "25GBASE-LR (25GE)", - "25GBASE-SR (25GE)", - "25GBASE-T (25GE)", - "40GBASE-CR4 (40GE DAC)", - "40GBASE-ER4 (40GE)", - "40GBASE-FR4 (40GE)", - "40GBASE-LR4 (40GE)", - "40GBASE-SR4 (40GE)", - "50GBASE-CR (50GE DAC)", - "50GBASE-ER (50GE)", - "50GBASE-FR (50GE)", - "50GBASE-LR (50GE)", - "50GBASE-SR (50GE)", - "100GBASE-CR1 (100GE DAC)", - "100GBASE-CR2 (100GE DAC)", - "100GBASE-CR4 (100GE DAC)", - "100GBASE-CR10 (100GE DAC)", - "100GBASE-CWDM4 (100GE)", - "100GBASE-DR (100GE)", - "100GBASE-ER4 (100GE)", - "100GBASE-FR1 (100GE)", - "100GBASE-LR1 (100GE)", - "100GBASE-LR4 (100GE)", - "100GBASE-SR1 (100GE)", - "100GBASE-SR1.2 (100GE BiDi)", - "100GBASE-SR2 (100GE)", - "100GBASE-SR4 (100GE)", - "100GBASE-SR10 (100GE)", - "100GBASE-ZR (100GE)", - "200GBASE-CR2 (200GE)", - "200GBASE-CR4 (200GE)", - "200GBASE-DR4 (200GE)", - "200GBASE-ER4 (200GE)", - "200GBASE-FR4 (200GE)", - "200GBASE-LR4 (200GE)", - "200GBASE-SR2 (200GE)", - "200GBASE-SR4 (200GE)", - "200GBASE-VR2 (200GE)", - "400GBASE-CR4 (400GE)", - "400GBASE-DR4 (400GE)", - "400GBASE-ER8 (400GE)", - "400GBASE-FR4 (400GE)", - "400GBASE-FR8 (400GE)", - "400GBASE-LR4 (400GE)", - "400GBASE-LR8 (400GE)", - "400GBASE-SR4 (400GE)", - "400GBASE-SR4.2 (400GE BiDi)", - "400GBASE-SR8 (400GE)", - "400GBASE-SR16 (400GE)", - "400GBASE-VR4 (400GE)", - "400GBASE-ZR (400GE)", - "800GBASE-CR8 (800GE)", - "800GBASE-DR8 (800GE)", - "800GBASE-SR8 (800GE)", - "800GBASE-VR8 (800GE)", - "SFP (100ME)", - "GBIC (1GE)", - "SFP (1GE)", - "SFP+ (10GE)", - "XENPAK (10GE)", - "XFP (10GE)", - "X2 (10GE)", - "SFP28 (25GE)", - "QSFP+ (40GE)", - "QSFP28 (50GE)", - "SFP56 (50GE)", - "CFP (100GE)", - "CFP2 (100GE)", - "CFP4 (100GE)", - "CXP (100GE)", - "Cisco CPAK (100GE)", - "DSFP (100GE)", - "QSFP28 (100GE)", - "QSFP-DD (100GE)", - "SFP-DD (100GE)", - "CFP2 (200GE)", - "QSFP56 (200GE)", - "QSFP-DD (200GE)", - "QSFP112 (400GE)", - "QSFP-DD (400GE)", - "CDFP (400GE)", - "CFP2 (400GE)", - "CPF8 (400GE)", - "OSFP (400GE)", - "OSFP-RHS (400GE)", - "OSFP (800GE)", - "QSFP-DD (800GE)", - "1000BASE-KX (1GE)", - "2.5GBASE-KX (2.5GE)", - "5GBASE-KR (5GE)", - "10GBASE-KR (10GE)", - "10GBASE-KX4 (10GE)", - "25GBASE-KR (25GE)", - "40GBASE-KR4 (40GE)", - "50GBASE-KR (50GE)", - "100GBASE-KP4 (100GE)", - "100GBASE-KR2 (100GE)", - "100GBASE-KR4 (100GE)", - "IEEE 802.11a", - "IEEE 802.11b/g", - "IEEE 802.11n (Wi-Fi 4)", - "IEEE 802.11ac (Wi-Fi 5)", - "IEEE 802.11ad (WiGig)", - "IEEE 802.11ax (Wi-Fi 6)", - "IEEE 802.11ay (WiGig)", - "IEEE 802.11be (Wi-Fi 7)", - "IEEE 802.15.1 (Bluetooth)", - "IEEE 802.15.4 (LR-WPAN)", - "Other (Wireless)", - "GSM", - "CDMA", - "LTE", - "4G", - "5G", - "OC-3/STM-1", - "OC-12/STM-4", - "OC-48/STM-16", - "OC-192/STM-64", - "OC-768/STM-256", - "OC-1920/STM-640", - "OC-3840/STM-1234", - "SFP (1GFC)", - "SFP (2GFC)", - "SFP (4GFC)", - "SFP+ (8GFC)", - "SFP+ (16GFC)", - "SFP28 (32GFC)", - "SFP+ (32GFC)", - "QSFP+ (64GFC)", - "SFP-DD (64GFC)", - "SFP+ (64GFC)", - "QSFP28 (128GFC)", - "SDR (2 Gbps)", - "DDR (4 Gbps)", - "QDR (8 Gbps)", - "FDR10 (10 Gbps)", - "FDR (13.5 Gbps)", - "EDR (25 Gbps)", - "HDR (50 Gbps)", - "NDR (100 Gbps)", - "XDR (250 Gbps)", - "T1 (1.544 Mbps)", - "E1 (2.048 Mbps)", - "T3 (45 Mbps)", - "E3 (34 Mbps)", - "xDSL", - "DOCSIS", - "MoCA", - "BPON (622 Mbps / 155 Mbps)", - "EPON (1 Gbps)", - "10G-EPON (10 Gbps)", - "GPON (2.5 Gbps / 1.25 Gbps)", - "XG-PON (10 Gbps / 2.5 Gbps)", - "XGS-PON (10 Gbps)", - "NG-PON2 (TWDM-PON) (4x10 Gbps)", - "25G-PON (25 Gbps)", - "50G-PON (50 Gbps)", - "Cisco StackWise", - "Cisco StackWise Plus", - "Cisco FlexStack", - "Cisco FlexStack Plus", - "Cisco StackWise-80", - "Cisco StackWise-160", - "Cisco StackWise-320", - "Cisco StackWise-480", - "Cisco StackWise-1T", - "Juniper VCP", - "Extreme SummitStack", - "Extreme SummitStack-128", - "Extreme SummitStack-256", - "Extreme SummitStack-512", - "Other" - ] - } - } - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterface" - } - ], - "nullable": true - }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterface" - } - ], - "nullable": true - }, - "lag": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterface" - } - ], - "nullable": true - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "mac_address": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "primary_mac_address": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddress" - } - ], - "nullable": true - }, - "mac_addresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefMACAddress" - }, - "readOnly": true, - "nullable": true - }, - "speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Speed (Kbps)" - }, - "duplex": { - "type": "object", - "properties": { - "value": { - "enum": [ - "half", - "full", - "auto", - "", - null - ], - "type": "string", - "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", - "x-spec-enum-id": "47eab9b1a65a1e21" - }, - "label": { - "type": "string", - "enum": [ - "Half", - "Full", - "Auto" - ] - } - }, - "nullable": true - }, - "wwn": { - "type": "string", - "nullable": true - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only", - "description": "This interface is used only for out-of-band management" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "" - ], - "type": "string", - "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)", - "x-spec-enum-id": "b6fe48fe21dbf01d" - }, - "label": { - "type": "string", - "enum": [ - "Access", - "Tagged", - "Tagged (All)", - "Q-in-Q (802.1ad)" - ] - } - } - }, - "rf_role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "ap", - "station", - "" - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1" - }, - "label": { - "type": "string", - "enum": [ - "Access point", - "Station" - ] - } - } - }, - "rf_channel": { - "type": "object", - "properties": { - "value": { - "enum": [ - "2.4g-1-2412-22", - "2.4g-2-2417-22", - "2.4g-3-2422-22", - "2.4g-4-2427-22", - "2.4g-5-2432-22", - "2.4g-6-2437-22", - "2.4g-7-2442-22", - "2.4g-8-2447-22", - "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", - "5g-100-5500-20", - "5g-102-5510-40", - "5g-104-5520-20", - "5g-106-5530-80", - "5g-108-5540-20", - "5g-110-5550-40", - "5g-112-5560-20", - "5g-114-5570-160", - "5g-116-5580-20", - "5g-118-5590-40", - "5g-120-5600-20", - "5g-122-5610-80", - "5g-124-5620-20", - "5g-126-5630-40", - "5g-128-5640-20", - "5g-132-5660-20", - "5g-134-5670-40", - "5g-136-5680-20", - "5g-138-5690-80", - "5g-140-5700-20", - "5g-142-5710-40", - "5g-144-5720-20", - "5g-149-5745-20", - "5g-151-5755-40", - "5g-153-5765-20", - "5g-155-5775-80", - "5g-157-5785-20", - "5g-159-5795-40", - "5g-161-5805-20", - "5g-163-5815-160", - "5g-165-5825-20", - "5g-167-5835-40", - "5g-169-5845-20", - "5g-171-5855-80", - "5g-173-5865-20", - "5g-175-5875-40", - "5g-177-5885-20", - "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", - "6g-101-6455-20", - "6g-103-6465-80", - "6g-105-6475-20", - "6g-107-6485-40", - "6g-109-6495-20", - "6g-111-6505-160", - "6g-113-6515-20", - "6g-115-6525-40", - "6g-117-6535-20", - "6g-119-6545-80", - "6g-121-6555-20", - "6g-123-6565-40", - "6g-125-6575-20", - "6g-129-6595-20", - "6g-131-6605-40", - "6g-133-6615-20", - "6g-135-6625-80", - "6g-137-6635-20", - "6g-139-6645-40", - "6g-141-6655-20", - "6g-143-6665-160", - "6g-145-6675-20", - "6g-147-6685-40", - "6g-149-6695-20", - "6g-151-6705-80", - "6g-153-6715-20", - "6g-155-6725-40", - "6g-157-6735-20", - "6g-159-6745-320", - "6g-161-6755-20", - "6g-163-6765-40", - "6g-165-6775-20", - "6g-167-6785-80", - "6g-169-6795-20", - "6g-171-6805-40", - "6g-173-6815-20", - "6g-175-6825-160", - "6g-177-6835-20", - "6g-179-6845-40", - "6g-181-6855-20", - "6g-183-6865-80", - "6g-185-6875-20", - "6g-187-6885-40", - "6g-189-6895-20", - "6g-193-6915-20", - "6g-195-6925-40", - "6g-197-6935-20", - "6g-199-6945-80", - "6g-201-6955-20", - "6g-203-6965-40", - "6g-205-6975-20", - "6g-207-6985-160", - "6g-209-6995-20", - "6g-211-7005-40", - "6g-213-7015-20", - "6g-215-7025-80", - "6g-217-7035-20", - "6g-219-7045-40", - "6g-221-7055-20", - "6g-225-7075-20", - "6g-227-7085-40", - "6g-229-7095-20", - "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", - "" - ], - "type": "string", - "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", - "x-spec-enum-id": "aac33cc237adc8f9" - }, - "label": { - "type": "string", - "enum": [ - "1 (2412 MHz)", - "2 (2417 MHz)", - "3 (2422 MHz)", - "4 (2427 MHz)", - "5 (2432 MHz)", - "6 (2437 MHz)", - "7 (2442 MHz)", - "8 (2447 MHz)", - "9 (2452 MHz)", - "10 (2457 MHz)", - "11 (2462 MHz)", - "12 (2467 MHz)", - "13 (2472 MHz)", - "32 (5160/20 MHz)", - "34 (5170/40 MHz)", - "36 (5180/20 MHz)", - "38 (5190/40 MHz)", - "40 (5200/20 MHz)", - "42 (5210/80 MHz)", - "44 (5220/20 MHz)", - "46 (5230/40 MHz)", - "48 (5240/20 MHz)", - "50 (5250/160 MHz)", - "52 (5260/20 MHz)", - "54 (5270/40 MHz)", - "56 (5280/20 MHz)", - "58 (5290/80 MHz)", - "60 (5300/20 MHz)", - "62 (5310/40 MHz)", - "64 (5320/20 MHz)", - "100 (5500/20 MHz)", - "102 (5510/40 MHz)", - "104 (5520/20 MHz)", - "106 (5530/80 MHz)", - "108 (5540/20 MHz)", - "110 (5550/40 MHz)", - "112 (5560/20 MHz)", - "114 (5570/160 MHz)", - "116 (5580/20 MHz)", - "118 (5590/40 MHz)", - "120 (5600/20 MHz)", - "122 (5610/80 MHz)", - "124 (5620/20 MHz)", - "126 (5630/40 MHz)", - "128 (5640/20 MHz)", - "132 (5660/20 MHz)", - "134 (5670/40 MHz)", - "136 (5680/20 MHz)", - "138 (5690/80 MHz)", - "140 (5700/20 MHz)", - "142 (5710/40 MHz)", - "144 (5720/20 MHz)", - "149 (5745/20 MHz)", - "151 (5755/40 MHz)", - "153 (5765/20 MHz)", - "155 (5775/80 MHz)", - "157 (5785/20 MHz)", - "159 (5795/40 MHz)", - "161 (5805/20 MHz)", - "163 (5815/160 MHz)", - "165 (5825/20 MHz)", - "167 (5835/40 MHz)", - "169 (5845/20 MHz)", - "171 (5855/80 MHz)", - "173 (5865/20 MHz)", - "175 (5875/40 MHz)", - "177 (5885/20 MHz)", - "1 (5955/20 MHz)", - "3 (5965/40 MHz)", - "5 (5975/20 MHz)", - "7 (5985/80 MHz)", - "9 (5995/20 MHz)", - "11 (6005/40 MHz)", - "13 (6015/20 MHz)", - "15 (6025/160 MHz)", - "17 (6035/20 MHz)", - "19 (6045/40 MHz)", - "21 (6055/20 MHz)", - "23 (6065/80 MHz)", - "25 (6075/20 MHz)", - "27 (6085/40 MHz)", - "29 (6095/20 MHz)", - "31 (6105/320 MHz)", - "33 (6115/20 MHz)", - "35 (6125/40 MHz)", - "37 (6135/20 MHz)", - "39 (6145/80 MHz)", - "41 (6155/20 MHz)", - "43 (6165/40 MHz)", - "45 (6175/20 MHz)", - "47 (6185/160 MHz)", - "49 (6195/20 MHz)", - "51 (6205/40 MHz)", - "53 (6215/20 MHz)", - "55 (6225/80 MHz)", - "57 (6235/20 MHz)", - "59 (6245/40 MHz)", - "61 (6255/20 MHz)", - "65 (6275/20 MHz)", - "67 (6285/40 MHz)", - "69 (6295/20 MHz)", - "71 (6305/80 MHz)", - "73 (6315/20 MHz)", - "75 (6325/40 MHz)", - "77 (6335/20 MHz)", - "79 (6345/160 MHz)", - "81 (6355/20 MHz)", - "83 (6365/40 MHz)", - "85 (6375/20 MHz)", - "87 (6385/80 MHz)", - "89 (6395/20 MHz)", - "91 (6405/40 MHz)", - "93 (6415/20 MHz)", - "95 (6425/320 MHz)", - "97 (6435/20 MHz)", - "99 (6445/40 MHz)", - "101 (6455/20 MHz)", - "103 (6465/80 MHz)", - "105 (6475/20 MHz)", - "107 (6485/40 MHz)", - "109 (6495/20 MHz)", - "111 (6505/160 MHz)", - "113 (6515/20 MHz)", - "115 (6525/40 MHz)", - "117 (6535/20 MHz)", - "119 (6545/80 MHz)", - "121 (6555/20 MHz)", - "123 (6565/40 MHz)", - "125 (6575/20 MHz)", - "129 (6595/20 MHz)", - "131 (6605/40 MHz)", - "133 (6615/20 MHz)", - "135 (6625/80 MHz)", - "137 (6635/20 MHz)", - "139 (6645/40 MHz)", - "141 (6655/20 MHz)", - "143 (6665/160 MHz)", - "145 (6675/20 MHz)", - "147 (6685/40 MHz)", - "149 (6695/20 MHz)", - "151 (6705/80 MHz)", - "153 (6715/20 MHz)", - "155 (6725/40 MHz)", - "157 (6735/20 MHz)", - "159 (6745/320 MHz)", - "161 (6755/20 MHz)", - "163 (6765/40 MHz)", - "165 (6775/20 MHz)", - "167 (6785/80 MHz)", - "169 (6795/20 MHz)", - "171 (6805/40 MHz)", - "173 (6815/20 MHz)", - "175 (6825/160 MHz)", - "177 (6835/20 MHz)", - "179 (6845/40 MHz)", - "181 (6855/20 MHz)", - "183 (6865/80 MHz)", - "185 (6875/20 MHz)", - "187 (6885/40 MHz)", - "189 (6895/20 MHz)", - "193 (6915/20 MHz)", - "195 (6925/40 MHz)", - "197 (6935/20 MHz)", - "199 (6945/80 MHz)", - "201 (6955/20 MHz)", - "203 (6965/40 MHz)", - "205 (6975/20 MHz)", - "207 (6985/160 MHz)", - "209 (6995/20 MHz)", - "211 (7005/40 MHz)", - "213 (7015/20 MHz)", - "215 (7025/80 MHz)", - "217 (7035/20 MHz)", - "219 (7045/40 MHz)", - "221 (7055/20 MHz)", - "225 (7075/20 MHz)", - "227 (7085/40 MHz)", - "229 (7095/20 MHz)", - "233 (7115/20 MHz)", - "1 (58.32/2.16 GHz)", - "2 (60.48/2.16 GHz)", - "3 (62.64/2.16 GHz)", - "4 (64.80/2.16 GHz)", - "5 (66.96/2.16 GHz)", - "6 (69.12/2.16 GHz)", - "9 (59.40/4.32 GHz)", - "10 (61.56/4.32 GHz)", - "11 (63.72/4.32 GHz)", - "12 (65.88/4.32 GHz)", - "13 (68.04/4.32 GHz)", - "17 (60.48/6.48 GHz)", - "18 (62.64/6.48 GHz)", - "19 (64.80/6.48 GHz)", - "20 (66.96/6.48 GHz)", - "25 (61.56/8.64 GHz)", - "26 (63.72/8.64 GHz)", - "27 (65.88/8.64 GHz)" - ] - } - } - }, - "poe_mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "pd", - "pse", - "" - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd" - }, - "label": { - "type": "string", - "enum": [ - "PD", - "PSE" - ] - } - } - }, - "poe_type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "" - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9" - }, - "label": { - "type": "string", - "enum": [ - "802.3af (Type 1)", - "802.3at (Type 2)", - "802.3bt (Type 3)", - "802.3bt (Type 4)", - "Passive 24V (2-pair)", - "Passive 24V (4-pair)", - "Passive 48V (2-pair)", - "Passive 48V (4-pair)" - ] - } - } - }, - "rf_channel_frequency": { - "type": "number", - "format": "double", - "maximum": 100000, - "minimum": -100000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel frequency (MHz)", - "description": "Populated by selected channel (if set)" - }, - "rf_channel_width": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": -10000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel width (MHz)", - "description": "Populated by selected channel (if set)" - }, - "tx_power": { - "type": "integer", - "maximum": 127, - "minimum": -40, - "nullable": true, - "title": "Transmit power (dBm)" - }, - "untagged_vlan": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLAN" - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } - }, - "qinq_svlan": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLAN" - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicy" - } - ], - "nullable": true - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "wireless_link": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedWirelessLink" - } - ], - "readOnly": true, - "nullable": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "wireless_lans": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLAN" - } - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "nullable": true - }, - "l2vpn_termination": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefL2VPNTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "nullable": true, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "count_ipaddresses": { - "type": "integer", - "readOnly": true - }, - "count_fhrp_groups": { - "type": "integer", - "readOnly": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "count_fhrp_groups", - "count_ipaddresses", - "created", - "device", - "display", - "display_url", - "id", - "l2vpn_termination", - "last_updated", - "link_peers", - "link_peers_type", - "mac_address", - "mac_addresses", - "name", - "type", - "url", - "wireless_link" - ] - }, - "InterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "vdcs": { - "type": "array", - "items": { - "type": "integer" - } - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceRequest" - } - ], - "nullable": true - }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceRequest" - } - ], - "nullable": true - }, - "lag": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceRequest" - } - ], - "nullable": true - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "primary_mac_address": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Speed (Kbps)" - }, - "duplex": { - "enum": [ - "half", - "full", - "auto", - "", - null - ], - "type": "string", - "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - }, - "wwn": { - "type": "string", - "nullable": true - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only", - "description": "This interface is used only for out-of-band management" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "" - ], - "type": "string", - "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)", - "x-spec-enum-id": "b6fe48fe21dbf01d" - }, - "rf_role": { - "enum": [ - "ap", - "station", - "" - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1" - }, - "rf_channel": { - "enum": [ - "2.4g-1-2412-22", - "2.4g-2-2417-22", - "2.4g-3-2422-22", - "2.4g-4-2427-22", - "2.4g-5-2432-22", - "2.4g-6-2437-22", - "2.4g-7-2442-22", - "2.4g-8-2447-22", - "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", - "5g-100-5500-20", - "5g-102-5510-40", - "5g-104-5520-20", - "5g-106-5530-80", - "5g-108-5540-20", - "5g-110-5550-40", - "5g-112-5560-20", - "5g-114-5570-160", - "5g-116-5580-20", - "5g-118-5590-40", - "5g-120-5600-20", - "5g-122-5610-80", - "5g-124-5620-20", - "5g-126-5630-40", - "5g-128-5640-20", - "5g-132-5660-20", - "5g-134-5670-40", - "5g-136-5680-20", - "5g-138-5690-80", - "5g-140-5700-20", - "5g-142-5710-40", - "5g-144-5720-20", - "5g-149-5745-20", - "5g-151-5755-40", - "5g-153-5765-20", - "5g-155-5775-80", - "5g-157-5785-20", - "5g-159-5795-40", - "5g-161-5805-20", - "5g-163-5815-160", - "5g-165-5825-20", - "5g-167-5835-40", - "5g-169-5845-20", - "5g-171-5855-80", - "5g-173-5865-20", - "5g-175-5875-40", - "5g-177-5885-20", - "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", - "6g-101-6455-20", - "6g-103-6465-80", - "6g-105-6475-20", - "6g-107-6485-40", - "6g-109-6495-20", - "6g-111-6505-160", - "6g-113-6515-20", - "6g-115-6525-40", - "6g-117-6535-20", - "6g-119-6545-80", - "6g-121-6555-20", - "6g-123-6565-40", - "6g-125-6575-20", - "6g-129-6595-20", - "6g-131-6605-40", - "6g-133-6615-20", - "6g-135-6625-80", - "6g-137-6635-20", - "6g-139-6645-40", - "6g-141-6655-20", - "6g-143-6665-160", - "6g-145-6675-20", - "6g-147-6685-40", - "6g-149-6695-20", - "6g-151-6705-80", - "6g-153-6715-20", - "6g-155-6725-40", - "6g-157-6735-20", - "6g-159-6745-320", - "6g-161-6755-20", - "6g-163-6765-40", - "6g-165-6775-20", - "6g-167-6785-80", - "6g-169-6795-20", - "6g-171-6805-40", - "6g-173-6815-20", - "6g-175-6825-160", - "6g-177-6835-20", - "6g-179-6845-40", - "6g-181-6855-20", - "6g-183-6865-80", - "6g-185-6875-20", - "6g-187-6885-40", - "6g-189-6895-20", - "6g-193-6915-20", - "6g-195-6925-40", - "6g-197-6935-20", - "6g-199-6945-80", - "6g-201-6955-20", - "6g-203-6965-40", - "6g-205-6975-20", - "6g-207-6985-160", - "6g-209-6995-20", - "6g-211-7005-40", - "6g-213-7015-20", - "6g-215-7025-80", - "6g-217-7035-20", - "6g-219-7045-40", - "6g-221-7055-20", - "6g-225-7075-20", - "6g-227-7085-40", - "6g-229-7095-20", - "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", - "" - ], - "type": "string", - "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", - "x-spec-enum-id": "aac33cc237adc8f9" - }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "" - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd" - }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "" - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9" - }, - "rf_channel_frequency": { - "type": "number", - "format": "double", - "maximum": 100000, - "minimum": -100000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel frequency (MHz)", - "description": "Populated by selected channel (if set)" - }, - "rf_channel_width": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": -10000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel width (MHz)", - "description": "Populated by selected channel (if set)" - }, - "tx_power": { - "type": "integer", - "maximum": 127, - "minimum": -40, - "nullable": true, - "title": "Transmit power (dBm)" - }, - "untagged_vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "qinq_svlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicyRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "wireless_lans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "type" - ] - }, - "InterfaceTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "label": { - "type": "string", - "enum": [ - "Virtual", - "Bridge", - "Link Aggregation Group (LAG)", - "100BASE-FX (10/100ME)", - "100BASE-LFX (10/100ME)", - "100BASE-TX (10/100ME)", - "100BASE-T1 (10/100ME)", - "1000BASE-BX10-D (1GE BiDi Down)", - "1000BASE-BX10-U (1GE BiDi Up)", - "1000BASE-CWDM (1GE)", - "1000BASE-CX (1GE DAC)", - "1000BASE-DWDM (1GE)", - "1000BASE-EX (1GE)", - "1000BASE-LSX (1GE)", - "1000BASE-LX (1GE)", - "1000BASE-LX10/LH (1GE)", - "1000BASE-SX (1GE)", - "1000BASE-T (1GE)", - "1000BASE-TX (1GE)", - "1000BASE-ZX (1GE)", - "2.5GBASE-T (2.5GE)", - "5GBASE-T (5GE)", - "10GBASE-BR-D (10GE BiDi Down)", - "10GBASE-BR-U (10GE BiDi Up)", - "10GBASE-CX4 (10GE DAC)", - "10GBASE-ER (10GE)", - "10GBASE-LR (10GE)", - "10GBASE-LRM (10GE)", - "10GBASE-LX4 (10GE)", - "10GBASE-SR (10GE)", - "10GBASE-T (10GE)", - "10GBASE-ZR (10GE)", - "25GBASE-CR (25GE DAC)", - "25GBASE-ER (25GE)", - "25GBASE-LR (25GE)", - "25GBASE-SR (25GE)", - "25GBASE-T (25GE)", - "40GBASE-CR4 (40GE DAC)", - "40GBASE-ER4 (40GE)", - "40GBASE-FR4 (40GE)", - "40GBASE-LR4 (40GE)", - "40GBASE-SR4 (40GE)", - "50GBASE-CR (50GE DAC)", - "50GBASE-ER (50GE)", - "50GBASE-FR (50GE)", - "50GBASE-LR (50GE)", - "50GBASE-SR (50GE)", - "100GBASE-CR1 (100GE DAC)", - "100GBASE-CR2 (100GE DAC)", - "100GBASE-CR4 (100GE DAC)", - "100GBASE-CR10 (100GE DAC)", - "100GBASE-CWDM4 (100GE)", - "100GBASE-DR (100GE)", - "100GBASE-ER4 (100GE)", - "100GBASE-FR1 (100GE)", - "100GBASE-LR1 (100GE)", - "100GBASE-LR4 (100GE)", - "100GBASE-SR1 (100GE)", - "100GBASE-SR1.2 (100GE BiDi)", - "100GBASE-SR2 (100GE)", - "100GBASE-SR4 (100GE)", - "100GBASE-SR10 (100GE)", - "100GBASE-ZR (100GE)", - "200GBASE-CR2 (200GE)", - "200GBASE-CR4 (200GE)", - "200GBASE-DR4 (200GE)", - "200GBASE-ER4 (200GE)", - "200GBASE-FR4 (200GE)", - "200GBASE-LR4 (200GE)", - "200GBASE-SR2 (200GE)", - "200GBASE-SR4 (200GE)", - "200GBASE-VR2 (200GE)", - "400GBASE-CR4 (400GE)", - "400GBASE-DR4 (400GE)", - "400GBASE-ER8 (400GE)", - "400GBASE-FR4 (400GE)", - "400GBASE-FR8 (400GE)", - "400GBASE-LR4 (400GE)", - "400GBASE-LR8 (400GE)", - "400GBASE-SR4 (400GE)", - "400GBASE-SR4.2 (400GE BiDi)", - "400GBASE-SR8 (400GE)", - "400GBASE-SR16 (400GE)", - "400GBASE-VR4 (400GE)", - "400GBASE-ZR (400GE)", - "800GBASE-CR8 (800GE)", - "800GBASE-DR8 (800GE)", - "800GBASE-SR8 (800GE)", - "800GBASE-VR8 (800GE)", - "SFP (100ME)", - "GBIC (1GE)", - "SFP (1GE)", - "SFP+ (10GE)", - "XENPAK (10GE)", - "XFP (10GE)", - "X2 (10GE)", - "SFP28 (25GE)", - "QSFP+ (40GE)", - "QSFP28 (50GE)", - "SFP56 (50GE)", - "CFP (100GE)", - "CFP2 (100GE)", - "CFP4 (100GE)", - "CXP (100GE)", - "Cisco CPAK (100GE)", - "DSFP (100GE)", - "QSFP28 (100GE)", - "QSFP-DD (100GE)", - "SFP-DD (100GE)", - "CFP2 (200GE)", - "QSFP56 (200GE)", - "QSFP-DD (200GE)", - "QSFP112 (400GE)", - "QSFP-DD (400GE)", - "CDFP (400GE)", - "CFP2 (400GE)", - "CPF8 (400GE)", - "OSFP (400GE)", - "OSFP-RHS (400GE)", - "OSFP (800GE)", - "QSFP-DD (800GE)", - "1000BASE-KX (1GE)", - "2.5GBASE-KX (2.5GE)", - "5GBASE-KR (5GE)", - "10GBASE-KR (10GE)", - "10GBASE-KX4 (10GE)", - "25GBASE-KR (25GE)", - "40GBASE-KR4 (40GE)", - "50GBASE-KR (50GE)", - "100GBASE-KP4 (100GE)", - "100GBASE-KR2 (100GE)", - "100GBASE-KR4 (100GE)", - "IEEE 802.11a", - "IEEE 802.11b/g", - "IEEE 802.11n (Wi-Fi 4)", - "IEEE 802.11ac (Wi-Fi 5)", - "IEEE 802.11ad (WiGig)", - "IEEE 802.11ax (Wi-Fi 6)", - "IEEE 802.11ay (WiGig)", - "IEEE 802.11be (Wi-Fi 7)", - "IEEE 802.15.1 (Bluetooth)", - "IEEE 802.15.4 (LR-WPAN)", - "Other (Wireless)", - "GSM", - "CDMA", - "LTE", - "4G", - "5G", - "OC-3/STM-1", - "OC-12/STM-4", - "OC-48/STM-16", - "OC-192/STM-64", - "OC-768/STM-256", - "OC-1920/STM-640", - "OC-3840/STM-1234", - "SFP (1GFC)", - "SFP (2GFC)", - "SFP (4GFC)", - "SFP+ (8GFC)", - "SFP+ (16GFC)", - "SFP28 (32GFC)", - "SFP+ (32GFC)", - "QSFP+ (64GFC)", - "SFP-DD (64GFC)", - "SFP+ (64GFC)", - "QSFP28 (128GFC)", - "SDR (2 Gbps)", - "DDR (4 Gbps)", - "QDR (8 Gbps)", - "FDR10 (10 Gbps)", - "FDR (13.5 Gbps)", - "EDR (25 Gbps)", - "HDR (50 Gbps)", - "NDR (100 Gbps)", - "XDR (250 Gbps)", - "T1 (1.544 Mbps)", - "E1 (2.048 Mbps)", - "T3 (45 Mbps)", - "E3 (34 Mbps)", - "xDSL", - "DOCSIS", - "MoCA", - "BPON (622 Mbps / 155 Mbps)", - "EPON (1 Gbps)", - "10G-EPON (10 Gbps)", - "GPON (2.5 Gbps / 1.25 Gbps)", - "XG-PON (10 Gbps / 2.5 Gbps)", - "XGS-PON (10 Gbps)", - "NG-PON2 (TWDM-PON) (4x10 Gbps)", - "25G-PON (25 Gbps)", - "50G-PON (50 Gbps)", - "Cisco StackWise", - "Cisco StackWise Plus", - "Cisco FlexStack", - "Cisco FlexStack Plus", - "Cisco StackWise-80", - "Cisco StackWise-160", - "Cisco StackWise-320", - "Cisco StackWise-480", - "Cisco StackWise-1T", - "Juniper VCP", - "Extreme SummitStack", - "Extreme SummitStack-128", - "Extreme SummitStack-256", - "Extreme SummitStack-512", - "Other" - ] - } - } - }, - "enabled": { - "type": "boolean" - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceTemplate" - } - ], - "nullable": true - }, - "poe_mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "pd", - "pse", - "", - null - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd" - }, - "label": { - "type": "string", - "enum": [ - "PD", - "PSE" - ] - } - }, - "nullable": true - }, - "poe_type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9" - }, - "label": { - "type": "string", - "enum": [ - "802.3af (Type 1)", - "802.3at (Type 2)", - "802.3bt (Type 3)", - "802.3bt (Type 4)", - "Passive 24V (2-pair)", - "Passive 24V (4-pair)", - "Passive 48V (2-pair)", - "Passive 48V (4-pair)" - ] - } - }, - "nullable": true - }, - "rf_role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1" - }, - "label": { - "type": "string", - "enum": [ - "Access point", - "Station" - ] - } - }, - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "type", - "url" - ] - }, - "InterfaceTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "enabled": { - "type": "boolean" - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedInterfaceTemplateRequest" - } - ], - "nullable": true - }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "", - null - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - }, - "rf_role": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true - } - }, - "required": [ - "name", - "type" - ] - }, - "InventoryItem": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Decommissioning" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRole" - } - ], - "nullable": true - }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturer" - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "component": { - "nullable": true, - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "component", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "InventoryItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "InventoryItemRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "inventoryitem_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "inventoryitem_count", - "last_updated", - "name", - "slug", - "url" - ] - }, - "InventoryItemRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "InventoryItemTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "$ref": "#/components/schemas/BriefDeviceType" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRole" - } - ], - "nullable": true - }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturer" - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "component": { - "nullable": true, - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "component", - "created", - "device_type", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "InventoryItemTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - } - }, - "required": [ - "device_type", - "name" - ] - }, - "Job": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string", - "readOnly": true - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 200 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "pending", - "scheduled", - "running", - "completed", - "errored", - "failed" - ], - "type": "string", - "description": "* `pending` - Pending\n* `scheduled` - Scheduled\n* `running` - Running\n* `completed` - Completed\n* `errored` - Errored\n* `failed` - Failed", - "x-spec-enum-id": "e33887d83efcc138" - }, - "label": { - "type": "string", - "enum": [ - "Pending", - "Scheduled", - "Running", - "Completed", - "Errored", - "Failed" - ] - } - }, - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "scheduled": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "interval": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Recurrence interval (in minutes)" - }, - "started": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "completed": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "user": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefUser" - } - ], - "readOnly": true - }, - "data": { - "nullable": true - }, - "error": { - "type": "string", - "readOnly": true - }, - "job_id": { - "type": "string", - "format": "uuid" - }, - "log_entries": { - "type": "array", - "items": {} - } - }, - "required": [ - "created", - "display", - "display_url", - "error", - "id", - "job_id", - "name", - "object_type", - "status", - "url", - "user" - ] - }, - "JournalEntry": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "assigned_object": { - "nullable": true, - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "created_by": { - "type": "integer", - "nullable": true - }, - "kind": { - "type": "object", - "properties": { - "value": { - "enum": [ - "info", - "success", - "warning", - "danger" - ], - "type": "string", - "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", - "x-spec-enum-id": "a21af280f632fa34" - }, - "label": { - "type": "string", - "enum": [ - "Info", - "Success", - "Warning", - "Danger" - ] - } - } - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "assigned_object", - "assigned_object_id", - "assigned_object_type", - "comments", - "created", - "display", - "display_url", - "id", - "last_updated", - "url" - ] - }, - "JournalEntryRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "created_by": { - "type": "integer", - "nullable": true - }, - "kind": { - "enum": [ - "info", - "success", - "warning", - "danger" - ], - "type": "string", - "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", - "x-spec-enum-id": "a21af280f632fa34" - }, - "comments": { - "type": "string", - "minLength": 1 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "assigned_object_id", - "assigned_object_type", - "comments" - ] - }, - "L2VPN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "evpn-vpws", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree", - "spb" - ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `evpn-vpws` - EVPN VPWS\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree\n* `spb` - SPB", - "x-spec-enum-id": "730136816a2885f9" - }, - "label": { - "type": "string", - "enum": [ - "VPWS", - "VPLS", - "VXLAN", - "VXLAN-EVPN", - "MPLS EVPN", - "PBB EVPN", - "EVPN VPWS", - "EPL", - "EVPL", - "Ethernet Private LAN", - "Ethernet Virtual Private LAN", - "Ethernet Private Tree", - "Ethernet Virtual Private Tree", - "SPB" - ] - } - } - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "937bacafb9d5d4bb" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Planned", - "Decommissioning" - ] - } - } - }, - "import_targets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - }, - "export_targets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "L2VPNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "type": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "evpn-vpws", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree", - "spb" - ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `evpn-vpws` - EVPN VPWS\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree\n* `spb` - SPB", - "x-spec-enum-id": "730136816a2885f9" - }, - "status": { - "enum": [ - "active", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "937bacafb9d5d4bb" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "L2VPNTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "l2vpn": { - "$ref": "#/components/schemas/BriefL2VPN" - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "assigned_object": { - "nullable": true, - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "assigned_object", - "assigned_object_id", - "assigned_object_type", - "created", - "display", - "display_url", - "id", - "l2vpn", - "last_updated", - "url" - ] - }, - "L2VPNTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "l2vpn": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefL2VPNRequest" - } - ] - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "assigned_object_id", - "assigned_object_type", - "l2vpn" - ] - }, - "Location": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocation" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Staging", - "Active", - "Decommissioning", - "Retired" - ] - } - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "rack_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "device_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "device_count", - "display", - "display_url", - "id", - "last_updated", - "name", - "prefix_count", - "rack_count", - "site", - "slug", - "url" - ] - }, - "LocationRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedLocationRequest" - } - ], - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "site", - "slug" - ] - }, - "MACAddress": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "mac_address": { - "type": "string" - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "assigned_object": { - "nullable": true, - "readOnly": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "assigned_object", - "created", - "display", - "display_url", - "id", - "last_updated", - "mac_address", - "url" - ] - }, - "MACAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "mac_address": { - "type": "string", - "minLength": 1 - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "mac_address" - ] - }, - "Manufacturer": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "devicetype_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "inventoryitem_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "platform_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "devicetype_count", - "display", - "display_url", - "id", - "inventoryitem_count", - "last_updated", - "name", - "platform_count", - "slug", - "url" - ] - }, - "ManufacturerRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "Module": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module_bay": { - "$ref": "#/components/schemas/NestedModuleBay" - }, - "module_type": { - "$ref": "#/components/schemas/BriefModuleType" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Decommissioning" - ] - } - } - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "module_bay", - "module_type", - "url" - ] - }, - "ModuleBay": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "installed_module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "ModuleBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "installed_module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "ModuleBayTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "ModuleBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "ModuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module_bay": { - "$ref": "#/components/schemas/NestedModuleBayRequest" - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ] - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "module_bay", - "module_type" - ] - }, - "ModuleType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "profile": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeProfile" - } - ], - "nullable": true - }, - "manufacturer": { - "$ref": "#/components/schemas/BriefManufacturer" - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "airflow": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive", - "x-spec-enum-id": "f6e5562e0e98d69d" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front", - "Left to right", - "Right to left", - "Side to rear", - "Passive" - ] - } - }, - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" - }, - "label": { - "type": "string", - "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "attributes": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "manufacturer", - "model", - "url" - ] - }, - "ModuleTypeProfile": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "schema": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "ModuleTypeProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "schema": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "ModuleTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive", - "x-spec-enum-id": "f6e5562e0e98d69d", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "attributes": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "manufacturer", - "model" - ] - }, - "NestedContactGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedContactGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedDevice": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - } - }, - "required": [ - "display", - "display_url", - "id", - "url" - ] - }, - "NestedDeviceRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - } - } - }, - "NestedDeviceRole": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NestedDeviceRoleRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 150 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NestedIPAddress": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "integer", - "readOnly": true - }, - "address": { - "type": "string" - } - }, - "required": [ - "address", - "display", - "display_url", - "family", - "id", - "url" - ] - }, - "NestedIPAddressRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "address": { - "type": "string", - "minLength": 1 - } - }, - "required": [ - "address" - ] - }, - "NestedInterface": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "cable": { - "type": "integer", - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "device", - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NestedInterfaceRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "cable": { - "type": "integer", - "nullable": true - } - }, - "required": [ - "name" - ] - }, - "NestedInterfaceTemplate": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "NestedInterfaceTemplateRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedLocation": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedLocationRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedModuleBay": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NestedModuleBayRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedPlatform": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NestedPlatformRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "required": [ - "name" - ] - }, - "NestedProviderAccount": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "account": { - "type": "string", - "title": "Account ID", - "maxLength": 100 - } - }, - "required": [ - "account", - "display", - "display_url", - "id", - "url" - ] - }, - "NestedRegion": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedRegionRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedSiteGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedSiteGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedTag": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "pattern": "^[-\\w]+$", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedTagRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "pattern": "^[-\\w]+$", - "maxLength": 100 - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedTenantGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedTenantGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedUser": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "username": { - "type": "string", - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - } - }, - "required": [ - "display", - "display_url", - "id", - "url", - "username" - ] - }, - "NestedVLAN": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url", - "vid" - ] - }, - "NestedVLANRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "vid" - ] - }, - "NestedVMInterface": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "virtual_machine": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVirtualMachine" - } - ], - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url", - "virtual_machine" - ] - }, - "NestedVMInterfaceRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedVirtualMachine": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NestedVirtualMachineRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - } - }, - "required": [ - "name" - ] - }, - "NestedWirelessLANGroup": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "display", - "display_url", - "id", - "name", - "slug", - "url" - ] - }, - "NestedWirelessLANGroupRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - } - }, - "required": [ - "name", - "slug" - ] - }, - "NestedWirelessLink": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "ssid": { - "type": "string", - "maxLength": 32 - } - }, - "required": [ - "display", - "display_url", - "id", - "url" - ] - }, - "NestedWirelessLinkRequest": { - "type": "object", - "description": "Represents an object related through a ForeignKey field. On write, it accepts a primary key (PK) value or a\ndictionary of attributes which can be used to uniquely identify the related object. This class should be\nsubclassed to return a full representation of the related object on read.", - "properties": { - "ssid": { - "type": "string", - "maxLength": 32 - } - } - }, - "Notification": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "nullable": true, - "readOnly": true - }, - "user": { - "$ref": "#/components/schemas/BriefUser" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "read": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "event_type": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424", - "title": "Event" - } - }, - "required": [ - "created", - "display", - "event_type", - "id", - "object", - "object_id", - "object_type", - "url", - "user" - ] - }, - "NotificationGroup": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Group" - } - }, - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/User" - } - } - }, - "required": [ - "display", - "display_url", - "id", - "name", - "url" - ] - }, - "NotificationGroupRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "name" - ] - }, - "NotificationRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "read": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "event_type": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424", - "title": "Event" - } - }, - "required": [ - "event_type", - "object_id", - "object_type", - "user" - ] - }, - "ObjectChange": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "time": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "user": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefUser" - } - ], - "readOnly": true - }, - "user_name": { - "type": "string", - "readOnly": true - }, - "request_id": { - "type": "string", - "format": "uuid", - "readOnly": true - }, - "action": { - "type": "object", - "properties": { - "value": { - "enum": [ - "create", - "update", - "delete" - ], - "type": "string", - "description": "* `create` - Created\n* `update` - Updated\n* `delete` - Deleted", - "x-spec-enum-id": "544f9b3b28b7ce6a" - }, - "label": { - "type": "string", - "enum": [ - "Created", - "Updated", - "Deleted" - ] - } - }, - "readOnly": true - }, - "changed_object_type": { - "type": "string", - "readOnly": true - }, - "changed_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "changed_object": { - "nullable": true, - "readOnly": true - }, - "message": { - "type": "string", - "readOnly": true - }, - "prechange_data": { - "readOnly": true, - "nullable": true - }, - "postchange_data": { - "readOnly": true, - "nullable": true - } - }, - "required": [ - "action", - "changed_object", - "changed_object_id", - "changed_object_type", - "display", - "display_url", - "id", - "message", - "postchange_data", - "prechange_data", - "request_id", - "time", - "url", - "user", - "user_name" - ] - }, - "ObjectPermission": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "maxLength": 30 - }, - "description": "The list of actions granted by this permission" - }, - "constraints": { - "nullable": true, - "description": "Queryset filter matching the applicable objects of the selected type(s)" - }, - "groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedGroup" - } - }, - "users": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedUser" - } - } - }, - "required": [ - "actions", - "display", - "display_url", - "id", - "name", - "object_types", - "url" - ] - }, - "ObjectPermissionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 30 - }, - "description": "The list of actions granted by this permission" - }, - "constraints": { - "nullable": true, - "description": "Queryset filter matching the applicable objects of the selected type(s)" - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "actions", - "name", - "object_types" - ] - }, - "ObjectType": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "app_label": { - "type": "string", - "maxLength": 100 - }, - "app_name": { - "type": "string", - "readOnly": true - }, - "model": { - "type": "string", - "title": "Python model class name", - "maxLength": 100 - }, - "model_name": { - "type": "string", - "readOnly": true - }, - "model_name_plural": { - "type": "string", - "readOnly": true - }, - "public": { - "type": "boolean", - "readOnly": true - }, - "features": { - "type": "array", - "items": { - "type": "string", - "maxLength": 50 - }, - "readOnly": true - }, - "is_plugin_model": { - "type": "boolean", - "readOnly": true - }, - "rest_api_endpoint": { - "type": "string", - "readOnly": true - }, - "description": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "app_label", - "app_name", - "description", - "display", - "features", - "id", - "is_plugin_model", - "model", - "model_name", - "model_name_plural", - "public", - "rest_api_endpoint", - "url" - ] - }, - "PaginatedASNList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASN" - } - } - } - }, - "PaginatedASNRangeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASNRange" - } - } - } - }, - "PaginatedAggregateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Aggregate" - } - } - } - }, - "PaginatedBookmarkList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Bookmark" - } - } - } - }, - "PaginatedCableList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cable" - } - } - } - }, - "PaginatedCableTerminationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTermination" - } - } - } - }, - "PaginatedCircuitGroupAssignmentList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroupAssignment" - } - } - } - }, - "PaginatedCircuitGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitGroup" - } - } - } - }, - "PaginatedCircuitList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Circuit" - } - } - } - }, - "PaginatedCircuitTerminationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitTermination" - } - } - } - }, - "PaginatedCircuitTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CircuitType" - } - } - } - }, - "PaginatedClusterGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterGroup" - } - } - } - }, - "PaginatedClusterList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Cluster" - } - } - } - }, - "PaginatedClusterTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ClusterType" - } - } - } - }, - "PaginatedConfigContextList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContext" - } - } - } - }, - "PaginatedConfigContextProfileList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigContextProfile" - } - } - } - }, - "PaginatedConfigTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConfigTemplate" - } - } - } - }, - "PaginatedConsolePortList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePort" - } - } - } - }, - "PaginatedConsolePortTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsolePortTemplate" - } - } - } - }, - "PaginatedConsoleServerPortList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPort" - } - } - } - }, - "PaginatedConsoleServerPortTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ConsoleServerPortTemplate" - } - } - } - }, - "PaginatedContactAssignmentList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactAssignment" - } - } - } - }, - "PaginatedContactGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactGroup" - } - } - } - }, - "PaginatedContactList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Contact" - } - } - } - }, - "PaginatedContactRoleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ContactRole" - } - } - } - }, - "PaginatedCustomFieldChoiceSetList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomFieldChoiceSet" - } - } - } - }, - "PaginatedCustomFieldList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomField" - } - } - } - }, - "PaginatedCustomLinkList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CustomLink" - } - } - } - }, - "PaginatedDataFileList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataFile" - } - } - } - }, - "PaginatedDataSourceList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DataSource" - } - } - } - }, - "PaginatedDeviceBayList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBay" - } - } - } - }, - "PaginatedDeviceBayTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceBayTemplate" - } - } - } - }, - "PaginatedDeviceRoleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceRole" - } - } - } - }, - "PaginatedDeviceTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceType" - } - } - } - }, - "PaginatedDeviceWithConfigContextList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/DeviceWithConfigContext" - } - } - } - }, - "PaginatedEventRuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/EventRule" - } - } - } - }, - "PaginatedExportTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ExportTemplate" - } - } - } - }, - "PaginatedFHRPGroupAssignmentList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroupAssignment" - } - } - } - }, - "PaginatedFHRPGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FHRPGroup" - } - } - } - }, - "PaginatedFrontPortList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPort" - } - } - } - }, - "PaginatedFrontPortTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/FrontPortTemplate" - } - } - } - }, - "PaginatedGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Group" - } - } - } - }, - "PaginatedIKEPolicyList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEPolicy" - } - } - } - }, - "PaginatedIKEProposalList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IKEProposal" - } - } - } - }, - "PaginatedIPAddressList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddress" - } - } - } - }, - "PaginatedIPRangeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPRange" - } - } - } - }, - "PaginatedIPSecPolicyList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecPolicy" - } - } - } - }, - "PaginatedIPSecProfileList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProfile" - } - } - } - }, - "PaginatedIPSecProposalList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPSecProposal" - } - } - } - }, - "PaginatedImageAttachmentList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ImageAttachment" - } - } - } - }, - "PaginatedInterfaceList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Interface" - } - } - } - }, - "PaginatedInterfaceTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InterfaceTemplate" - } - } - } - }, - "PaginatedInventoryItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItem" - } - } - } - }, - "PaginatedInventoryItemRoleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemRole" - } - } - } - }, - "PaginatedInventoryItemTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/InventoryItemTemplate" - } - } - } - }, - "PaginatedJobList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Job" - } - } - } - }, - "PaginatedJournalEntryList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/JournalEntry" - } - } - } - }, - "PaginatedL2VPNList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPN" - } - } - } - }, - "PaginatedL2VPNTerminationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/L2VPNTermination" - } - } - } - }, - "PaginatedLocationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Location" - } - } - } - }, - "PaginatedMACAddressList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/MACAddress" - } - } - } - }, - "PaginatedManufacturerList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Manufacturer" - } - } - } - }, - "PaginatedModuleBayList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBay" - } - } - } - }, - "PaginatedModuleBayTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleBayTemplate" - } - } - } - }, - "PaginatedModuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Module" - } - } - } - }, - "PaginatedModuleTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleType" - } - } - } - }, - "PaginatedModuleTypeProfileList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ModuleTypeProfile" - } - } - } - }, - "PaginatedNotificationGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NotificationGroup" - } - } - } - }, - "PaginatedNotificationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Notification" - } - } - } - }, - "PaginatedObjectChangeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectChange" - } - } - } - }, - "PaginatedObjectPermissionList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - } - }, - "PaginatedObjectTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectType" - } - } - } - }, - "PaginatedPlatformList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Platform" - } - } - } - }, - "PaginatedPowerFeedList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerFeed" - } - } - } - }, - "PaginatedPowerOutletList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutlet" - } - } - } - }, - "PaginatedPowerOutletTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerOutletTemplate" - } - } - } - }, - "PaginatedPowerPanelList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPanel" - } - } - } - }, - "PaginatedPowerPortList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPort" - } - } - } - }, - "PaginatedPowerPortTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PowerPortTemplate" - } - } - } - }, - "PaginatedPrefixList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Prefix" - } - } - } - }, - "PaginatedProviderAccountList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderAccount" - } - } - } - }, - "PaginatedProviderList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Provider" - } - } - } - }, - "PaginatedProviderNetworkList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ProviderNetwork" - } - } - } - }, - "PaginatedRIRList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RIR" - } - } - } - }, - "PaginatedRackList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Rack" - } - } - } - }, - "PaginatedRackReservationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackReservation" - } - } - } - }, - "PaginatedRackRoleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackRole" - } - } - } - }, - "PaginatedRackTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackType" - } - } - } - }, - "PaginatedRackUnitList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RackUnit" - } - } - } - }, - "PaginatedRearPortList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPort" - } - } - } - }, - "PaginatedRearPortTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RearPortTemplate" - } - } - } - }, - "PaginatedRegionList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Region" - } - } - } - }, - "PaginatedRoleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Role" - } - } - } - }, - "PaginatedRouteTargetList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - } - } - }, - "PaginatedSavedFilterList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SavedFilter" - } - } - } - }, - "PaginatedScriptList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Script" - } - } - } - }, - "PaginatedServiceList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Service" - } - } - } - }, - "PaginatedServiceTemplateList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ServiceTemplate" - } - } - } - }, - "PaginatedSiteGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SiteGroup" - } - } - } - }, - "PaginatedSiteList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Site" - } - } - } - }, - "PaginatedSubscriptionList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Subscription" - } - } - } - }, - "PaginatedTableConfigList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TableConfig" - } - } - } - }, - "PaginatedTagList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tag" - } - } - } - }, - "PaginatedTaggedItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TaggedItem" - } - } - } - }, - "PaginatedTenantGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TenantGroup" - } - } - } - }, - "PaginatedTenantList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tenant" - } - } - } - }, - "PaginatedTokenList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Token" - } - } - } - }, - "PaginatedTunnelGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelGroup" - } - } - } - }, - "PaginatedTunnelList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Tunnel" - } - } - } - }, - "PaginatedTunnelTerminationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TunnelTermination" - } - } - } - }, - "PaginatedUserList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/User" - } - } - } - }, - "PaginatedVLANGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANGroup" - } - } - } - }, - "PaginatedVLANList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } - } - } - }, - "PaginatedVLANTranslationPolicyList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationPolicy" - } - } - } - }, - "PaginatedVLANTranslationRuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRule" - } - } - } - }, - "PaginatedVMInterfaceList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VMInterface" - } - } - } - }, - "PaginatedVRFList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VRF" - } - } - } - }, - "PaginatedVirtualChassisList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualChassis" - } - } - } - }, - "PaginatedVirtualCircuitList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuit" - } - } - } - }, - "PaginatedVirtualCircuitTerminationList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitTermination" - } - } - } - }, - "PaginatedVirtualCircuitTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualCircuitType" - } - } - } - }, - "PaginatedVirtualDeviceContextList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDeviceContext" - } - } - } - }, - "PaginatedVirtualDiskList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualDisk" - } - } - } - }, - "PaginatedVirtualMachineWithConfigContextList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VirtualMachineWithConfigContext" - } - } - } - }, - "PaginatedWebhookList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Webhook" - } - } - } - }, - "PaginatedWirelessLANGroupList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLANGroup" - } - } - } - }, - "PaginatedWirelessLANList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLAN" - } - } - } - }, - "PaginatedWirelessLinkList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/WirelessLink" - } - } - } - }, - "PatchedASNRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ] - }, - "start": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "end": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedASNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "asn": { - "type": "integer", - "maximum": 4294967295, - "minimum": 1, - "format": "int64", - "description": "16- or 32-bit autonomous system number" - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedBookmarkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - } - } - }, - "PatchedCableTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cable": { - "type": "integer" - }, - "cable_end": { - "enum": [ - "A", - "B" - ], - "type": "string", - "description": "* `A` - A\n* `B` - B", - "x-spec-enum-id": "1db84f9b93b261c8", - "title": "End" - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - } - }, - "PatchedCircuitGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedCircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "circuit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitRequest" - } - ] - }, - "term_side": { - "enum": [ - "A", - "Z" - ], - "type": "string", - "description": "* `A` - A\n* `Z` - Z", - "x-spec-enum-id": "95b8fcc737f355d0", - "title": "Termination side" - }, - "termination_type": { - "type": "string", - "nullable": true - }, - "termination_id": { - "type": "integer", - "nullable": true - }, - "port_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Port speed (Kbps)", - "description": "Physical circuit speed" - }, - "upstream_speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Upstream speed (Kbps)", - "description": "Upstream speed, if different from port speed" - }, - "xconnect_id": { - "type": "string", - "title": "Cross-connect ID", - "description": "ID of the local cross-connect", - "maxLength": 50 - }, - "pp_info": { - "type": "string", - "title": "Patch panel/port(s)", - "description": "Patch panel ID and port number(s)", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedCircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedClusterGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedClusterTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedConfigContextProfileRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "schema": { - "nullable": true, - "description": "A JSON schema specifying the structure of the context data for this profile" - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - } - }, - "comments": { - "type": "string" - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - } - } - }, - "PatchedConfigContextRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigContextProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "is_active": { - "type": "boolean" - }, - "regions": { - "type": "array", - "items": { - "type": "integer" - } - }, - "site_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "sites": { - "type": "array", - "items": { - "type": "integer" - } - }, - "locations": { - "type": "array", - "items": { - "type": "integer" - } - }, - "device_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "roles": { - "type": "array", - "items": { - "type": "integer" - } - }, - "platforms": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_types": { - "type": "array", - "items": { - "type": "integer" - } - }, - "cluster_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "clusters": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenant_groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tenants": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "type": "string", - "minLength": 1 - } - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - }, - "data": {} - } - }, - "PatchedConfigTemplateRequest": { - "type": "object", - "description": "Introduces support for Tag assignment. Adds `tags` serialization, and handles tag assignment\non create() and update().", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja environment" - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja template code." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_name": { - "type": "string", - "description": "Filename to give to the rendered export file", - "maxLength": 200 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - } - }, - "PatchedContactRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "title": { - "type": "string", - "maxLength": 100 - }, - "phone": { - "type": "string", - "maxLength": 50 - }, - "email": { - "type": "string", - "format": "email", - "maxLength": 254 - }, - "address": { - "type": "string", - "maxLength": 200 - }, - "link": { - "type": "string", - "format": "uri", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedContactRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedCustomLinkRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "enabled": { - "type": "boolean" - }, - "link_text": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link text" - }, - "link_url": { - "type": "string", - "minLength": 1, - "description": "Jinja2 template code for link URL" - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "group_name": { - "type": "string", - "description": "Links with the same group will appear as a dropdown menu", - "maxLength": 50 - }, - "button_class": { - "enum": [ - "default", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - "gray", - "black", - "white", - "ghost-dark" - ], - "type": "string", - "x-spec-enum-id": "ee8e5bb1ccdcdb19", - "description": "The class of the first link in a group will be used for the dropdown button\n\n* `default` - Default\n* `blue` - Blue\n* `indigo` - Indigo\n* `purple` - Purple\n* `pink` - Pink\n* `red` - Red\n* `orange` - Orange\n* `yellow` - Yellow\n* `green` - Green\n* `teal` - Teal\n* `cyan` - Cyan\n* `gray` - Gray\n* `black` - Black\n* `white` - White\n* `ghost-dark` - Link" - }, - "new_window": { - "type": "boolean", - "description": "Force link to open in a new window" - } - } - }, - "PatchedDashboardRequest": { - "type": "object", - "properties": { - "layout": {}, - "config": {} - } - }, - "PatchedDeviceBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "installed_device": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedDeviceBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedExportTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "environment_params": { - "nullable": true, - "title": "Environment parameters", - "description": "Any additional parameters to pass when constructing the Jinja environment" - }, - "template_code": { - "type": "string", - "minLength": 1, - "description": "Jinja template code." - }, - "mime_type": { - "type": "string", - "description": "Defaults to text/plain; charset=utf-8", - "maxLength": 50 - }, - "file_name": { - "type": "string", - "description": "Filename to give to the rendered export file", - "maxLength": 200 - }, - "file_extension": { - "type": "string", - "description": "Extension to append to the rendered filename", - "maxLength": 15 - }, - "as_attachment": { - "type": "boolean", - "description": "Download file as attachment" - }, - "data_source": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDataSourceRequest" - } - ] - } - } - }, - "PatchedFHRPGroupAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefFHRPGroupRequest" - } - ] - }, - "interface_type": { - "type": "string" - }, - "interface_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "type": "integer", - "maximum": 255, - "minimum": 0 - } - } - }, - "PatchedFHRPGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "maxLength": 100 - }, - "protocol": { - "enum": [ - "vrrp2", - "vrrp3", - "carp", - "clusterxl", - "hsrp", - "glbp", - "other" - ], - "type": "string", - "description": "* `vrrp2` - VRRPv2\n* `vrrp3` - VRRPv3\n* `carp` - CARP\n* `clusterxl` - ClusterXL\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `other` - Other", - "x-spec-enum-id": "40dc831c689b4b78" - }, - "group_id": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "auth_type": { - "enum": [ - "plaintext", - "md5", - "", - null - ], - "type": "string", - "description": "* `plaintext` - Plaintext\n* `md5` - MD5", - "x-spec-enum-id": "12b9faea3a45bf37", - "nullable": true, - "title": "Authentication type" - }, - "auth_key": { - "type": "string", - "title": "Authentication key", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedGroupRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "permissions": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "PatchedImageAttachmentRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "name": { - "type": "string", - "maxLength": 50 - }, - "image": { - "type": "string", - "format": "binary" - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedInventoryItemRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedInventoryItemTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - } - } - }, - "PatchedL2VPNTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "l2vpn": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefL2VPNRequest" - } - ] - }, - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedMACAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "mac_address": { - "type": "string", - "minLength": 1 - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedManufacturerRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedModuleBayRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "installed_module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedModuleBayTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "position": { - "type": "string", - "description": "Identifier to reference when renaming installed components", - "maxLength": 30 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedModuleTypeProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "schema": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedNotificationGroupRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "PatchedNotificationRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "read": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "event_type": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424", - "title": "Event" - } - } - }, - "PatchedObjectPermissionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "actions": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 30 - }, - "description": "The list of actions granted by this permission" - }, - "constraints": { - "nullable": true, - "description": "Queryset filter matching the applicable objects of the selected type(s)" - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "users": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "PatchedPowerPanelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedProviderAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "name": { - "type": "string", - "default": "", - "maxLength": 100 - }, - "account": { - "type": "string", - "minLength": 1, - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedProviderNetworkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "service_id": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedProviderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "accounts": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedRIRRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "is_private": { - "type": "boolean", - "title": "Private", - "description": "IP space managed by this RIR is considered private" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedRackRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedRouteTargetRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Route target value (formatted in accordance with RFC 4360)", - "maxLength": 21 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedSavedFilterRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "user": { - "type": "integer", - "nullable": true - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "enabled": { - "type": "boolean" - }, - "shared": { - "type": "boolean" - }, - "parameters": {} - } - }, - "PatchedScriptInputRequest": { - "type": "object", - "properties": { - "data": {}, - "commit": { - "type": "boolean" - }, - "schedule_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "interval": { - "type": "integer", - "nullable": true - } - } - }, - "PatchedSubscriptionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - } - } - }, - "PatchedTableConfigRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "table": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "user": { - "type": "integer", - "nullable": true - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "enabled": { - "type": "boolean" - }, - "shared": { - "type": "boolean" - }, - "columns": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "ordering": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "nullable": true - } - } - }, - "PatchedTagRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "pattern": "^[-\\w]+$", - "maxLength": 100 - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "PatchedTenantRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedTokenRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "last_used": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "key": { - "type": "string", - "maxLength": 40, - "minLength": 40 - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedTunnelGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedUserRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "username": { - "type": "string", - "minLength": 1, - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - }, - "password": { - "type": "string", - "writeOnly": true, - "minLength": 1, - "maxLength": 128 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "permissions": { - "type": "array", - "items": { - "type": "integer" - } - } - } - }, - "PatchedVLANGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "vid_ranges": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IntegerRangeRequest" - } - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedVLANTranslationPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedVLANTranslationRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "policy": { - "type": "integer" - }, - "local_vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "Local VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "remote_vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "Remote VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedVRFRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedVirtualCircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedVirtualDiskRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualMachineRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "size": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "title": "Size (MB)" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWebhookRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "payload_url": { - "type": "string", - "minLength": 1, - "title": "URL", - "description": "This URL will be called using the HTTP method defined when the webhook is called. Jinja2 template processing is supported with the same context as the request body.", - "maxLength": 500 - }, - "http_method": { - "enum": [ - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ], - "type": "string", - "description": "* `GET` - GET\n* `POST` - POST\n* `PUT` - PUT\n* `PATCH` - PATCH\n* `DELETE` - DELETE", - "x-spec-enum-id": "a12018571a034921" - }, - "http_content_type": { - "type": "string", - "minLength": 1, - "description": "The complete list of official content types is available here.", - "maxLength": 100 - }, - "additional_headers": { - "type": "string", - "description": "User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is supported with the same context as the request body (below)." - }, - "body_template": { - "type": "string", - "description": "Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data." - }, - "secret": { - "type": "string", - "description": "When provided, the request will include a X-Hook-Signature header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request.", - "maxLength": 255 - }, - "ssl_verification": { - "type": "boolean", - "description": "Enable SSL certificate verification. Disable with caution!" - }, - "ca_file_path": { - "type": "string", - "nullable": true, - "description": "The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults.", - "maxLength": 4096 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - } - }, - "PatchedWritableAggregateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "date_added": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableCableRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb", - "", - null - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - }, - "a_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } - }, - "b_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } - }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "label": { - "type": "string", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "length": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "length_unit": { - "enum": [ - "km", - "m", - "cm", - "mi", - "ft", - "in", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches", - "x-spec-enum-id": "e64ce3a2c5997172", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableCircuitGroupAssignmentRequest": { - "type": "object", - "description": "Base serializer for group assignments under CircuitSerializer.", - "properties": { - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitGroupRequest" - } - ] - }, - "member_type": { - "type": "string" - }, - "member_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "", - null - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - } - }, - "PatchedWritableCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "provider_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitTypeRequest" - } - ] - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "install_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Installed" - }, - "termination_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Terminates" - }, - "commit_rate": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Commit rate (Kbps)", - "description": "Committed rate" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "assignments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefCircuitGroupAssignmentSerializer_Request" - } - } - } - }, - "PatchedWritableClusterRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefClusterTypeRequest" - } - ] - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "offline" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `offline` - Offline", - "x-spec-enum-id": "79d20a734d0eecbb" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableConsolePortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true, - "description": "Physical port type\n\n* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other" - }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true, - "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "minimum": 0, - "maximum": 2147483647 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableConsolePortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritableConsoleServerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true, - "description": "Physical port type\n\n* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other" - }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true, - "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "minimum": 0, - "maximum": 2147483647 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableConsoleServerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritableContactAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "contact": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefContactRequest" - } - ] - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefContactRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "", - null - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableContactGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableCustomFieldChoiceSetRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "base_choices": { - "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE", - "", - null - ], - "type": "string", - "x-spec-enum-id": "cf0efb5195f85007", - "nullable": true, - "description": "Base set of predefined choices (optional)\n\n* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)" - }, - "extra_choices": { - "type": "array", - "items": { - "type": "array", - "items": {}, - "maxItems": 2, - "minItems": 2 - } - }, - "order_alphabetically": { - "type": "boolean", - "description": "Choices are automatically ordered alphabetically" - } - } - }, - "PatchedWritableCustomFieldRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "enum": [ - "text", - "longtext", - "integer", - "decimal", - "boolean", - "date", - "datetime", - "url", - "json", - "select", - "multiselect", - "object", - "multiobject" - ], - "type": "string", - "x-spec-enum-id": "22e3a64138d10046", - "description": "The type of data this custom field holds\n\n* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects" - }, - "related_object_type": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "Internal field name", - "pattern": "^[a-z0-9_]+$", - "maxLength": 50 - }, - "label": { - "type": "string", - "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", - "maxLength": 50 - }, - "group_name": { - "type": "string", - "description": "Custom fields within the same group will be displayed together", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "required": { - "type": "boolean", - "description": "This field is required when creating new objects or editing an existing object." - }, - "unique": { - "type": "boolean", - "title": "Must be unique", - "description": "The value of this field must be unique for the assigned object" - }, - "search_weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." - }, - "filter_logic": { - "enum": [ - "disabled", - "loose", - "exact" - ], - "type": "string", - "x-spec-enum-id": "a958350ae21c10ee", - "description": "Loose matches any instance of a given string; exact matches the entire field.\n\n* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact" - }, - "ui_visible": { - "enum": [ - "always", - "if-set", - "hidden" - ], - "type": "string", - "x-spec-enum-id": "cd2cf94af56de747", - "description": "Specifies whether the custom field is displayed in the UI\n\n* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden" - }, - "ui_editable": { - "enum": [ - "yes", - "no", - "hidden" - ], - "type": "string", - "x-spec-enum-id": "1065673147e26bb5", - "description": "Specifies whether the custom field value can be edited in the UI\n\n* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden" - }, - "is_cloneable": { - "type": "boolean", - "description": "Replicate this value when cloning objects" - }, - "default": { - "nullable": true, - "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "related_object_filter": { - "nullable": true, - "description": "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "title": "Display weight", - "description": "Fields with higher weights appear lower in a form." - }, - "validation_minimum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Minimum value", - "description": "Minimum allowed value (for numeric fields)" - }, - "validation_maximum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Maximum value", - "description": "Maximum allowed value (for numeric fields)" - }, - "validation_regex": { - "type": "string", - "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", - "maxLength": 500 - }, - "choice_set": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCustomFieldChoiceSetRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableDataSourceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "source_url": { - "type": "string", - "minLength": 1, - "title": "URL", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "sync_interval": { - "enum": [ - 1, - 60, - 720, - 1440, - 10080, - 43200, - null - ], - "type": "integer", - "description": "* `1` - Minutely\n* `60` - Hourly\n* `720` - 12 hours\n* `1440` - Daily\n* `10080` - Weekly\n* `43200` - 30 days", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true, - "minimum": 0, - "maximum": 32767 - }, - "parameters": { - "nullable": true - }, - "ignore_rules": { - "type": "string", - "description": "Patterns (one per line) matching files to ignore when syncing" - }, - "comments": { - "type": "string" - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableDeviceRoleRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableDeviceTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "default_platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "u_height": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.0, - "exclusiveMaximum": true, - "default": 1.0, - "title": "Position (U)" - }, - "exclude_from_utilization": { - "type": "boolean", - "description": "Devices of this type are excluded when calculating rack utilization." - }, - "is_full_depth": { - "type": "boolean", - "description": "Device consumes both front and rear rack faces." - }, - "subdevice_role": { - "enum": [ - "parent", - "child", - "", - null - ], - "type": "string", - "x-spec-enum-id": "d10d91f690a856c2", - "nullable": true, - "title": "Parent/child status", - "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.\n\n* `parent` - Parent\n* `child` - Child" - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "front_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "rear_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableDeviceWithConfigContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRoleRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "enum": [ - "front", - "rear", - "", - null - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83", - "nullable": true, - "title": "Rack face" - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782", - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "oob_ip": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "cluster": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "virtual_chassis": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVirtualChassisRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vc_position": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true - }, - "vc_priority": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableEventRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "enabled": { - "type": "boolean" - }, - "event_types": { - "type": "array", - "items": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424" - }, - "description": "The types of event which will trigger this rule." - }, - "conditions": { - "nullable": true, - "description": "A set of conditions which determine whether the event will be generated." - }, - "action_type": { - "enum": [ - "webhook", - "script", - "notification" - ], - "type": "string", - "description": "* `webhook` - Webhook\n* `script` - Script\n* `notification` - Notification", - "x-spec-enum-id": "d07193c73ebc03c6" - }, - "action_object_type": { - "type": "string" - }, - "action_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - } - }, - "PatchedWritableFrontPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "type": "integer" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Mapped position on corresponding rear port" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableFrontPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRearPortTemplateRequest" - } - ] - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritableIKEPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "version": { - "enum": [ - 1, - 2 - ], - "type": "integer", - "description": "* `1` - IKEv1\n* `2` - IKEv2", - "x-spec-enum-id": "00872b77916a1fde", - "minimum": 0, - "maximum": 32767 - }, - "mode": { - "enum": [ - "aggressive", - "main", - "", - null - ], - "type": "string", - "description": "* `aggressive` - Aggressive\n* `main` - Main", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "preshared_key": { - "type": "string", - "title": "Pre-shared key" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableIKEProposalRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "authentication_method": { - "enum": [ - "preshared-keys", - "certificates", - "rsa-signatures", - "dsa-signatures" - ], - "type": "string", - "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", - "x-spec-enum-id": "92bb2f1103b3a262" - }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5", - "", - null - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - }, - "group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "description": "Diffie-Hellman group ID\n\n* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "minimum": 0, - "maximum": 32767 - }, - "sa_lifetime": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Security association lifetime (in seconds)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableIPAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated", - "dhcp", - "slaac" - ], - "type": "string", - "x-spec-enum-id": "24935cfee15bd268", - "description": "The operational status of this IP\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated\n* `dhcp` - DHCP\n* `slaac` - SLAAC" - }, - "role": { - "enum": [ - "loopback", - "secondary", - "anycast", - "vip", - "vrrp", - "hsrp", - "glbp", - "carp", - "", - null - ], - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true, - "description": "The functional role of this IP\n\n* `loopback` - Loopback\n* `secondary` - Secondary\n* `anycast` - Anycast\n* `vip` - VIP\n* `vrrp` - VRRP\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `carp` - CARP" - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "nat_inside": { - "type": "integer", - "nullable": true, - "title": "NAT (inside)", - "description": "The IP for which this address is the \"outside\" IP" - }, - "dns_name": { - "type": "string", - "description": "Hostname or FQDN (not case-sensitive)", - "pattern": "^([0-9A-Za-z_-]+|\\*)(\\.[0-9A-Za-z_-]+)*\\.?$", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableIPRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "start_address": { - "type": "string", - "minLength": 1 - }, - "end_address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15", - "description": "Operational status of this range\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "mark_populated": { - "type": "boolean", - "description": "Prevent the creation of IP addresses within this range" - }, - "mark_utilized": { - "type": "boolean", - "description": "Report space as fully utilized" - } - } - }, - "PatchedWritableIPSecPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "pfs_group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - null - ], - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true, - "description": "Diffie-Hellman group for Perfect Forward Secrecy\n\n* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "minimum": 0, - "maximum": 32767 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableIPSecProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "esp", - "ah" - ], - "type": "string", - "description": "* `esp` - ESP\n* `ah` - AH", - "x-spec-enum-id": "1136c2cdfee84436" - }, - "ike_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefIKEPolicyRequest" - } - ] - }, - "ipsec_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefIPSecPolicyRequest" - } - ] - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableIPSecProposalRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc", - "", - null - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5", - "", - null - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - }, - "sa_lifetime_seconds": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (seconds)", - "description": "Security association lifetime (seconds)" - }, - "sa_lifetime_data": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (KB)", - "description": "Security association lifetime (in kilobytes)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableInterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "vdcs": { - "type": "array", - "items": { - "type": "integer" - } - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "type": "integer", - "nullable": true, - "title": "Parent interface" - }, - "bridge": { - "type": "integer", - "nullable": true, - "title": "Bridge interface" - }, - "lag": { - "type": "integer", - "nullable": true, - "title": "Parent LAG" - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "primary_mac_address": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Speed (Kbps)" - }, - "duplex": { - "enum": [ - "half", - "full", - "auto", - "", - null - ], - "type": "string", - "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - }, - "wwn": { - "type": "string", - "nullable": true - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only", - "description": "This interface is used only for out-of-band management" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "", - null - ], - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true, - "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)" - }, - "rf_role": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - }, - "rf_channel": { - "enum": [ - "2.4g-1-2412-22", - "2.4g-2-2417-22", - "2.4g-3-2422-22", - "2.4g-4-2427-22", - "2.4g-5-2432-22", - "2.4g-6-2437-22", - "2.4g-7-2442-22", - "2.4g-8-2447-22", - "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", - "5g-100-5500-20", - "5g-102-5510-40", - "5g-104-5520-20", - "5g-106-5530-80", - "5g-108-5540-20", - "5g-110-5550-40", - "5g-112-5560-20", - "5g-114-5570-160", - "5g-116-5580-20", - "5g-118-5590-40", - "5g-120-5600-20", - "5g-122-5610-80", - "5g-124-5620-20", - "5g-126-5630-40", - "5g-128-5640-20", - "5g-132-5660-20", - "5g-134-5670-40", - "5g-136-5680-20", - "5g-138-5690-80", - "5g-140-5700-20", - "5g-142-5710-40", - "5g-144-5720-20", - "5g-149-5745-20", - "5g-151-5755-40", - "5g-153-5765-20", - "5g-155-5775-80", - "5g-157-5785-20", - "5g-159-5795-40", - "5g-161-5805-20", - "5g-163-5815-160", - "5g-165-5825-20", - "5g-167-5835-40", - "5g-169-5845-20", - "5g-171-5855-80", - "5g-173-5865-20", - "5g-175-5875-40", - "5g-177-5885-20", - "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", - "6g-101-6455-20", - "6g-103-6465-80", - "6g-105-6475-20", - "6g-107-6485-40", - "6g-109-6495-20", - "6g-111-6505-160", - "6g-113-6515-20", - "6g-115-6525-40", - "6g-117-6535-20", - "6g-119-6545-80", - "6g-121-6555-20", - "6g-123-6565-40", - "6g-125-6575-20", - "6g-129-6595-20", - "6g-131-6605-40", - "6g-133-6615-20", - "6g-135-6625-80", - "6g-137-6635-20", - "6g-139-6645-40", - "6g-141-6655-20", - "6g-143-6665-160", - "6g-145-6675-20", - "6g-147-6685-40", - "6g-149-6695-20", - "6g-151-6705-80", - "6g-153-6715-20", - "6g-155-6725-40", - "6g-157-6735-20", - "6g-159-6745-320", - "6g-161-6755-20", - "6g-163-6765-40", - "6g-165-6775-20", - "6g-167-6785-80", - "6g-169-6795-20", - "6g-171-6805-40", - "6g-173-6815-20", - "6g-175-6825-160", - "6g-177-6835-20", - "6g-179-6845-40", - "6g-181-6855-20", - "6g-183-6865-80", - "6g-185-6875-20", - "6g-187-6885-40", - "6g-189-6895-20", - "6g-193-6915-20", - "6g-195-6925-40", - "6g-197-6935-20", - "6g-199-6945-80", - "6g-201-6955-20", - "6g-203-6965-40", - "6g-205-6975-20", - "6g-207-6985-160", - "6g-209-6995-20", - "6g-211-7005-40", - "6g-213-7015-20", - "6g-215-7025-80", - "6g-217-7035-20", - "6g-219-7045-40", - "6g-221-7055-20", - "6g-225-7075-20", - "6g-227-7085-40", - "6g-229-7095-20", - "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", - "", - null - ], - "type": "string", - "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "", - null - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - }, - "rf_channel_frequency": { - "type": "number", - "format": "double", - "maximum": 100000, - "minimum": -100000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel frequency (MHz)", - "description": "Populated by selected channel (if set)" - }, - "rf_channel_width": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": -10000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel width (MHz)", - "description": "Populated by selected channel (if set)" - }, - "tx_power": { - "type": "integer", - "maximum": 127, - "minimum": -40, - "nullable": true, - "title": "Transmit power (dBm)" - }, - "untagged_vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "qinq_svlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicyRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "wireless_lans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableInterfaceTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "enabled": { - "type": "boolean" - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "bridge": { - "type": "integer", - "nullable": true, - "title": "Bridge interface" - }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "", - null - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - }, - "rf_role": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - } - }, - "PatchedWritableInventoryItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableJournalEntryRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "created_by": { - "type": "integer", - "nullable": true - }, - "kind": { - "enum": [ - "info", - "success", - "warning", - "danger" - ], - "type": "string", - "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", - "x-spec-enum-id": "a21af280f632fa34" - }, - "comments": { - "type": "string", - "minLength": 1 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableL2VPNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "type": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "evpn-vpws", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree", - "spb" - ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `evpn-vpws` - EVPN VPWS\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree\n* `spb` - SPB", - "x-spec-enum-id": "730136816a2885f9" - }, - "status": { - "enum": [ - "active", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "937bacafb9d5d4bb" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableLocationRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableModuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module_bay": { - "type": "integer" - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ] - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableModuleTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive", - "x-spec-enum-id": "f6e5562e0e98d69d", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "attributes": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritablePlatformRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritablePowerFeedRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "power_panel": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPowerPanelRequest" - } - ] - }, - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "failed" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", - "x-spec-enum-id": "b77fc919138c12f6" - }, - "type": { - "enum": [ - "primary", - "redundant" - ], - "type": "string", - "description": "* `primary` - Primary\n* `redundant` - Redundant", - "x-spec-enum-id": "093a164236819eb8" - }, - "supply": { - "enum": [ - "ac", - "dc" - ], - "type": "string", - "description": "* `ac` - AC\n* `dc` - DC", - "x-spec-enum-id": "1b6d99616ca6412b" - }, - "phase": { - "enum": [ - "single-phase", - "three-phase" - ], - "type": "string", - "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase", - "x-spec-enum-id": "994bc0696f4df57f" - }, - "voltage": { - "type": "integer", - "maximum": 32767, - "minimum": -32768 - }, - "amperage": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "max_utilization": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "description": "Maximum permissible draw (percentage)" - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritablePowerOutletRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true, - "description": "Physical port type\n\n* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" - }, - "status": { - "enum": [ - "enabled", - "disabled", - "faulty" - ], - "type": "string", - "description": "* `enabled` - Enabled\n* `disabled` - Disabled\n* `faulty` - Faulty", - "x-spec-enum-id": "1024f7deaed962d7" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "power_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "feed_leg": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true, - "description": "Phase (for three-phase feeds)\n\n* `A` - A\n* `B` - B\n* `C` - C" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritablePowerOutletTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - }, - "power_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "feed_leg": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true, - "description": "Phase (for three-phase feeds)\n\n* `A` - A\n* `B` - B\n* `C` - C" - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritablePowerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true, - "description": "Physical port type\n\n* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritablePowerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritablePrefixRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "container", - "active", - "reserved", - "deprecated" - ], - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9", - "description": "Operational status of this prefix\n\n* `container` - Container\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "is_pool": { - "type": "boolean", - "title": "Is a pool", - "description": "All IP addresses within this prefix are considered usable" - }, - "mark_utilized": { - "type": "boolean", - "description": "Treat as fully utilized" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableRackRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "facility_id": { - "type": "string", - "nullable": true, - "maxLength": 50 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "reserved", - "available", - "planned", - "active", - "deprecated" - ], - "type": "string", - "description": "* `reserved` - Reserved\n* `available` - Available\n* `planned` - Planned\n* `active` - Active\n* `deprecated` - Deprecated", - "x-spec-enum-id": "0c556d55dc1baa13" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this rack", - "maxLength": 50 - }, - "rack_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "form_factor": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3", - "description": "Rail-to-rail width\n\n* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "minimum": 0, - "maximum": 32767 - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front", - "x-spec-enum-id": "a784734d07ef1b3c", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableRackReservationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ] - }, - "units": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "status": { - "enum": [ - "pending", - "active", - "stale" - ], - "type": "string", - "description": "* `pending` - Pending\n* `active` - Active\n* `stale` - Stale", - "x-spec-enum-id": "b62013475549e423" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "minLength": 1, - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableRackTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "form_factor": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical" - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea" - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3", - "description": "Rail-to-rail width\n\n* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "minimum": 0, - "maximum": 32767 - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableRearPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Number of front ports which may be mapped" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableRearPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - } - }, - "PatchedWritableRegionRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableServiceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "parent_object_type": { - "type": "string" - }, - "parent_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "protocol": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "ipaddresses": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableServiceTemplateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "protocol": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableSiteGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableSiteRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the site", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "region": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRegionRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "time_zone": { - "type": "string", - "nullable": true, - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "physical_address": { - "type": "string", - "description": "Physical location of the building", - "maxLength": 200 - }, - "shipping_address": { - "type": "string", - "description": "If different from the physical address", - "maxLength": 200 - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableTenantGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableTunnelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "planned", - "active", - "disabled" - ], - "type": "string", - "description": "* `planned` - Planned\n* `active` - Active\n* `disabled` - Disabled", - "x-spec-enum-id": "0d65f7912cba74aa" - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTunnelGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "encapsulation": { - "enum": [ - "ipsec-transport", - "ipsec-tunnel", - "ip-ip", - "gre", - "wireguard", - "openvpn", - "l2tp", - "pptp" - ], - "type": "string", - "description": "* `ipsec-transport` - IPsec - Transport\n* `ipsec-tunnel` - IPsec - Tunnel\n* `ip-ip` - IP-in-IP\n* `gre` - GRE\n* `wireguard` - WireGuard\n* `openvpn` - OpenVPN\n* `l2tp` - L2TP\n* `pptp` - PPTP", - "x-spec-enum-id": "54a2e45824009c49" - }, - "ipsec_profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPSecProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tunnel_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableTunnelTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tunnel": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefTunnelRequest" - } - ] - }, - "role": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "outside_ip": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15", - "description": "Operational status of this VLAN\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "qinq_role": { - "enum": [ - "svlan", - "cvlan", - "", - null - ], - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role", - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)\n\n* `svlan` - Service\n* `cvlan` - Customer" - }, - "qinq_svlan": { - "type": "integer", - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVMInterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualMachineRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "type": "integer", - "nullable": true, - "title": "Parent interface" - }, - "bridge": { - "type": "integer", - "nullable": true, - "title": "Bridge interface" - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "primary_mac_address": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "", - null - ], - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true, - "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)" - }, - "untagged_vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "qinq_svlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicyRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVirtualChassisRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "domain": { - "type": "string", - "maxLength": 30 - }, - "master": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVirtualCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider_network": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderNetworkRequest" - } - ] - }, - "provider_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualCircuitTypeRequest" - } - ] - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVirtualCircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_circuit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualCircuitRequest" - } - ] - }, - "role": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "interface": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVirtualDeviceContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "identifier": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "planned", - "offline" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `offline` - Offline", - "x-spec-enum-id": "ee1ef02def7a91ab" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableVirtualMachineWithConfigContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning", - "paused" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning\n* `paused` - Paused", - "x-spec-enum-id": "c649dc8de233760f" - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "cluster": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vcpus": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": 0.01, - "exclusiveMaximum": true, - "nullable": true - }, - "memory": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Memory (MB)" - }, - "disk": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Disk (MB)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableWirelessLANGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - } - }, - "PatchedWritableWirelessLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "ssid": { - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefWirelessLANGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "disabled", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `disabled` - Disabled\n* `deprecated` - Deprecated", - "x-spec-enum-id": "412ebdca597f609e" - }, - "vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "auth_type": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "", - null - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - }, - "auth_cipher": { - "enum": [ - "auto", - "tkip", - "aes", - "", - null - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableWirelessLinkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "interface_a": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "interface_b": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "ssid": { - "type": "string", - "maxLength": 32 - }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "auth_type": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "", - null - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - }, - "auth_cipher": { - "enum": [ - "auto", - "tkip", - "aes", - "", - null - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "Platform": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPlatform" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "manufacturer": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturer" - } - ], - "nullable": true - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplate" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "device_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "virtualmachine_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "device_count", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url", - "virtualmachine_count" - ] - }, - "PlatformRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedPlatformRequest" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "PowerFeed": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "power_panel": { - "$ref": "#/components/schemas/BriefPowerPanel" - }, - "rack": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRack" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "failed" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", - "x-spec-enum-id": "b77fc919138c12f6" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Failed" - ] - } - } - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "primary", - "redundant" - ], - "type": "string", - "description": "* `primary` - Primary\n* `redundant` - Redundant", - "x-spec-enum-id": "093a164236819eb8" - }, - "label": { - "type": "string", - "enum": [ - "Primary", - "Redundant" - ] - } - } - }, - "supply": { - "type": "object", - "properties": { - "value": { - "enum": [ - "ac", - "dc" - ], - "type": "string", - "description": "* `ac` - AC\n* `dc` - DC", - "x-spec-enum-id": "1b6d99616ca6412b" - }, - "label": { - "type": "string", - "enum": [ - "AC", - "DC" - ] - } - } - }, - "phase": { - "type": "object", - "properties": { - "value": { - "enum": [ - "single-phase", - "three-phase" - ], - "type": "string", - "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase", - "x-spec-enum-id": "994bc0696f4df57f" - }, - "label": { - "type": "string", - "enum": [ - "Single phase", - "Three-phase" - ] - } - } - }, - "voltage": { - "type": "integer", - "maximum": 32767, - "minimum": -32768 - }, - "amperage": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "max_utilization": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "description": "Maximum permissible draw (percentage)" - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "nullable": true, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "power_panel", - "url" - ] - }, - "PowerFeedRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "power_panel": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPowerPanelRequest" - } - ] - }, - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "failed" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", - "x-spec-enum-id": "b77fc919138c12f6" - }, - "type": { - "enum": [ - "primary", - "redundant" - ], - "type": "string", - "description": "* `primary` - Primary\n* `redundant` - Redundant", - "x-spec-enum-id": "093a164236819eb8" - }, - "supply": { - "enum": [ - "ac", - "dc" - ], - "type": "string", - "description": "* `ac` - AC\n* `dc` - DC", - "x-spec-enum-id": "1b6d99616ca6412b" - }, - "phase": { - "enum": [ - "single-phase", - "three-phase" - ], - "type": "string", - "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase", - "x-spec-enum-id": "994bc0696f4df57f" - }, - "voltage": { - "type": "integer", - "maximum": 32767, - "minimum": -32768 - }, - "amperage": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "max_utilization": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "description": "Maximum permissible draw (percentage)" - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "power_panel" - ] - }, - "PowerOutlet": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "8f9617d2648ab261" - }, - "label": { - "type": "string", - "enum": [ - "C5", - "C7", - "C13", - "C15", - "C17", - "C19", - "C21", - "P+N+E 4H", - "P+N+E 6H", - "P+N+E 9H", - "2P+E 4H", - "2P+E 6H", - "2P+E 9H", - "3P+E 4H", - "3P+E 6H", - "3P+E 9H", - "3P+N+E 4H", - "3P+N+E 6H", - "3P+N+E 9H", - "IEC 60906-1", - "2P+T 10A (NBR 14136)", - "2P+T 20A (NBR 14136)", - "NEMA 1-15R", - "NEMA 5-15R", - "NEMA 5-20R", - "NEMA 5-30R", - "NEMA 5-50R", - "NEMA 6-15R", - "NEMA 6-20R", - "NEMA 6-30R", - "NEMA 6-50R", - "NEMA 10-30R", - "NEMA 10-50R", - "NEMA 14-20R", - "NEMA 14-30R", - "NEMA 14-50R", - "NEMA 14-60R", - "NEMA 15-15R", - "NEMA 15-20R", - "NEMA 15-30R", - "NEMA 15-50R", - "NEMA 15-60R", - "NEMA L1-15R", - "NEMA L5-15R", - "NEMA L5-20R", - "NEMA L5-30R", - "NEMA L5-50R", - "NEMA L6-15R", - "NEMA L6-20R", - "NEMA L6-30R", - "NEMA L6-50R", - "NEMA L10-30R", - "NEMA L14-20R", - "NEMA L14-30R", - "NEMA L14-50R", - "NEMA L14-60R", - "NEMA L15-20R", - "NEMA L15-30R", - "NEMA L15-50R", - "NEMA L15-60R", - "NEMA L21-20R", - "NEMA L21-30R", - "NEMA L22-20R", - "NEMA L22-30R", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ITA Type E (CEE 7/5)", - "ITA Type F (CEE 7/3)", - "ITA Type G (BS 1363)", - "ITA Type H", - "ITA Type I", - "ITA Type J", - "ITA Type K", - "ITA Type L (CEI 23-50)", - "ITA Type M (BS 546)", - "ITA Type N", - "ITA Type O", - "ITA Multistandard", - "USB Type A", - "USB Micro B", - "USB Type C", - "Molex Micro-Fit 1x2", - "Molex Micro-Fit 2x2", - "Molex Micro-Fit 2x4", - "DC Terminal", - "Eaton C39", - "HDOT Cx", - "Saf-D-Grid", - "Neutrik powerCON (20A)", - "Neutrik powerCON (32A)", - "Neutrik powerCON TRUE1", - "Neutrik powerCON TRUE1 TOP", - "Ubiquiti SmartPower", - "Hardwired", - "Other" - ] - } - }, - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "enabled", - "disabled", - "faulty" - ], - "type": "string", - "description": "* `enabled` - Enabled\n* `disabled` - Disabled\n* `faulty` - Faulty", - "x-spec-enum-id": "1024f7deaed962d7" - }, - "label": { - "type": "string", - "enum": [ - "Enabled", - "Disabled", - "Faulty" - ] - } - } - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "power_port": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPort" - } - ], - "nullable": true - }, - "feed_leg": { - "type": "object", - "properties": { - "value": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "description": "* `A` - A\n* `B` - B\n* `C` - C", - "x-spec-enum-id": "a4902339df0b7c06" - }, - "label": { - "type": "string", - "enum": [ - "A", - "B", - "C" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "nullable": true, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "url" - ] - }, - "PowerOutletRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - }, - "status": { - "enum": [ - "enabled", - "disabled", - "faulty" - ], - "type": "string", - "description": "* `enabled` - Enabled\n* `disabled` - Disabled\n* `faulty` - Faulty", - "x-spec-enum-id": "1024f7deaed962d7" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "power_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "feed_leg": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "description": "* `A` - A\n* `B` - B\n* `C` - C", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "PowerOutletTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "8f9617d2648ab261" - }, - "label": { - "type": "string", - "enum": [ - "C5", - "C7", - "C13", - "C15", - "C17", - "C19", - "C21", - "P+N+E 4H", - "P+N+E 6H", - "P+N+E 9H", - "2P+E 4H", - "2P+E 6H", - "2P+E 9H", - "3P+E 4H", - "3P+E 6H", - "3P+E 9H", - "3P+N+E 4H", - "3P+N+E 6H", - "3P+N+E 9H", - "IEC 60906-1", - "2P+T 10A (NBR 14136)", - "2P+T 20A (NBR 14136)", - "NEMA 1-15R", - "NEMA 5-15R", - "NEMA 5-20R", - "NEMA 5-30R", - "NEMA 5-50R", - "NEMA 6-15R", - "NEMA 6-20R", - "NEMA 6-30R", - "NEMA 6-50R", - "NEMA 10-30R", - "NEMA 10-50R", - "NEMA 14-20R", - "NEMA 14-30R", - "NEMA 14-50R", - "NEMA 14-60R", - "NEMA 15-15R", - "NEMA 15-20R", - "NEMA 15-30R", - "NEMA 15-50R", - "NEMA 15-60R", - "NEMA L1-15R", - "NEMA L5-15R", - "NEMA L5-20R", - "NEMA L5-30R", - "NEMA L5-50R", - "NEMA L6-15R", - "NEMA L6-20R", - "NEMA L6-30R", - "NEMA L6-50R", - "NEMA L10-30R", - "NEMA L14-20R", - "NEMA L14-30R", - "NEMA L14-50R", - "NEMA L14-60R", - "NEMA L15-20R", - "NEMA L15-30R", - "NEMA L15-50R", - "NEMA L15-60R", - "NEMA L21-20R", - "NEMA L21-30R", - "NEMA L22-20R", - "NEMA L22-30R", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ITA Type E (CEE 7/5)", - "ITA Type F (CEE 7/3)", - "ITA Type G (BS 1363)", - "ITA Type H", - "ITA Type I", - "ITA Type J", - "ITA Type K", - "ITA Type L (CEI 23-50)", - "ITA Type M (BS 546)", - "ITA Type N", - "ITA Type O", - "ITA Multistandard", - "USB Type A", - "USB Micro B", - "USB Type C", - "Molex Micro-Fit 1x2", - "Molex Micro-Fit 2x2", - "Molex Micro-Fit 2x4", - "DC Terminal", - "Eaton C39", - "HDOT Cx", - "Saf-D-Grid", - "Neutrik powerCON (20A)", - "Neutrik powerCON (32A)", - "Neutrik powerCON TRUE1", - "Neutrik powerCON TRUE1 TOP", - "Ubiquiti SmartPower", - "Hardwired", - "Other" - ] - } - }, - "nullable": true - }, - "power_port": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortTemplate" - } - ], - "nullable": true - }, - "feed_leg": { - "type": "object", - "properties": { - "value": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "description": "* `A` - A\n* `B` - B\n* `C` - C", - "x-spec-enum-id": "a4902339df0b7c06" - }, - "label": { - "type": "string", - "enum": [ - "A", - "B", - "C" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "PowerOutletTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - }, - "power_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "feed_leg": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "description": "* `A` - A\n* `B` - B\n* `C` - C", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "PowerPanel": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "powerfeed_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "powerfeed_count", - "site", - "url" - ] - }, - "PowerPanelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "site" - ] - }, - "PowerPort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "292850be2c08f7df" - }, - "label": { - "type": "string", - "enum": [ - "C6", - "C8", - "C14", - "C16", - "C18", - "C20", - "C22", - "P+N+E 4H", - "P+N+E 6H", - "P+N+E 9H", - "2P+E 4H", - "2P+E 6H", - "2P+E 9H", - "3P+E 4H", - "3P+E 6H", - "3P+E 9H", - "3P+N+E 4H", - "3P+N+E 6H", - "3P+N+E 9H", - "IEC 60906-1", - "2P+T 10A (NBR 14136)", - "2P+T 20A (NBR 14136)", - "NEMA 1-15P", - "NEMA 5-15P", - "NEMA 5-20P", - "NEMA 5-30P", - "NEMA 5-50P", - "NEMA 6-15P", - "NEMA 6-20P", - "NEMA 6-30P", - "NEMA 6-50P", - "NEMA 10-30P", - "NEMA 10-50P", - "NEMA 14-20P", - "NEMA 14-30P", - "NEMA 14-50P", - "NEMA 14-60P", - "NEMA 15-15P", - "NEMA 15-20P", - "NEMA 15-30P", - "NEMA 15-50P", - "NEMA 15-60P", - "NEMA L1-15P", - "NEMA L5-15P", - "NEMA L5-20P", - "NEMA L5-30P", - "NEMA L5-50P", - "NEMA L6-15P", - "NEMA L6-20P", - "NEMA L6-30P", - "NEMA L6-50P", - "NEMA L10-30P", - "NEMA L14-20P", - "NEMA L14-30P", - "NEMA L14-50P", - "NEMA L14-60P", - "NEMA L15-20P", - "NEMA L15-30P", - "NEMA L15-50P", - "NEMA L15-60P", - "NEMA L21-20P", - "NEMA L21-30P", - "NEMA L22-20P", - "NEMA L22-30P", - "CS6361C", - "CS6365C", - "CS8165C", - "CS8265C", - "CS8365C", - "CS8465C", - "ITA Type C (CEE 7/16)", - "ITA Type E (CEE 7/6)", - "ITA Type F (CEE 7/4)", - "ITA Type E/F (CEE 7/7)", - "ITA Type G (BS 1363)", - "ITA Type H", - "ITA Type I", - "ITA Type J", - "ITA Type K", - "ITA Type L (CEI 23-50)", - "ITA Type M (BS 546)", - "ITA Type N", - "ITA Type O", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "USB 3.0 Type B", - "USB 3.0 Micro B", - "Molex Micro-Fit 1x2", - "Molex Micro-Fit 2x2", - "Molex Micro-Fit 2x4", - "DC Terminal", - "Saf-D-Grid", - "Neutrik powerCON (20A)", - "Neutrik powerCON (32A)", - "Neutrik powerCON TRUE1", - "Neutrik powerCON TRUE1 TOP", - "Ubiquiti SmartPower", - "Hardwired", - "Other" - ] - } - }, - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "connected_endpoints": { - "type": "array", - "items": {}, - "nullable": true, - "readOnly": true - }, - "connected_endpoints_type": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "connected_endpoints_reachable": { - "type": "boolean", - "readOnly": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "connected_endpoints", - "connected_endpoints_reachable", - "connected_endpoints_type", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "url" - ] - }, - "PowerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "PowerPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "292850be2c08f7df" - }, - "label": { - "type": "string", - "enum": [ - "C6", - "C8", - "C14", - "C16", - "C18", - "C20", - "C22", - "P+N+E 4H", - "P+N+E 6H", - "P+N+E 9H", - "2P+E 4H", - "2P+E 6H", - "2P+E 9H", - "3P+E 4H", - "3P+E 6H", - "3P+E 9H", - "3P+N+E 4H", - "3P+N+E 6H", - "3P+N+E 9H", - "IEC 60906-1", - "2P+T 10A (NBR 14136)", - "2P+T 20A (NBR 14136)", - "NEMA 1-15P", - "NEMA 5-15P", - "NEMA 5-20P", - "NEMA 5-30P", - "NEMA 5-50P", - "NEMA 6-15P", - "NEMA 6-20P", - "NEMA 6-30P", - "NEMA 6-50P", - "NEMA 10-30P", - "NEMA 10-50P", - "NEMA 14-20P", - "NEMA 14-30P", - "NEMA 14-50P", - "NEMA 14-60P", - "NEMA 15-15P", - "NEMA 15-20P", - "NEMA 15-30P", - "NEMA 15-50P", - "NEMA 15-60P", - "NEMA L1-15P", - "NEMA L5-15P", - "NEMA L5-20P", - "NEMA L5-30P", - "NEMA L5-50P", - "NEMA L6-15P", - "NEMA L6-20P", - "NEMA L6-30P", - "NEMA L6-50P", - "NEMA L10-30P", - "NEMA L14-20P", - "NEMA L14-30P", - "NEMA L14-50P", - "NEMA L14-60P", - "NEMA L15-20P", - "NEMA L15-30P", - "NEMA L15-50P", - "NEMA L15-60P", - "NEMA L21-20P", - "NEMA L21-30P", - "NEMA L22-20P", - "NEMA L22-30P", - "CS6361C", - "CS6365C", - "CS8165C", - "CS8265C", - "CS8365C", - "CS8465C", - "ITA Type C (CEE 7/16)", - "ITA Type E (CEE 7/6)", - "ITA Type F (CEE 7/4)", - "ITA Type E/F (CEE 7/7)", - "ITA Type G (BS 1363)", - "ITA Type H", - "ITA Type I", - "ITA Type J", - "ITA Type K", - "ITA Type L (CEI 23-50)", - "ITA Type M (BS 546)", - "ITA Type N", - "ITA Type O", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "USB 3.0 Type B", - "USB 3.0 Micro B", - "Molex Micro-Fit 1x2", - "Molex Micro-Fit 2x2", - "Molex Micro-Fit 2x4", - "DC Terminal", - "Saf-D-Grid", - "Neutrik powerCON (20A)", - "Neutrik powerCON (32A)", - "Neutrik powerCON TRUE1", - "Neutrik powerCON TRUE1 TOP", - "Ubiquiti SmartPower", - "Hardwired", - "Other" - ] - } - }, - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "PowerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "Prefix": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "family": { - "type": "object", - "properties": { - "value": { - "enum": [ - 4, - 6 - ], - "type": "integer", - "description": "* `4` - IPv4\n* `6` - IPv6", - "x-spec-enum-id": "d72003fd1af3603d" - }, - "label": { - "type": "string", - "enum": [ - "IPv4", - "IPv6" - ] - } - }, - "readOnly": true - }, - "prefix": { - "type": "string" - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "scope": { - "nullable": true, - "readOnly": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "vlan": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLAN" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "container", - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `container` - Container\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "d38bee5f512701d9" - }, - "label": { - "type": "string", - "enum": [ - "Container", - "Active", - "Reserved", - "Deprecated" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRole" - } - ], - "nullable": true - }, - "is_pool": { - "type": "boolean", - "title": "Is a pool", - "description": "All IP addresses within this prefix are considered usable" - }, - "mark_utilized": { - "type": "boolean", - "description": "Treat as fully utilized" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "children": { - "type": "integer", - "readOnly": true - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "children", - "created", - "display", - "display_url", - "family", - "id", - "last_updated", - "prefix", - "scope", - "url" - ] - }, - "PrefixRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "container", - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `container` - Container\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "d38bee5f512701d9" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "is_pool": { - "type": "boolean", - "title": "Is a pool", - "description": "All IP addresses within this prefix are considered usable" - }, - "mark_utilized": { - "type": "boolean", - "description": "Treat as fully utilized" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "prefix" - ] - }, - "Provider": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "accounts": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedProviderAccount" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASN" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "ProviderAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "provider": { - "$ref": "#/components/schemas/BriefProvider" - }, - "name": { - "type": "string", - "default": "", - "maxLength": 100 - }, - "account": { - "type": "string", - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "account", - "created", - "display", - "display_url", - "id", - "last_updated", - "provider", - "url" - ] - }, - "ProviderAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "name": { - "type": "string", - "default": "", - "maxLength": 100 - }, - "account": { - "type": "string", - "minLength": 1, - "title": "Account ID", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "account", - "provider" - ] - }, - "ProviderNetwork": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "provider": { - "$ref": "#/components/schemas/BriefProvider" - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "service_id": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "provider", - "url" - ] - }, - "ProviderNetworkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "service_id": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "provider" - ] - }, - "ProviderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the provider", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "accounts": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "RIR": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "is_private": { - "type": "boolean", - "title": "Private", - "description": "IP space managed by this RIR is considered private" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "aggregate_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "aggregate_count", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url" - ] - }, - "RIRRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "is_private": { - "type": "boolean", - "title": "Private", - "description": "IP space managed by this RIR is considered private" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "Rack": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "facility_id": { - "type": "string", - "nullable": true, - "maxLength": 50 - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "reserved", - "available", - "planned", - "active", - "deprecated" - ], - "type": "string", - "description": "* `reserved` - Reserved\n* `available` - Available\n* `planned` - Planned\n* `active` - Active\n* `deprecated` - Deprecated", - "x-spec-enum-id": "0c556d55dc1baa13" - }, - "label": { - "type": "string", - "enum": [ - "Reserved", - "Available", - "Planned", - "Active", - "Deprecated" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRole" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this rack", - "maxLength": 50 - }, - "rack_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackType" - } - ], - "nullable": true - }, - "form_factor": { - "type": "object", - "properties": { - "value": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea" - }, - "label": { - "type": "string", - "enum": [ - "2-post frame", - "4-post frame", - "4-post cabinet", - "Wall-mounted frame", - "Wall-mounted frame (vertical)", - "Wall-mounted cabinet", - "Wall-mounted cabinet (vertical)" - ] - } - }, - "nullable": true - }, - "width": { - "type": "object", - "properties": { - "value": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "description": "* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "x-spec-enum-id": "9b322795f297a9c3" - }, - "label": { - "type": "string", - "enum": [ - "10 inches", - "19 inches", - "21 inches", - "23 inches" - ] - } - } - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" - }, - "label": { - "type": "string", - "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" - ] - } - }, - "nullable": true - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e" - }, - "label": { - "type": "string", - "enum": [ - "Millimeters", - "Inches" - ] - } - }, - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "airflow": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front-to-rear", - "rear-to-front", - "" - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front", - "x-spec-enum-id": "a784734d07ef1b3c" - }, - "label": { - "type": "string", - "enum": [ - "Front to rear", - "Rear to front" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "powerfeed_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "device_count", - "display", - "display_url", - "id", - "last_updated", - "name", - "powerfeed_count", - "site", - "url" - ] - }, - "RackRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "facility_id": { - "type": "string", - "nullable": true, - "maxLength": 50 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "reserved", - "available", - "planned", - "active", - "deprecated" - ], - "type": "string", - "description": "* `reserved` - Reserved\n* `available` - Available\n* `planned` - Planned\n* `active` - Active\n* `deprecated` - Deprecated", - "x-spec-enum-id": "0c556d55dc1baa13" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this rack", - "maxLength": 50 - }, - "rack_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "form_factor": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "description": "* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "x-spec-enum-id": "9b322795f297a9c3" - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "" - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front", - "x-spec-enum-id": "a784734d07ef1b3c" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "site" - ] - }, - "RackReservation": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "rack": { - "$ref": "#/components/schemas/BriefRack" - }, - "units": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "pending", - "active", - "stale" - ], - "type": "string", - "description": "* `pending` - Pending\n* `active` - Active\n* `stale` - Stale", - "x-spec-enum-id": "b62013475549e423" - }, - "label": { - "type": "string", - "enum": [ - "Pending", - "Active", - "Stale" - ] - } - } - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "user": { - "$ref": "#/components/schemas/BriefUser" - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "created", - "description", - "display", - "display_url", - "id", - "last_updated", - "rack", - "units", - "url", - "user" - ] - }, - "RackReservationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ] - }, - "units": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "status": { - "enum": [ - "pending", - "active", - "stale" - ], - "type": "string", - "description": "* `pending` - Pending\n* `active` - Active\n* `stale` - Stale", - "x-spec-enum-id": "b62013475549e423" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "minLength": 1, - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "description", - "rack", - "units", - "user" - ] - }, - "RackRole": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "rack_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "rack_count", - "slug", - "url" - ] - }, - "RackRoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "RackType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "manufacturer": { - "$ref": "#/components/schemas/BriefManufacturer" - }, - "model": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "form_factor": { - "type": "object", - "properties": { - "value": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea" - }, - "label": { - "type": "string", - "enum": [ - "2-post frame", - "4-post frame", - "4-post cabinet", - "Wall-mounted frame", - "Wall-mounted frame (vertical)", - "Wall-mounted cabinet", - "Wall-mounted cabinet (vertical)" - ] - } - }, - "nullable": true - }, - "width": { - "type": "object", - "properties": { - "value": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "description": "* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "x-spec-enum-id": "9b322795f297a9c3" - }, - "label": { - "type": "string", - "enum": [ - "10 inches", - "19 inches", - "21 inches", - "23 inches" - ] - } - } - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e" - }, - "label": { - "type": "string", - "enum": [ - "Millimeters", - "Inches" - ] - } - }, - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884" - }, - "label": { - "type": "string", - "enum": [ - "Kilograms", - "Grams", - "Pounds", - "Ounces" - ] - } - }, - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "manufacturer", - "model", - "slug", - "url" - ] - }, - "RackTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "form_factor": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "description": "* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "x-spec-enum-id": "9b322795f297a9c3" - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "manufacturer", - "model", - "slug" - ] - }, - "RackUnit": { - "type": "object", - "description": "A rack unit is an abstraction formed by the set (rack, position, face); it does not exist as a row in the database.", - "properties": { - "id": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "face": { - "type": "object", - "properties": { - "value": { - "enum": [ - "front", - "rear" - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83" - }, - "label": { - "type": "string", - "enum": [ - "Front", - "Rear" - ] - } - }, - "readOnly": true - }, - "device": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDevice" - } - ], - "readOnly": true - }, - "occupied": { - "type": "boolean", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "device", - "display", - "face", - "id", - "name", - "occupied" - ] - }, - "RearPort": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "module": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModule" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "label": { - "type": "string", - "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "FC/PC", - "FC/UPC", - "FC/APC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Number of front ports which may be mapped" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "cable": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCable" - } - ], - "readOnly": true, - "nullable": true - }, - "cable_end": { - "type": "string", - "readOnly": true - }, - "link_peers": { - "type": "array", - "items": {}, - "readOnly": true - }, - "link_peers_type": { - "type": "string", - "description": "Return the type of the peer link terminations, or None.", - "readOnly": true, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "_occupied": { - "type": "boolean", - "readOnly": true, - "title": " occupied" - } - }, - "required": [ - "_occupied", - "cable", - "cable_end", - "created", - "device", - "display", - "display_url", - "id", - "last_updated", - "link_peers", - "link_peers_type", - "name", - "type", - "url" - ] - }, - "RearPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Number of front ports which may be mapped" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "type" - ] - }, - "RearPortTemplate": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "device_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceType" - } - ], - "nullable": true - }, - "module_type": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleType" - } - ], - "nullable": true - }, - "name": { - "type": "string", - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "label": { - "type": "string", - "enum": [ - "8P8C", - "8P6C", - "8P4C", - "8P2C", - "6P6C", - "6P4C", - "6P2C", - "4P4C", - "4P2C", - "GG45", - "TERA 4P", - "TERA 2P", - "TERA 1P", - "110 Punch", - "BNC", - "F Connector", - "N Connector", - "MRJ21", - "FC", - "FC/PC", - "FC/UPC", - "FC/APC", - "LC", - "LC/PC", - "LC/UPC", - "LC/APC", - "LSH", - "LSH/PC", - "LSH/UPC", - "LSH/APC", - "LX.5", - "LX.5/PC", - "LX.5/UPC", - "LX.5/APC", - "MPO", - "MTRJ", - "SC", - "SC/PC", - "SC/UPC", - "SC/APC", - "ST", - "CS", - "SN", - "SMA 905", - "SMA 906", - "URM-P2", - "URM-P4", - "URM-P8", - "Splice", - "USB Type A", - "USB Type B", - "USB Type C", - "USB Mini A", - "USB Mini B", - "USB Micro A", - "USB Micro B", - "USB Micro AB", - "Other" - ] - } - } - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "type", - "url" - ] - }, - "RearPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "type" - ] - }, - "Region": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRegion" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "site_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "prefix_count", - "site_count", - "slug", - "url" - ] - }, - "RegionRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedRegionRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "Role": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "vlan_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "prefix_count", - "slug", - "url", - "vlan_count" - ] - }, - "RoleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "RouteTarget": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Route target value (formatted in accordance with RFC 4360)", - "maxLength": 21 - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "url" - ] - }, - "RouteTargetRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Route target value (formatted in accordance with RFC 4360)", - "maxLength": 21 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "SavedFilter": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "user": { - "type": "integer", - "nullable": true - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "enabled": { - "type": "boolean" - }, - "shared": { - "type": "boolean" - }, - "parameters": {}, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "object_types", - "parameters", - "slug", - "url" - ] - }, - "SavedFilterRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "user": { - "type": "integer", - "nullable": true - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "enabled": { - "type": "boolean" - }, - "shared": { - "type": "boolean" - }, - "parameters": {} - }, - "required": [ - "name", - "object_types", - "parameters", - "slug" - ] - }, - "Script": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "module": { - "type": "integer", - "readOnly": true - }, - "name": { - "type": "string", - "readOnly": true - }, - "description": { - "type": "string", - "nullable": true, - "readOnly": true - }, - "vars": { - "nullable": true, - "readOnly": true - }, - "result": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefJob" - } - ], - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "is_executable": { - "type": "boolean", - "readOnly": true - } - }, - "required": [ - "description", - "display", - "display_url", - "id", - "is_executable", - "module", - "name", - "result", - "url", - "vars" - ] - }, - "ScriptInputRequest": { - "type": "object", - "properties": { - "data": {}, - "commit": { - "type": "boolean" - }, - "schedule_at": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "interval": { - "type": "integer", - "nullable": true - } - }, - "required": [ - "commit", - "data" - ] - }, - "Service": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "parent_object_type": { - "type": "string" - }, - "parent_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "parent": { - "nullable": true, - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "protocol": { - "type": "object", - "properties": { - "value": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "label": { - "type": "string", - "enum": [ - "TCP", - "UDP", - "SCTP" - ] - } - } - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "ipaddresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IPAddress" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "parent", - "parent_object_id", - "parent_object_type", - "ports", - "url" - ] - }, - "ServiceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "parent_object_type": { - "type": "string" - }, - "parent_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "protocol": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "ipaddresses": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "parent_object_id", - "parent_object_type", - "ports" - ] - }, - "ServiceTemplate": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "protocol": { - "type": "object", - "properties": { - "value": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "label": { - "type": "string", - "enum": [ - "TCP", - "UDP", - "SCTP" - ] - } - } - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "ports", - "url" - ] - }, - "ServiceTemplateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "protocol": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "ports" - ] - }, - "Site": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the site", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Staging", - "Active", - "Decommissioning", - "Retired" - ] - } - } - }, - "region": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRegion" - } - ], - "nullable": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteGroup" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "time_zone": { - "type": "string", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "physical_address": { - "type": "string", - "description": "Physical location of the building", - "maxLength": 200 - }, - "shipping_address": { - "type": "string", - "description": "If different from the physical address", - "maxLength": 200 - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ASN" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "rack_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "virtualmachine_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "vlan_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "created", - "device_count", - "display", - "display_url", - "id", - "last_updated", - "name", - "prefix_count", - "rack_count", - "slug", - "url", - "virtualmachine_count", - "vlan_count" - ] - }, - "SiteGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteGroup" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "site_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "prefix_count", - "site_count", - "slug", - "url" - ] - }, - "SiteGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedSiteGroupRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "SiteRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the site", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "region": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRegionRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "time_zone": { - "type": "string", - "nullable": true, - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "physical_address": { - "type": "string", - "description": "Physical location of the building", - "maxLength": 200 - }, - "shipping_address": { - "type": "string", - "description": "If different from the physical address", - "maxLength": 200 - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "Subscription": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "nullable": true, - "readOnly": true - }, - "user": { - "$ref": "#/components/schemas/BriefUser" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "id", - "object", - "object_id", - "object_type", - "url", - "user" - ] - }, - "SubscriptionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - } - }, - "required": [ - "object_id", - "object_type", - "user" - ] - }, - "TableConfig": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "table": { - "type": "string", - "maxLength": 100 - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "user": { - "type": "integer", - "nullable": true - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "enabled": { - "type": "boolean" - }, - "shared": { - "type": "boolean" - }, - "columns": { - "type": "array", - "items": { - "type": "string", - "maxLength": 100 - } - }, - "ordering": { - "type": "array", - "items": { - "type": "string", - "maxLength": 100 - }, - "nullable": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "columns", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "object_type", - "table", - "url" - ] - }, - "TableConfigRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_type": { - "type": "string" - }, - "table": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "user": { - "type": "integer", - "nullable": true - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "enabled": { - "type": "boolean" - }, - "shared": { - "type": "boolean" - }, - "columns": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 100 - } - }, - "ordering": { - "type": "array", - "items": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "nullable": true - } - }, - "required": [ - "columns", - "name", - "object_type", - "table" - ] - }, - "Tag": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "pattern": "^[-\\w]+$", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "tagged_items": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "tagged_items", - "url" - ] - }, - "TagRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "pattern": "^[-\\w]+$", - "maxLength": 100 - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "name", - "slug" - ] - }, - "TaggedItem": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string", - "readOnly": true - }, - "object_id": { - "type": "integer", - "maximum": 2147483647, - "minimum": -2147483648 - }, - "object": { - "readOnly": true - }, - "tag": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTag" - } - ], - "readOnly": true - } - }, - "required": [ - "display", - "id", - "object", - "object_id", - "object_type", - "tag", - "url" - ] - }, - "Tenant": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantGroup" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "device_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "ipaddress_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "rack_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "site_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "virtualmachine_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "vlan_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "vrf_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "cluster_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "circuit_count", - "cluster_count", - "created", - "device_count", - "display", - "display_url", - "id", - "ipaddress_count", - "last_updated", - "name", - "prefix_count", - "rack_count", - "site_count", - "slug", - "url", - "virtualmachine_count", - "vlan_count", - "vrf_count" - ] - }, - "TenantGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantGroup" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "tenant_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "tenant_count", - "url" - ] - }, - "TenantGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedTenantGroupRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "TenantRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "Token": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "user": { - "$ref": "#/components/schemas/BriefUser" - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "last_used": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "key": { - "type": "string", - "maxLength": 40, - "minLength": 40 - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "url", - "user" - ] - }, - "TokenProvision": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "user": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefUser" - } - ], - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "last_used": { - "type": "string", - "format": "date-time", - "readOnly": true - }, - "key": { - "type": "string", - "readOnly": true - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "key", - "last_used", - "url", - "user" - ] - }, - "TokenProvisionRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "username": { - "type": "string", - "writeOnly": true, - "minLength": 1 - }, - "password": { - "type": "string", - "writeOnly": true, - "minLength": 1 - } - }, - "required": [ - "password", - "username" - ] - }, - "TokenRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "expires": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "last_used": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "key": { - "type": "string", - "maxLength": 40, - "minLength": 40 - }, - "write_enabled": { - "type": "boolean", - "description": "Permit create/update/delete operations using this key" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "user" - ] - }, - "Tunnel": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "active", - "disabled" - ], - "type": "string", - "description": "* `planned` - Planned\n* `active` - Active\n* `disabled` - Disabled", - "x-spec-enum-id": "0d65f7912cba74aa" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Active", - "Disabled" - ] - } - } - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTunnelGroup" - } - ], - "nullable": true - }, - "encapsulation": { - "type": "object", - "properties": { - "value": { - "enum": [ - "ipsec-transport", - "ipsec-tunnel", - "ip-ip", - "gre", - "wireguard", - "openvpn", - "l2tp", - "pptp" - ], - "type": "string", - "description": "* `ipsec-transport` - IPsec - Transport\n* `ipsec-tunnel` - IPsec - Tunnel\n* `ip-ip` - IP-in-IP\n* `gre` - GRE\n* `wireguard` - WireGuard\n* `openvpn` - OpenVPN\n* `l2tp` - L2TP\n* `pptp` - PPTP", - "x-spec-enum-id": "54a2e45824009c49" - }, - "label": { - "type": "string", - "enum": [ - "IPsec - Transport", - "IPsec - Tunnel", - "IP-in-IP", - "GRE", - "WireGuard", - "OpenVPN", - "L2TP", - "PPTP" - ] - } - } - }, - "ipsec_profile": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPSecProfile" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "tunnel_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "terminations_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "encapsulation", - "id", - "last_updated", - "name", - "status", - "terminations_count", - "url" - ] - }, - "TunnelGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "tunnel_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "tunnel_count", - "url" - ] - }, - "TunnelGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "TunnelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "planned", - "active", - "disabled" - ], - "type": "string", - "description": "* `planned` - Planned\n* `active` - Active\n* `disabled` - Disabled", - "x-spec-enum-id": "0d65f7912cba74aa" - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTunnelGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "encapsulation": { - "enum": [ - "ipsec-transport", - "ipsec-tunnel", - "ip-ip", - "gre", - "wireguard", - "openvpn", - "l2tp", - "pptp" - ], - "type": "string", - "description": "* `ipsec-transport` - IPsec - Transport\n* `ipsec-tunnel` - IPsec - Tunnel\n* `ip-ip` - IP-in-IP\n* `gre` - GRE\n* `wireguard` - WireGuard\n* `openvpn` - OpenVPN\n* `l2tp` - L2TP\n* `pptp` - PPTP", - "x-spec-enum-id": "54a2e45824009c49" - }, - "ipsec_profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPSecProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tunnel_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "encapsulation", - "name", - "status" - ] - }, - "TunnelTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "tunnel": { - "$ref": "#/components/schemas/BriefTunnel" - }, - "role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "label": { - "type": "string", - "enum": [ - "Peer", - "Hub", - "Spoke" - ] - } - } - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "termination": { - "nullable": true, - "readOnly": true - }, - "outside_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "role", - "termination", - "termination_type", - "tunnel", - "url" - ] - }, - "TunnelTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tunnel": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefTunnelRequest" - } - ] - }, - "role": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "outside_ip": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "role", - "termination_type", - "tunnel" - ] - }, - "User": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "username": { - "type": "string", - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Group" - } - }, - "permissions": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ObjectPermission" - } - } - }, - "required": [ - "display", - "display_url", - "id", - "url", - "username" - ] - }, - "UserRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "username": { - "type": "string", - "minLength": 1, - "description": "Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.", - "pattern": "^[\\w.@+-]+$", - "maxLength": 150 - }, - "password": { - "type": "string", - "writeOnly": true, - "minLength": 1, - "maxLength": 128 - }, - "first_name": { - "type": "string", - "maxLength": 150 - }, - "last_name": { - "type": "string", - "maxLength": 150 - }, - "email": { - "type": "string", - "format": "email", - "title": "Email address", - "maxLength": 254 - }, - "is_staff": { - "type": "boolean", - "title": "Staff status", - "description": "Designates whether the user can log into this admin site." - }, - "is_active": { - "type": "boolean", - "title": "Active", - "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." - }, - "date_joined": { - "type": "string", - "format": "date-time" - }, - "last_login": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "groups": { - "type": "array", - "items": { - "type": "integer" - } - }, - "permissions": { - "type": "array", - "items": { - "type": "integer" - } - } - }, - "required": [ - "password", - "username" - ] - }, - "VLAN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSite" - } - ], - "nullable": true - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANGroup" - } - ], - "nullable": true - }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Reserved", - "Deprecated" - ] - } - } - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRole" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "qinq_role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "svlan", - "cvlan", - null - ], - "type": "string", - "description": "* `svlan` - Service\n* `cvlan` - Customer", - "x-spec-enum-id": "d2510f2d3e3d3fb1" - }, - "label": { - "type": "string", - "enum": [ - "Service", - "Customer" - ] - } - }, - "nullable": true - }, - "qinq_svlan": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVLAN" - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "l2vpn_termination": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefL2VPNTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "l2vpn_termination", - "last_updated", - "name", - "prefix_count", - "url", - "vid" - ] - }, - "VLANGroup": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "scope": { - "nullable": true, - "readOnly": true - }, - "vid_ranges": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IntegerRange" - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "vlan_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "utilization": { - "type": "string", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "scope", - "slug", - "url", - "utilization", - "vlan_count" - ] - }, - "VLANGroupRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "vid_ranges": { - "type": "array", - "items": { - "$ref": "#/components/schemas/IntegerRangeRequest" - } - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "VLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated", - "x-spec-enum-id": "6388dfb94ca1cc15" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "qinq_role": { - "enum": [ - "svlan", - "cvlan", - null - ], - "type": "string", - "description": "* `svlan` - Service\n* `cvlan` - Customer", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true - }, - "qinq_svlan": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVLANRequest" - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "vid" - ] - }, - "VLANTranslationPolicy": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "rules": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLANTranslationRule" - }, - "readOnly": true - } - }, - "required": [ - "display", - "id", - "name", - "rules", - "url" - ] - }, - "VLANTranslationPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "VLANTranslationRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "policy": { - "type": "integer" - }, - "local_vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "Local VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "remote_vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "Remote VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "local_vid", - "policy", - "remote_vid", - "url" - ] - }, - "VLANTranslationRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "policy": { - "type": "integer" - }, - "local_vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "Local VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "remote_vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "Remote VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "local_vid", - "policy", - "remote_vid" - ] - }, - "VMInterface": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "virtual_machine": { - "$ref": "#/components/schemas/BriefVirtualMachine" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVMInterface" - } - ], - "nullable": true - }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVMInterface" - } - ], - "nullable": true - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "mac_address": { - "type": "string", - "readOnly": true, - "nullable": true - }, - "primary_mac_address": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddress" - } - ], - "nullable": true - }, - "mac_addresses": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefMACAddress" - }, - "readOnly": true, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "type": "object", - "properties": { - "value": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "" - ], - "type": "string", - "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)", - "x-spec-enum-id": "b6fe48fe21dbf01d" - }, - "label": { - "type": "string", - "enum": [ - "Access", - "Tagged", - "Tagged (All)", - "Q-in-Q (802.1ad)" - ] - } - } - }, - "untagged_vlan": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLAN" - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VLAN" - } - }, - "qinq_svlan": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLAN" - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicy" - } - ], - "nullable": true - }, - "vrf": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRF" - } - ], - "nullable": true - }, - "l2vpn_termination": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefL2VPNTermination" - } - ], - "readOnly": true, - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "count_ipaddresses": { - "type": "integer", - "readOnly": true - }, - "count_fhrp_groups": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "count_fhrp_groups", - "count_ipaddresses", - "created", - "display", - "display_url", - "id", - "l2vpn_termination", - "last_updated", - "mac_address", - "mac_addresses", - "name", - "url", - "virtual_machine" - ] - }, - "VMInterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualMachineRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVMInterfaceRequest" - } - ], - "nullable": true - }, - "bridge": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedVMInterfaceRequest" - } - ], - "nullable": true - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "primary_mac_address": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "" - ], - "type": "string", - "description": "* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)", - "x-spec-enum-id": "b6fe48fe21dbf01d" - }, - "untagged_vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "qinq_svlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicyRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "virtual_machine" - ] - }, - "VRF": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - }, - "export_targets": { - "type": "array", - "items": { - "$ref": "#/components/schemas/RouteTarget" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "ipaddress_count": { - "type": "integer", - "format": "int64", - "readOnly": true - }, - "prefix_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "ipaddress_count", - "last_updated", - "name", - "prefix_count", - "url" - ] - }, - "VRFRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "rd": { - "type": "string", - "nullable": true, - "title": "Route distinguisher", - "description": "Unique route distinguisher (as defined in RFC 4364)", - "maxLength": 21 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "enforce_unique": { - "type": "boolean", - "title": "Enforce unique space", - "description": "Prevent duplicate prefixes/IP addresses within this VRF" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "VirtualChassis": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "domain": { - "type": "string", - "maxLength": 30 - }, - "master": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDevice" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "member_count": { - "type": "integer", - "readOnly": true - }, - "members": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedDevice" - }, - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "member_count", - "members", - "name", - "url" - ] - }, - "VirtualChassisRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "domain": { - "type": "string", - "maxLength": 30 - }, - "master": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedDeviceRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "VirtualCircuit": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "cid": { - "type": "string", - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider_network": { - "$ref": "#/components/schemas/BriefProviderNetwork" - }, - "provider_account": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccount" - } - ], - "nullable": true - }, - "type": { - "$ref": "#/components/schemas/BriefVirtualCircuitType" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "label": { - "type": "string", - "enum": [ - "Planned", - "Provisioning", - "Active", - "Offline", - "Deprovisioning", - "Decommissioned" - ] - } - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "cid", - "created", - "display", - "display_url", - "id", - "last_updated", - "provider_network", - "type", - "url" - ] - }, - "VirtualCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider_network": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderNetworkRequest" - } - ] - }, - "provider_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualCircuitTypeRequest" - } - ] - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "cid", - "provider_network", - "type" - ] - }, - "VirtualCircuitTermination": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "virtual_circuit": { - "$ref": "#/components/schemas/BriefVirtualCircuit" - }, - "role": { - "type": "object", - "properties": { - "value": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "label": { - "type": "string", - "enum": [ - "Peer", - "Hub", - "Spoke" - ] - } - } - }, - "interface": { - "$ref": "#/components/schemas/BriefInterface" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "interface", - "last_updated", - "url", - "virtual_circuit" - ] - }, - "VirtualCircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_circuit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualCircuitRequest" - } - ] - }, - "role": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "interface": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "interface", - "virtual_circuit" - ] - }, - "VirtualCircuitType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "virtual_circuit_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url", - "virtual_circuit_count" - ] - }, - "VirtualCircuitTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "VirtualDeviceContext": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "device": { - "$ref": "#/components/schemas/BriefDevice" - }, - "identifier": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "primary_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "readOnly": true, - "nullable": true - }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "planned", - "offline" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `offline` - Offline", - "x-spec-enum-id": "ee1ef02def7a91ab" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Planned", - "Offline" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "interface_count": { - "type": "integer", - "format": "int64", - "readOnly": true - } - }, - "required": [ - "created", - "device", - "display", - "display_url", - "id", - "interface_count", - "last_updated", - "name", - "primary_ip", - "status", - "url" - ] - }, - "VirtualDeviceContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "identifier": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "planned", - "offline" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `offline` - Offline", - "x-spec-enum-id": "ee1ef02def7a91ab" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "status" - ] - }, - "VirtualDisk": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "virtual_machine": { - "$ref": "#/components/schemas/BriefVirtualMachine" - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "size": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "title": "Size (MB)" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "size", - "url", - "virtual_machine" - ] - }, - "VirtualDiskRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualMachineRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "size": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "title": "Size (MB)" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "size", - "virtual_machine" - ] - }, - "VirtualMachineWithConfigContext": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 64 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning", - "paused" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning\n* `paused` - Paused", - "x-spec-enum-id": "c649dc8de233760f" - }, - "label": { - "type": "string", - "enum": [ - "Offline", - "Active", - "Planned", - "Staged", - "Failed", - "Decommissioning", - "Paused" - ] - } - } - }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSite" - } - ], - "nullable": true - }, - "cluster": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCluster" - } - ], - "nullable": true - }, - "device": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDevice" - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "role": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRole" - } - ], - "nullable": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "platform": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatform" - } - ], - "nullable": true - }, - "primary_ip": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "readOnly": true, - "nullable": true - }, - "primary_ip4": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "primary_ip6": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddress" - } - ], - "nullable": true - }, - "vcpus": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": 0.01, - "exclusiveMaximum": true, - "nullable": true - }, - "memory": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Memory (MB)" - }, - "disk": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Disk (MB)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplate" - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "config_context": { - "nullable": true, - "readOnly": true - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "interface_count": { - "type": "integer", - "readOnly": true - }, - "virtual_disk_count": { - "type": "integer", - "readOnly": true - } - }, - "required": [ - "config_context", - "created", - "display", - "display_url", - "id", - "interface_count", - "last_updated", - "name", - "primary_ip", - "url", - "virtual_disk_count" - ] - }, - "VirtualMachineWithConfigContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning", - "paused" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning\n* `paused` - Paused", - "x-spec-enum-id": "c649dc8de233760f" - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "cluster": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vcpus": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": 0.01, - "exclusiveMaximum": true, - "nullable": true - }, - "memory": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Memory (MB)" - }, - "disk": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Disk (MB)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "Webhook": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 150 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "payload_url": { - "type": "string", - "title": "URL", - "description": "This URL will be called using the HTTP method defined when the webhook is called. Jinja2 template processing is supported with the same context as the request body.", - "maxLength": 500 - }, - "http_method": { - "enum": [ - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ], - "type": "string", - "description": "* `GET` - GET\n* `POST` - POST\n* `PUT` - PUT\n* `PATCH` - PATCH\n* `DELETE` - DELETE", - "x-spec-enum-id": "a12018571a034921" - }, - "http_content_type": { - "type": "string", - "description": "The complete list of official content types is available here.", - "maxLength": 100 - }, - "additional_headers": { - "type": "string", - "description": "User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is supported with the same context as the request body (below)." - }, - "body_template": { - "type": "string", - "description": "Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data." - }, - "secret": { - "type": "string", - "description": "When provided, the request will include a X-Hook-Signature header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request.", - "maxLength": 255 - }, - "ssl_verification": { - "type": "boolean", - "description": "Enable SSL certificate verification. Disable with caution!" - }, - "ca_file_path": { - "type": "string", - "nullable": true, - "description": "The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults.", - "maxLength": 4096 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "payload_url", - "url" - ] - }, - "WebhookRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "payload_url": { - "type": "string", - "minLength": 1, - "title": "URL", - "description": "This URL will be called using the HTTP method defined when the webhook is called. Jinja2 template processing is supported with the same context as the request body.", - "maxLength": 500 - }, - "http_method": { - "enum": [ - "GET", - "POST", - "PUT", - "PATCH", - "DELETE" - ], - "type": "string", - "description": "* `GET` - GET\n* `POST` - POST\n* `PUT` - PUT\n* `PATCH` - PATCH\n* `DELETE` - DELETE", - "x-spec-enum-id": "a12018571a034921" - }, - "http_content_type": { - "type": "string", - "minLength": 1, - "description": "The complete list of official content types is available here.", - "maxLength": 100 - }, - "additional_headers": { - "type": "string", - "description": "User-supplied HTTP headers to be sent with the request in addition to the HTTP content type. Headers should be defined in the format Name: Value. Jinja2 template processing is supported with the same context as the request body (below)." - }, - "body_template": { - "type": "string", - "description": "Jinja2 template for a custom request body. If blank, a JSON object representing the change will be included. Available context data includes: event, model, timestamp, username, request_id, and data." - }, - "secret": { - "type": "string", - "description": "When provided, the request will include a X-Hook-Signature header containing a HMAC hex digest of the payload body using the secret as the key. The secret is not transmitted in the request.", - "maxLength": 255 - }, - "ssl_verification": { - "type": "boolean", - "description": "Enable SSL certificate verification. Disable with caution!" - }, - "ca_file_path": { - "type": "string", - "nullable": true, - "description": "The specific CA certificate file to use for SSL verification. Leave blank to use the system defaults.", - "maxLength": 4096 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "name", - "payload_url" - ] - }, - "WirelessLAN": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "ssid": { - "type": "string", - "maxLength": 32 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "group": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefWirelessLANGroup" - } - ], - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "active", - "reserved", - "disabled", - "deprecated", - "" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `disabled` - Disabled\n* `deprecated` - Deprecated", - "x-spec-enum-id": "412ebdca597f609e" - }, - "label": { - "type": "string", - "enum": [ - "Active", - "Reserved", - "Disabled", - "Deprecated" - ] - } - } - }, - "vlan": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLAN" - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "scope": { - "nullable": true, - "readOnly": true - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "auth_type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "" - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954" - }, - "label": { - "type": "string", - "enum": [ - "Open", - "WEP", - "WPA Personal (PSK)", - "WPA Enterprise" - ] - } - } - }, - "auth_cipher": { - "type": "object", - "properties": { - "value": { - "enum": [ - "auto", - "tkip", - "aes", - "" - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc" - }, - "label": { - "type": "string", - "enum": [ - "Auto", - "TKIP", - "AES" - ] - } - } - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "last_updated", - "scope", - "ssid", - "url" - ] - }, - "WirelessLANGroup": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "slug": { - "type": "string", - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedWirelessLANGroup" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "wirelesslan_count": { - "type": "integer", - "readOnly": true, - "default": 0 - }, - "comments": { - "type": "string" - }, - "_depth": { - "type": "integer", - "readOnly": true, - "title": " depth" - } - }, - "required": [ - "_depth", - "created", - "display", - "display_url", - "id", - "last_updated", - "name", - "slug", - "url", - "wirelesslan_count" - ] - }, - "WirelessLANGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "allOf": [ - { - "$ref": "#/components/schemas/NestedWirelessLANGroupRequest" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WirelessLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "ssid": { - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefWirelessLANGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "disabled", - "deprecated", - "" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `disabled` - Disabled\n* `deprecated` - Deprecated", - "x-spec-enum-id": "412ebdca597f609e" - }, - "vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "auth_type": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "" - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954" - }, - "auth_cipher": { - "enum": [ - "auto", - "tkip", - "aes", - "" - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc" - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "ssid" - ] - }, - "WirelessLink": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display_url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "interface_a": { - "$ref": "#/components/schemas/BriefInterface" - }, - "interface_b": { - "$ref": "#/components/schemas/BriefInterface" - }, - "ssid": { - "type": "string", - "maxLength": 32 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "label": { - "type": "string", - "enum": [ - "Connected", - "Planned", - "Decommissioning" - ] - } - } - }, - "tenant": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenant" - } - ], - "nullable": true - }, - "auth_type": { - "type": "object", - "properties": { - "value": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "" - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954" - }, - "label": { - "type": "string", - "enum": [ - "Open", - "WEP", - "WPA Personal (PSK)", - "WPA Enterprise" - ] - } - } - }, - "auth_cipher": { - "type": "object", - "properties": { - "value": { - "enum": [ - "auto", - "tkip", - "aes", - "" - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc" - }, - "label": { - "type": "string", - "enum": [ - "Auto", - "TKIP", - "AES" - ] - } - } - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "type": "object", - "properties": { - "value": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af" - }, - "label": { - "type": "string", - "enum": [ - "Kilometers", - "Meters", - "Miles", - "Feet" - ] - } - }, - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "display_url", - "id", - "interface_a", - "interface_b", - "last_updated", - "url" - ] - }, - "WirelessLinkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "interface_a": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "interface_b": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "ssid": { - "type": "string", - "maxLength": 32 - }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "auth_type": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "" - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954" - }, - "auth_cipher": { - "enum": [ - "auto", - "tkip", - "aes", - "" - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc" - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "interface_a", - "interface_b" - ] - }, - "WritableAggregateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 - }, - "rir": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRIRRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "date_added": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "prefix", - "rir" - ] - }, - "WritableCableRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb", - "", - null - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "c731f2793fceac04", - "nullable": true - }, - "a_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } - }, - "b_terminations": { - "type": "array", - "items": { - "$ref": "#/components/schemas/GenericObjectRequest" - } - }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "label": { - "type": "string", - "maxLength": 100 - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "length": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "length_unit": { - "enum": [ - "km", - "m", - "cm", - "mi", - "ft", - "in", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `cm` - Centimeters\n* `mi` - Miles\n* `ft` - Feet\n* `in` - Inches", - "x-spec-enum-id": "e64ce3a2c5997172", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "WritableCircuitGroupAssignmentRequest": { - "type": "object", - "description": "Base serializer for group assignments under CircuitSerializer.", - "properties": { - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitGroupRequest" - } - ] - }, - "member_type": { - "type": "string" - }, - "member_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "", - null - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "group", - "member_id", - "member_type" - ] - }, - "WritableCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderRequest" - } - ] - }, - "provider_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCircuitTypeRequest" - } - ] - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "install_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Installed" - }, - "termination_date": { - "type": "string", - "format": "date", - "nullable": true, - "title": "Terminates" - }, - "commit_rate": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Commit rate (Kbps)", - "description": "Committed rate" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "assignments": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BriefCircuitGroupAssignmentSerializer_Request" - } - } - }, - "required": [ - "cid", - "provider", - "type" - ] - }, - "WritableClusterRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefClusterTypeRequest" - } - ] - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "offline" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `offline` - Offline", - "x-spec-enum-id": "79d20a734d0eecbb" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "type" - ] - }, - "WritableConsolePortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true, - "description": "Physical port type\n\n* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other" - }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true, - "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "minimum": 0, - "maximum": 2147483647 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritableConsolePortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "WritableConsoleServerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true, - "description": "Physical port type\n\n* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other" - }, - "speed": { - "enum": [ - 1200, - 2400, - 4800, - 9600, - 19200, - 38400, - 57600, - 115200, - null - ], - "type": "integer", - "x-spec-enum-id": "ab6d9635c131a378", - "nullable": true, - "description": "Port speed in bits per second\n\n* `1200` - 1200 bps\n* `2400` - 2400 bps\n* `4800` - 4800 bps\n* `9600` - 9600 bps\n* `19200` - 19.2 kbps\n* `38400` - 38.4 kbps\n* `57600` - 57.6 kbps\n* `115200` - 115.2 kbps", - "minimum": 0, - "maximum": 2147483647 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritableConsoleServerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "de-9", - "db-25", - "rj-11", - "rj-12", - "rj-45", - "mini-din-8", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other", - "", - null - ], - "type": "string", - "description": "* `de-9` - DE-9\n* `db-25` - DB-25\n* `rj-11` - RJ-11\n* `rj-12` - RJ-12\n* `rj-45` - RJ-45\n* `mini-din-8` - Mini-DIN 8\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "c5f7197b7211818a", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "WritableContactAssignmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "contact": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefContactRequest" - } - ] - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefContactRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "priority": { - "enum": [ - "primary", - "secondary", - "tertiary", - "inactive", - "", - null - ], - "type": "string", - "description": "* `primary` - Primary\n* `secondary` - Secondary\n* `tertiary` - Tertiary\n* `inactive` - Inactive", - "x-spec-enum-id": "ef3a31644cec7524", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "contact", - "object_id", - "object_type" - ] - }, - "WritableContactGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableCustomFieldChoiceSetRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "base_choices": { - "enum": [ - "IATA", - "ISO_3166", - "UN_LOCODE", - "", - null - ], - "type": "string", - "x-spec-enum-id": "cf0efb5195f85007", - "nullable": true, - "description": "Base set of predefined choices (optional)\n\n* `IATA` - IATA (Airport codes)\n* `ISO_3166` - ISO 3166 (Country codes)\n* `UN_LOCODE` - UN/LOCODE (Location codes)" - }, - "extra_choices": { - "type": "array", - "items": { - "type": "array", - "items": {}, - "maxItems": 2, - "minItems": 2 - } - }, - "order_alphabetically": { - "type": "boolean", - "description": "Choices are automatically ordered alphabetically" - } - }, - "required": [ - "extra_choices", - "name" - ] - }, - "WritableCustomFieldRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "type": { - "enum": [ - "text", - "longtext", - "integer", - "decimal", - "boolean", - "date", - "datetime", - "url", - "json", - "select", - "multiselect", - "object", - "multiobject" - ], - "type": "string", - "x-spec-enum-id": "22e3a64138d10046", - "description": "The type of data this custom field holds\n\n* `text` - Text\n* `longtext` - Text (long)\n* `integer` - Integer\n* `decimal` - Decimal\n* `boolean` - Boolean (true/false)\n* `date` - Date\n* `datetime` - Date & time\n* `url` - URL\n* `json` - JSON\n* `select` - Selection\n* `multiselect` - Multiple selection\n* `object` - Object\n* `multiobject` - Multiple objects" - }, - "related_object_type": { - "type": "string", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "Internal field name", - "pattern": "^[a-z0-9_]+$", - "maxLength": 50 - }, - "label": { - "type": "string", - "description": "Name of the field as displayed to users (if not provided, 'the field's name will be used)", - "maxLength": 50 - }, - "group_name": { - "type": "string", - "description": "Custom fields within the same group will be displayed together", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "required": { - "type": "boolean", - "description": "This field is required when creating new objects or editing an existing object." - }, - "unique": { - "type": "boolean", - "title": "Must be unique", - "description": "The value of this field must be unique for the assigned object" - }, - "search_weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "description": "Weighting for search. Lower values are considered more important. Fields with a search weight of zero will be ignored." - }, - "filter_logic": { - "enum": [ - "disabled", - "loose", - "exact" - ], - "type": "string", - "x-spec-enum-id": "a958350ae21c10ee", - "description": "Loose matches any instance of a given string; exact matches the entire field.\n\n* `disabled` - Disabled\n* `loose` - Loose\n* `exact` - Exact" - }, - "ui_visible": { - "enum": [ - "always", - "if-set", - "hidden" - ], - "type": "string", - "x-spec-enum-id": "cd2cf94af56de747", - "description": "Specifies whether the custom field is displayed in the UI\n\n* `always` - Always\n* `if-set` - If set\n* `hidden` - Hidden" - }, - "ui_editable": { - "enum": [ - "yes", - "no", - "hidden" - ], - "type": "string", - "x-spec-enum-id": "1065673147e26bb5", - "description": "Specifies whether the custom field value can be edited in the UI\n\n* `yes` - Yes\n* `no` - No\n* `hidden` - Hidden" - }, - "is_cloneable": { - "type": "boolean", - "description": "Replicate this value when cloning objects" - }, - "default": { - "nullable": true, - "description": "Default value for the field (must be a JSON value). Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "related_object_filter": { - "nullable": true, - "description": "Filter the object selection choices using a query_params dict (must be a JSON value).Encapsulate strings with double quotes (e.g. \"Foo\")." - }, - "weight": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "title": "Display weight", - "description": "Fields with higher weights appear lower in a form." - }, - "validation_minimum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Minimum value", - "description": "Minimum allowed value (for numeric fields)" - }, - "validation_maximum": { - "type": "number", - "format": "double", - "maximum": 1000000000000, - "minimum": -1000000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Maximum value", - "description": "Maximum allowed value (for numeric fields)" - }, - "validation_regex": { - "type": "string", - "description": "Regular expression to enforce on text field values. Use ^ and $ to force matching of entire string. For example, ^[A-Z]{3}$ will limit values to exactly three uppercase letters.", - "maxLength": 500 - }, - "choice_set": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCustomFieldChoiceSetRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "object_types" - ] - }, - "WritableDataSourceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "type": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "source_url": { - "type": "string", - "minLength": 1, - "title": "URL", - "maxLength": 200 - }, - "enabled": { - "type": "boolean" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "sync_interval": { - "enum": [ - 1, - 60, - 720, - 1440, - 10080, - 43200, - null - ], - "type": "integer", - "description": "* `1` - Minutely\n* `60` - Hourly\n* `720` - 12 hours\n* `1440` - Daily\n* `10080` - Weekly\n* `43200` - 30 days", - "x-spec-enum-id": "2e9f2567ecd93fbe", - "nullable": true, - "minimum": 0, - "maximum": 32767 - }, - "parameters": { - "nullable": true - }, - "ignore_rules": { - "type": "string", - "description": "Patterns (one per line) matching files to ignore when syncing" - }, - "comments": { - "type": "string" - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "source_url", - "type" - ] - }, - "WritableDeviceRoleRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "color": { - "type": "string", - "minLength": 1, - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "vm_role": { - "type": "boolean", - "description": "Virtual machines may be assigned to this role" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableDeviceTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "default_platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "u_height": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.0, - "exclusiveMaximum": true, - "default": 1.0, - "title": "Position (U)" - }, - "exclude_from_utilization": { - "type": "boolean", - "description": "Devices of this type are excluded when calculating rack utilization." - }, - "is_full_depth": { - "type": "boolean", - "description": "Device consumes both front and rear rack faces." - }, - "subdevice_role": { - "enum": [ - "parent", - "child", - "", - null - ], - "type": "string", - "x-spec-enum-id": "d10d91f690a856c2", - "nullable": true, - "title": "Parent/child status", - "description": "Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child.\n\n* `parent` - Parent\n* `child` - Child" - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "front_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "rear_image": { - "type": "string", - "format": "binary", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "manufacturer", - "model", - "slug" - ] - }, - "WritableDeviceWithConfigContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "nullable": true, - "maxLength": 64 - }, - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ] - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRoleRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Chassis serial number, assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "position": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": 0.5, - "exclusiveMaximum": true, - "nullable": true, - "title": "Position (U)" - }, - "face": { - "enum": [ - "front", - "rear", - "", - null - ], - "type": "string", - "description": "* `front` - Front\n* `rear` - Rear", - "x-spec-enum-id": "d2fb9b3f75158b83", - "nullable": true, - "title": "Rack face" - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "inventory", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `inventory` - Inventory\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "8d8971779f16ee18" - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "rear-to-side", - "bottom-to-top", - "top-to-bottom", - "passive", - "mixed", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `rear-to-side` - Rear to side\n* `bottom-to-top` - Bottom to top\n* `top-to-bottom` - Top to bottom\n* `passive` - Passive\n* `mixed` - Mixed", - "x-spec-enum-id": "943288113dad6782", - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "oob_ip": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "cluster": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "virtual_chassis": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVirtualChassisRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vc_position": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true - }, - "vc_priority": { - "type": "integer", - "maximum": 255, - "minimum": 0, - "nullable": true, - "description": "Virtual chassis master election priority" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device_type", - "role", - "site" - ] - }, - "WritableEventRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 150 - }, - "enabled": { - "type": "boolean" - }, - "event_types": { - "type": "array", - "items": { - "enum": [ - "object_created", - "object_updated", - "object_deleted", - "job_started", - "job_completed", - "job_failed", - "job_errored" - ], - "type": "string", - "description": "* `object_created` - Object created\n* `object_updated` - Object updated\n* `object_deleted` - Object deleted\n* `job_started` - Job started\n* `job_completed` - Job completed\n* `job_failed` - Job failed\n* `job_errored` - Job errored", - "x-spec-enum-id": "80d172232f4af424" - }, - "description": "The types of event which will trigger this rule." - }, - "conditions": { - "nullable": true, - "description": "A set of conditions which determine whether the event will be generated." - }, - "action_type": { - "enum": [ - "webhook", - "script", - "notification" - ], - "type": "string", - "description": "* `webhook` - Webhook\n* `script` - Script\n* `notification` - Notification", - "x-spec-enum-id": "d07193c73ebc03c6" - }, - "action_object_type": { - "type": "string" - }, - "action_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - } - }, - "required": [ - "action_object_type", - "event_types", - "name", - "object_types" - ] - }, - "WritableFrontPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "type": "integer" - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Mapped position on corresponding rear port" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "rear_port", - "type" - ] - }, - "WritableFrontPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "rear_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRearPortTemplateRequest" - } - ] - }, - "rear_port_position": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "rear_port", - "type" - ] - }, - "WritableIKEPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "version": { - "enum": [ - 1, - 2 - ], - "type": "integer", - "description": "* `1` - IKEv1\n* `2` - IKEv2", - "x-spec-enum-id": "00872b77916a1fde", - "minimum": 0, - "maximum": 32767 - }, - "mode": { - "enum": [ - "aggressive", - "main", - "", - null - ], - "type": "string", - "description": "* `aggressive` - Aggressive\n* `main` - Main", - "x-spec-enum-id": "64c1be7bdb2548ca", - "nullable": true - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "preshared_key": { - "type": "string", - "title": "Pre-shared key" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableIKEProposalRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "authentication_method": { - "enum": [ - "preshared-keys", - "certificates", - "rsa-signatures", - "dsa-signatures" - ], - "type": "string", - "description": "* `preshared-keys` - Pre-shared keys\n* `certificates` - Certificates\n* `rsa-signatures` - RSA signatures\n* `dsa-signatures` - DSA signatures", - "x-spec-enum-id": "92bb2f1103b3a262" - }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc" - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe" - }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5", - "", - null - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true - }, - "group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34 - ], - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "description": "Diffie-Hellman group ID\n\n* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "minimum": 0, - "maximum": 32767 - }, - "sa_lifetime": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Security association lifetime (in seconds)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "authentication_method", - "encryption_algorithm", - "group", - "name" - ] - }, - "WritableIPAddressRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated", - "dhcp", - "slaac" - ], - "type": "string", - "x-spec-enum-id": "24935cfee15bd268", - "description": "The operational status of this IP\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated\n* `dhcp` - DHCP\n* `slaac` - SLAAC" - }, - "role": { - "enum": [ - "loopback", - "secondary", - "anycast", - "vip", - "vrrp", - "hsrp", - "glbp", - "carp", - "", - null - ], - "type": "string", - "x-spec-enum-id": "10fbcb4930889b0f", - "nullable": true, - "description": "The functional role of this IP\n\n* `loopback` - Loopback\n* `secondary` - Secondary\n* `anycast` - Anycast\n* `vip` - VIP\n* `vrrp` - VRRP\n* `hsrp` - HSRP\n* `glbp` - GLBP\n* `carp` - CARP" - }, - "assigned_object_type": { - "type": "string", - "nullable": true - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "nat_inside": { - "type": "integer", - "nullable": true, - "title": "NAT (inside)", - "description": "The IP for which this address is the \"outside\" IP" - }, - "dns_name": { - "type": "string", - "description": "Hostname or FQDN (not case-sensitive)", - "pattern": "^([0-9A-Za-z_-]+|\\*)(\\.[0-9A-Za-z_-]+)*\\.?$", - "maxLength": 255 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "address" - ] - }, - "WritableIPRangeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "start_address": { - "type": "string", - "minLength": 1 - }, - "end_address": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15", - "description": "Operational status of this range\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "mark_populated": { - "type": "boolean", - "description": "Prevent the creation of IP addresses within this range" - }, - "mark_utilized": { - "type": "boolean", - "description": "Report space as fully utilized" - } - }, - "required": [ - "end_address", - "start_address" - ] - }, - "WritableIPSecPolicyRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "proposals": { - "type": "array", - "items": { - "type": "integer" - } - }, - "pfs_group": { - "enum": [ - 1, - 2, - 5, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - null - ], - "type": "integer", - "x-spec-enum-id": "dbef43be795462a8", - "nullable": true, - "description": "Diffie-Hellman group for Perfect Forward Secrecy\n\n* `1` - Group 1\n* `2` - Group 2\n* `5` - Group 5\n* `14` - Group 14\n* `15` - Group 15\n* `16` - Group 16\n* `17` - Group 17\n* `18` - Group 18\n* `19` - Group 19\n* `20` - Group 20\n* `21` - Group 21\n* `22` - Group 22\n* `23` - Group 23\n* `24` - Group 24\n* `25` - Group 25\n* `26` - Group 26\n* `27` - Group 27\n* `28` - Group 28\n* `29` - Group 29\n* `30` - Group 30\n* `31` - Group 31\n* `32` - Group 32\n* `33` - Group 33\n* `34` - Group 34", - "minimum": 0, - "maximum": 32767 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableIPSecProfileRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "esp", - "ah" - ], - "type": "string", - "description": "* `esp` - ESP\n* `ah` - AH", - "x-spec-enum-id": "1136c2cdfee84436" - }, - "ike_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefIKEPolicyRequest" - } - ] - }, - "ipsec_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefIPSecPolicyRequest" - } - ] - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "ike_policy", - "ipsec_policy", - "mode", - "name" - ] - }, - "WritableIPSecProposalRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "encryption_algorithm": { - "enum": [ - "aes-128-cbc", - "aes-128-gcm", - "aes-192-cbc", - "aes-192-gcm", - "aes-256-cbc", - "aes-256-gcm", - "3des-cbc", - "des-cbc", - "", - null - ], - "type": "string", - "description": "* `aes-128-cbc` - 128-bit AES (CBC)\n* `aes-128-gcm` - 128-bit AES (GCM)\n* `aes-192-cbc` - 192-bit AES (CBC)\n* `aes-192-gcm` - 192-bit AES (GCM)\n* `aes-256-cbc` - 256-bit AES (CBC)\n* `aes-256-gcm` - 256-bit AES (GCM)\n* `3des-cbc` - 3DES\n* `des-cbc` - DES", - "x-spec-enum-id": "b022535cfdee79fe", - "nullable": true, - "title": "Encryption" - }, - "authentication_algorithm": { - "enum": [ - "hmac-sha1", - "hmac-sha256", - "hmac-sha384", - "hmac-sha512", - "hmac-md5", - "", - null - ], - "type": "string", - "description": "* `hmac-sha1` - SHA-1 HMAC\n* `hmac-sha256` - SHA-256 HMAC\n* `hmac-sha384` - SHA-384 HMAC\n* `hmac-sha512` - SHA-512 HMAC\n* `hmac-md5` - MD5 HMAC", - "x-spec-enum-id": "0830e8839f5dea4f", - "nullable": true, - "title": "Authentication" - }, - "sa_lifetime_seconds": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (seconds)", - "description": "Security association lifetime (seconds)" - }, - "sa_lifetime_data": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "SA lifetime (KB)", - "description": "Security association lifetime (in kilobytes)" - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableInterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "vdcs": { - "type": "array", - "items": { - "type": "integer" - } - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "type": "integer", - "nullable": true, - "title": "Parent interface" - }, - "bridge": { - "type": "integer", - "nullable": true, - "title": "Bridge interface" - }, - "lag": { - "type": "integer", - "nullable": true, - "title": "Parent LAG" - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "primary_mac_address": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "speed": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Speed (Kbps)" - }, - "duplex": { - "enum": [ - "half", - "full", - "auto", - "", - null - ], - "type": "string", - "description": "* `half` - Half\n* `full` - Full\n* `auto` - Auto", - "x-spec-enum-id": "47eab9b1a65a1e21", - "nullable": true - }, - "wwn": { - "type": "string", - "nullable": true - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only", - "description": "This interface is used only for out-of-band management" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "", - null - ], - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true, - "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)" - }, - "rf_role": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - }, - "rf_channel": { - "enum": [ - "2.4g-1-2412-22", - "2.4g-2-2417-22", - "2.4g-3-2422-22", - "2.4g-4-2427-22", - "2.4g-5-2432-22", - "2.4g-6-2437-22", - "2.4g-7-2442-22", - "2.4g-8-2447-22", - "2.4g-9-2452-22", - "2.4g-10-2457-22", - "2.4g-11-2462-22", - "2.4g-12-2467-22", - "2.4g-13-2472-22", - "5g-32-5160-20", - "5g-34-5170-40", - "5g-36-5180-20", - "5g-38-5190-40", - "5g-40-5200-20", - "5g-42-5210-80", - "5g-44-5220-20", - "5g-46-5230-40", - "5g-48-5240-20", - "5g-50-5250-160", - "5g-52-5260-20", - "5g-54-5270-40", - "5g-56-5280-20", - "5g-58-5290-80", - "5g-60-5300-20", - "5g-62-5310-40", - "5g-64-5320-20", - "5g-100-5500-20", - "5g-102-5510-40", - "5g-104-5520-20", - "5g-106-5530-80", - "5g-108-5540-20", - "5g-110-5550-40", - "5g-112-5560-20", - "5g-114-5570-160", - "5g-116-5580-20", - "5g-118-5590-40", - "5g-120-5600-20", - "5g-122-5610-80", - "5g-124-5620-20", - "5g-126-5630-40", - "5g-128-5640-20", - "5g-132-5660-20", - "5g-134-5670-40", - "5g-136-5680-20", - "5g-138-5690-80", - "5g-140-5700-20", - "5g-142-5710-40", - "5g-144-5720-20", - "5g-149-5745-20", - "5g-151-5755-40", - "5g-153-5765-20", - "5g-155-5775-80", - "5g-157-5785-20", - "5g-159-5795-40", - "5g-161-5805-20", - "5g-163-5815-160", - "5g-165-5825-20", - "5g-167-5835-40", - "5g-169-5845-20", - "5g-171-5855-80", - "5g-173-5865-20", - "5g-175-5875-40", - "5g-177-5885-20", - "6g-1-5955-20", - "6g-3-5965-40", - "6g-5-5975-20", - "6g-7-5985-80", - "6g-9-5995-20", - "6g-11-6005-40", - "6g-13-6015-20", - "6g-15-6025-160", - "6g-17-6035-20", - "6g-19-6045-40", - "6g-21-6055-20", - "6g-23-6065-80", - "6g-25-6075-20", - "6g-27-6085-40", - "6g-29-6095-20", - "6g-31-6105-320", - "6g-33-6115-20", - "6g-35-6125-40", - "6g-37-6135-20", - "6g-39-6145-80", - "6g-41-6155-20", - "6g-43-6165-40", - "6g-45-6175-20", - "6g-47-6185-160", - "6g-49-6195-20", - "6g-51-6205-40", - "6g-53-6215-20", - "6g-55-6225-80", - "6g-57-6235-20", - "6g-59-6245-40", - "6g-61-6255-20", - "6g-65-6275-20", - "6g-67-6285-40", - "6g-69-6295-20", - "6g-71-6305-80", - "6g-73-6315-20", - "6g-75-6325-40", - "6g-77-6335-20", - "6g-79-6345-160", - "6g-81-6355-20", - "6g-83-6365-40", - "6g-85-6375-20", - "6g-87-6385-80", - "6g-89-6395-20", - "6g-91-6405-40", - "6g-93-6415-20", - "6g-95-6425-320", - "6g-97-6435-20", - "6g-99-6445-40", - "6g-101-6455-20", - "6g-103-6465-80", - "6g-105-6475-20", - "6g-107-6485-40", - "6g-109-6495-20", - "6g-111-6505-160", - "6g-113-6515-20", - "6g-115-6525-40", - "6g-117-6535-20", - "6g-119-6545-80", - "6g-121-6555-20", - "6g-123-6565-40", - "6g-125-6575-20", - "6g-129-6595-20", - "6g-131-6605-40", - "6g-133-6615-20", - "6g-135-6625-80", - "6g-137-6635-20", - "6g-139-6645-40", - "6g-141-6655-20", - "6g-143-6665-160", - "6g-145-6675-20", - "6g-147-6685-40", - "6g-149-6695-20", - "6g-151-6705-80", - "6g-153-6715-20", - "6g-155-6725-40", - "6g-157-6735-20", - "6g-159-6745-320", - "6g-161-6755-20", - "6g-163-6765-40", - "6g-165-6775-20", - "6g-167-6785-80", - "6g-169-6795-20", - "6g-171-6805-40", - "6g-173-6815-20", - "6g-175-6825-160", - "6g-177-6835-20", - "6g-179-6845-40", - "6g-181-6855-20", - "6g-183-6865-80", - "6g-185-6875-20", - "6g-187-6885-40", - "6g-189-6895-20", - "6g-193-6915-20", - "6g-195-6925-40", - "6g-197-6935-20", - "6g-199-6945-80", - "6g-201-6955-20", - "6g-203-6965-40", - "6g-205-6975-20", - "6g-207-6985-160", - "6g-209-6995-20", - "6g-211-7005-40", - "6g-213-7015-20", - "6g-215-7025-80", - "6g-217-7035-20", - "6g-219-7045-40", - "6g-221-7055-20", - "6g-225-7075-20", - "6g-227-7085-40", - "6g-229-7095-20", - "6g-233-7115-20", - "60g-1-58320-2160", - "60g-2-60480-2160", - "60g-3-62640-2160", - "60g-4-64800-2160", - "60g-5-66960-2160", - "60g-6-69120-2160", - "60g-9-59400-4320", - "60g-10-61560-4320", - "60g-11-63720-4320", - "60g-12-65880-4320", - "60g-13-68040-4320", - "60g-17-60480-6480", - "60g-18-62640-6480", - "60g-19-64800-6480", - "60g-20-66960-6480", - "60g-25-61560-6480", - "60g-26-63720-6480", - "60g-27-65880-6480", - "", - null - ], - "type": "string", - "description": "* `2.4g-1-2412-22` - 1 (2412 MHz)\n* `2.4g-2-2417-22` - 2 (2417 MHz)\n* `2.4g-3-2422-22` - 3 (2422 MHz)\n* `2.4g-4-2427-22` - 4 (2427 MHz)\n* `2.4g-5-2432-22` - 5 (2432 MHz)\n* `2.4g-6-2437-22` - 6 (2437 MHz)\n* `2.4g-7-2442-22` - 7 (2442 MHz)\n* `2.4g-8-2447-22` - 8 (2447 MHz)\n* `2.4g-9-2452-22` - 9 (2452 MHz)\n* `2.4g-10-2457-22` - 10 (2457 MHz)\n* `2.4g-11-2462-22` - 11 (2462 MHz)\n* `2.4g-12-2467-22` - 12 (2467 MHz)\n* `2.4g-13-2472-22` - 13 (2472 MHz)\n* `5g-32-5160-20` - 32 (5160/20 MHz)\n* `5g-34-5170-40` - 34 (5170/40 MHz)\n* `5g-36-5180-20` - 36 (5180/20 MHz)\n* `5g-38-5190-40` - 38 (5190/40 MHz)\n* `5g-40-5200-20` - 40 (5200/20 MHz)\n* `5g-42-5210-80` - 42 (5210/80 MHz)\n* `5g-44-5220-20` - 44 (5220/20 MHz)\n* `5g-46-5230-40` - 46 (5230/40 MHz)\n* `5g-48-5240-20` - 48 (5240/20 MHz)\n* `5g-50-5250-160` - 50 (5250/160 MHz)\n* `5g-52-5260-20` - 52 (5260/20 MHz)\n* `5g-54-5270-40` - 54 (5270/40 MHz)\n* `5g-56-5280-20` - 56 (5280/20 MHz)\n* `5g-58-5290-80` - 58 (5290/80 MHz)\n* `5g-60-5300-20` - 60 (5300/20 MHz)\n* `5g-62-5310-40` - 62 (5310/40 MHz)\n* `5g-64-5320-20` - 64 (5320/20 MHz)\n* `5g-100-5500-20` - 100 (5500/20 MHz)\n* `5g-102-5510-40` - 102 (5510/40 MHz)\n* `5g-104-5520-20` - 104 (5520/20 MHz)\n* `5g-106-5530-80` - 106 (5530/80 MHz)\n* `5g-108-5540-20` - 108 (5540/20 MHz)\n* `5g-110-5550-40` - 110 (5550/40 MHz)\n* `5g-112-5560-20` - 112 (5560/20 MHz)\n* `5g-114-5570-160` - 114 (5570/160 MHz)\n* `5g-116-5580-20` - 116 (5580/20 MHz)\n* `5g-118-5590-40` - 118 (5590/40 MHz)\n* `5g-120-5600-20` - 120 (5600/20 MHz)\n* `5g-122-5610-80` - 122 (5610/80 MHz)\n* `5g-124-5620-20` - 124 (5620/20 MHz)\n* `5g-126-5630-40` - 126 (5630/40 MHz)\n* `5g-128-5640-20` - 128 (5640/20 MHz)\n* `5g-132-5660-20` - 132 (5660/20 MHz)\n* `5g-134-5670-40` - 134 (5670/40 MHz)\n* `5g-136-5680-20` - 136 (5680/20 MHz)\n* `5g-138-5690-80` - 138 (5690/80 MHz)\n* `5g-140-5700-20` - 140 (5700/20 MHz)\n* `5g-142-5710-40` - 142 (5710/40 MHz)\n* `5g-144-5720-20` - 144 (5720/20 MHz)\n* `5g-149-5745-20` - 149 (5745/20 MHz)\n* `5g-151-5755-40` - 151 (5755/40 MHz)\n* `5g-153-5765-20` - 153 (5765/20 MHz)\n* `5g-155-5775-80` - 155 (5775/80 MHz)\n* `5g-157-5785-20` - 157 (5785/20 MHz)\n* `5g-159-5795-40` - 159 (5795/40 MHz)\n* `5g-161-5805-20` - 161 (5805/20 MHz)\n* `5g-163-5815-160` - 163 (5815/160 MHz)\n* `5g-165-5825-20` - 165 (5825/20 MHz)\n* `5g-167-5835-40` - 167 (5835/40 MHz)\n* `5g-169-5845-20` - 169 (5845/20 MHz)\n* `5g-171-5855-80` - 171 (5855/80 MHz)\n* `5g-173-5865-20` - 173 (5865/20 MHz)\n* `5g-175-5875-40` - 175 (5875/40 MHz)\n* `5g-177-5885-20` - 177 (5885/20 MHz)\n* `6g-1-5955-20` - 1 (5955/20 MHz)\n* `6g-3-5965-40` - 3 (5965/40 MHz)\n* `6g-5-5975-20` - 5 (5975/20 MHz)\n* `6g-7-5985-80` - 7 (5985/80 MHz)\n* `6g-9-5995-20` - 9 (5995/20 MHz)\n* `6g-11-6005-40` - 11 (6005/40 MHz)\n* `6g-13-6015-20` - 13 (6015/20 MHz)\n* `6g-15-6025-160` - 15 (6025/160 MHz)\n* `6g-17-6035-20` - 17 (6035/20 MHz)\n* `6g-19-6045-40` - 19 (6045/40 MHz)\n* `6g-21-6055-20` - 21 (6055/20 MHz)\n* `6g-23-6065-80` - 23 (6065/80 MHz)\n* `6g-25-6075-20` - 25 (6075/20 MHz)\n* `6g-27-6085-40` - 27 (6085/40 MHz)\n* `6g-29-6095-20` - 29 (6095/20 MHz)\n* `6g-31-6105-320` - 31 (6105/320 MHz)\n* `6g-33-6115-20` - 33 (6115/20 MHz)\n* `6g-35-6125-40` - 35 (6125/40 MHz)\n* `6g-37-6135-20` - 37 (6135/20 MHz)\n* `6g-39-6145-80` - 39 (6145/80 MHz)\n* `6g-41-6155-20` - 41 (6155/20 MHz)\n* `6g-43-6165-40` - 43 (6165/40 MHz)\n* `6g-45-6175-20` - 45 (6175/20 MHz)\n* `6g-47-6185-160` - 47 (6185/160 MHz)\n* `6g-49-6195-20` - 49 (6195/20 MHz)\n* `6g-51-6205-40` - 51 (6205/40 MHz)\n* `6g-53-6215-20` - 53 (6215/20 MHz)\n* `6g-55-6225-80` - 55 (6225/80 MHz)\n* `6g-57-6235-20` - 57 (6235/20 MHz)\n* `6g-59-6245-40` - 59 (6245/40 MHz)\n* `6g-61-6255-20` - 61 (6255/20 MHz)\n* `6g-65-6275-20` - 65 (6275/20 MHz)\n* `6g-67-6285-40` - 67 (6285/40 MHz)\n* `6g-69-6295-20` - 69 (6295/20 MHz)\n* `6g-71-6305-80` - 71 (6305/80 MHz)\n* `6g-73-6315-20` - 73 (6315/20 MHz)\n* `6g-75-6325-40` - 75 (6325/40 MHz)\n* `6g-77-6335-20` - 77 (6335/20 MHz)\n* `6g-79-6345-160` - 79 (6345/160 MHz)\n* `6g-81-6355-20` - 81 (6355/20 MHz)\n* `6g-83-6365-40` - 83 (6365/40 MHz)\n* `6g-85-6375-20` - 85 (6375/20 MHz)\n* `6g-87-6385-80` - 87 (6385/80 MHz)\n* `6g-89-6395-20` - 89 (6395/20 MHz)\n* `6g-91-6405-40` - 91 (6405/40 MHz)\n* `6g-93-6415-20` - 93 (6415/20 MHz)\n* `6g-95-6425-320` - 95 (6425/320 MHz)\n* `6g-97-6435-20` - 97 (6435/20 MHz)\n* `6g-99-6445-40` - 99 (6445/40 MHz)\n* `6g-101-6455-20` - 101 (6455/20 MHz)\n* `6g-103-6465-80` - 103 (6465/80 MHz)\n* `6g-105-6475-20` - 105 (6475/20 MHz)\n* `6g-107-6485-40` - 107 (6485/40 MHz)\n* `6g-109-6495-20` - 109 (6495/20 MHz)\n* `6g-111-6505-160` - 111 (6505/160 MHz)\n* `6g-113-6515-20` - 113 (6515/20 MHz)\n* `6g-115-6525-40` - 115 (6525/40 MHz)\n* `6g-117-6535-20` - 117 (6535/20 MHz)\n* `6g-119-6545-80` - 119 (6545/80 MHz)\n* `6g-121-6555-20` - 121 (6555/20 MHz)\n* `6g-123-6565-40` - 123 (6565/40 MHz)\n* `6g-125-6575-20` - 125 (6575/20 MHz)\n* `6g-129-6595-20` - 129 (6595/20 MHz)\n* `6g-131-6605-40` - 131 (6605/40 MHz)\n* `6g-133-6615-20` - 133 (6615/20 MHz)\n* `6g-135-6625-80` - 135 (6625/80 MHz)\n* `6g-137-6635-20` - 137 (6635/20 MHz)\n* `6g-139-6645-40` - 139 (6645/40 MHz)\n* `6g-141-6655-20` - 141 (6655/20 MHz)\n* `6g-143-6665-160` - 143 (6665/160 MHz)\n* `6g-145-6675-20` - 145 (6675/20 MHz)\n* `6g-147-6685-40` - 147 (6685/40 MHz)\n* `6g-149-6695-20` - 149 (6695/20 MHz)\n* `6g-151-6705-80` - 151 (6705/80 MHz)\n* `6g-153-6715-20` - 153 (6715/20 MHz)\n* `6g-155-6725-40` - 155 (6725/40 MHz)\n* `6g-157-6735-20` - 157 (6735/20 MHz)\n* `6g-159-6745-320` - 159 (6745/320 MHz)\n* `6g-161-6755-20` - 161 (6755/20 MHz)\n* `6g-163-6765-40` - 163 (6765/40 MHz)\n* `6g-165-6775-20` - 165 (6775/20 MHz)\n* `6g-167-6785-80` - 167 (6785/80 MHz)\n* `6g-169-6795-20` - 169 (6795/20 MHz)\n* `6g-171-6805-40` - 171 (6805/40 MHz)\n* `6g-173-6815-20` - 173 (6815/20 MHz)\n* `6g-175-6825-160` - 175 (6825/160 MHz)\n* `6g-177-6835-20` - 177 (6835/20 MHz)\n* `6g-179-6845-40` - 179 (6845/40 MHz)\n* `6g-181-6855-20` - 181 (6855/20 MHz)\n* `6g-183-6865-80` - 183 (6865/80 MHz)\n* `6g-185-6875-20` - 185 (6875/20 MHz)\n* `6g-187-6885-40` - 187 (6885/40 MHz)\n* `6g-189-6895-20` - 189 (6895/20 MHz)\n* `6g-193-6915-20` - 193 (6915/20 MHz)\n* `6g-195-6925-40` - 195 (6925/40 MHz)\n* `6g-197-6935-20` - 197 (6935/20 MHz)\n* `6g-199-6945-80` - 199 (6945/80 MHz)\n* `6g-201-6955-20` - 201 (6955/20 MHz)\n* `6g-203-6965-40` - 203 (6965/40 MHz)\n* `6g-205-6975-20` - 205 (6975/20 MHz)\n* `6g-207-6985-160` - 207 (6985/160 MHz)\n* `6g-209-6995-20` - 209 (6995/20 MHz)\n* `6g-211-7005-40` - 211 (7005/40 MHz)\n* `6g-213-7015-20` - 213 (7015/20 MHz)\n* `6g-215-7025-80` - 215 (7025/80 MHz)\n* `6g-217-7035-20` - 217 (7035/20 MHz)\n* `6g-219-7045-40` - 219 (7045/40 MHz)\n* `6g-221-7055-20` - 221 (7055/20 MHz)\n* `6g-225-7075-20` - 225 (7075/20 MHz)\n* `6g-227-7085-40` - 227 (7085/40 MHz)\n* `6g-229-7095-20` - 229 (7095/20 MHz)\n* `6g-233-7115-20` - 233 (7115/20 MHz)\n* `60g-1-58320-2160` - 1 (58.32/2.16 GHz)\n* `60g-2-60480-2160` - 2 (60.48/2.16 GHz)\n* `60g-3-62640-2160` - 3 (62.64/2.16 GHz)\n* `60g-4-64800-2160` - 4 (64.80/2.16 GHz)\n* `60g-5-66960-2160` - 5 (66.96/2.16 GHz)\n* `60g-6-69120-2160` - 6 (69.12/2.16 GHz)\n* `60g-9-59400-4320` - 9 (59.40/4.32 GHz)\n* `60g-10-61560-4320` - 10 (61.56/4.32 GHz)\n* `60g-11-63720-4320` - 11 (63.72/4.32 GHz)\n* `60g-12-65880-4320` - 12 (65.88/4.32 GHz)\n* `60g-13-68040-4320` - 13 (68.04/4.32 GHz)\n* `60g-17-60480-6480` - 17 (60.48/6.48 GHz)\n* `60g-18-62640-6480` - 18 (62.64/6.48 GHz)\n* `60g-19-64800-6480` - 19 (64.80/6.48 GHz)\n* `60g-20-66960-6480` - 20 (66.96/6.48 GHz)\n* `60g-25-61560-6480` - 25 (61.56/8.64 GHz)\n* `60g-26-63720-6480` - 26 (63.72/8.64 GHz)\n* `60g-27-65880-6480` - 27 (65.88/8.64 GHz)", - "x-spec-enum-id": "aac33cc237adc8f9", - "nullable": true, - "title": "Wireless channel" - }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "", - null - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - }, - "rf_channel_frequency": { - "type": "number", - "format": "double", - "maximum": 100000, - "minimum": -100000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel frequency (MHz)", - "description": "Populated by selected channel (if set)" - }, - "rf_channel_width": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": -10000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "title": "Channel width (MHz)", - "description": "Populated by selected channel (if set)" - }, - "tx_power": { - "type": "integer", - "maximum": 127, - "minimum": -40, - "nullable": true, - "title": "Transmit power (dBm)" - }, - "untagged_vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "qinq_svlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicyRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "wireless_lans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "type" - ] - }, - "WritableInterfaceTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "virtual", - "bridge", - "lag", - "100base-fx", - "100base-lfx", - "100base-tx", - "100base-t1", - "1000base-bx10-d", - "1000base-bx10-u", - "1000base-cwdm", - "1000base-cx", - "1000base-dwdm", - "1000base-ex", - "1000base-lsx", - "1000base-lx", - "1000base-lx10", - "1000base-sx", - "1000base-t", - "1000base-tx", - "1000base-zx", - "2.5gbase-t", - "5gbase-t", - "10gbase-br-d", - "10gbase-br-u", - "10gbase-cx4", - "10gbase-er", - "10gbase-lr", - "10gbase-lrm", - "10gbase-lx4", - "10gbase-sr", - "10gbase-t", - "10gbase-zr", - "25gbase-cr", - "25gbase-er", - "25gbase-lr", - "25gbase-sr", - "25gbase-t", - "40gbase-cr4", - "40gbase-er4", - "40gbase-fr4", - "40gbase-lr4", - "40gbase-sr4", - "50gbase-cr", - "50gbase-er", - "50gbase-fr", - "50gbase-lr", - "50gbase-sr", - "100gbase-cr1", - "100gbase-cr2", - "100gbase-cr4", - "100gbase-cr10", - "100gbase-cwdm4", - "100gbase-dr", - "100gbase-er4", - "100gbase-fr1", - "100gbase-lr1", - "100gbase-lr4", - "100gbase-sr1", - "100gbase-sr1.2", - "100gbase-sr2", - "100gbase-sr4", - "100gbase-sr10", - "100gbase-zr", - "200gbase-cr2", - "200gbase-cr4", - "200gbase-dr4", - "200gbase-er4", - "200gbase-fr4", - "200gbase-lr4", - "200gbase-sr2", - "200gbase-sr4", - "200gbase-vr2", - "400gbase-cr4", - "400gbase-dr4", - "400gbase-er8", - "400gbase-fr4", - "400gbase-fr8", - "400gbase-lr4", - "400gbase-lr8", - "400gbase-sr4", - "400gbase-sr4_2", - "400gbase-sr8", - "400gbase-sr16", - "400gbase-vr4", - "400gbase-zr", - "800gbase-cr8", - "800gbase-dr8", - "800gbase-sr8", - "800gbase-vr8", - "100base-x-sfp", - "1000base-x-gbic", - "1000base-x-sfp", - "10gbase-x-sfpp", - "10gbase-x-xenpak", - "10gbase-x-xfp", - "10gbase-x-x2", - "25gbase-x-sfp28", - "40gbase-x-qsfpp", - "50gbase-x-sfp28", - "50gbase-x-sfp56", - "100gbase-x-cfp", - "100gbase-x-cfp2", - "100gbase-x-cfp4", - "100gbase-x-cxp", - "100gbase-x-cpak", - "100gbase-x-dsfp", - "100gbase-x-qsfp28", - "100gbase-x-qsfpdd", - "100gbase-x-sfpdd", - "200gbase-x-cfp2", - "200gbase-x-qsfp56", - "200gbase-x-qsfpdd", - "400gbase-x-qsfp112", - "400gbase-x-qsfpdd", - "400gbase-x-cdfp", - "400gbase-x-cfp2", - "400gbase-x-cfp8", - "400gbase-x-osfp", - "400gbase-x-osfp-rhs", - "800gbase-x-osfp", - "800gbase-x-qsfpdd", - "1000base-kx", - "2.5gbase-kx", - "5gbase-kr", - "10gbase-kr", - "10gbase-kx4", - "25gbase-kr", - "40gbase-kr4", - "50gbase-kr", - "100gbase-kp4", - "100gbase-kr2", - "100gbase-kr4", - "ieee802.11a", - "ieee802.11g", - "ieee802.11n", - "ieee802.11ac", - "ieee802.11ad", - "ieee802.11ax", - "ieee802.11ay", - "ieee802.11be", - "ieee802.15.1", - "ieee802.15.4", - "other-wireless", - "gsm", - "cdma", - "lte", - "4g", - "5g", - "sonet-oc3", - "sonet-oc12", - "sonet-oc48", - "sonet-oc192", - "sonet-oc768", - "sonet-oc1920", - "sonet-oc3840", - "1gfc-sfp", - "2gfc-sfp", - "4gfc-sfp", - "8gfc-sfpp", - "16gfc-sfpp", - "32gfc-sfp28", - "32gfc-sfpp", - "64gfc-qsfpp", - "64gfc-sfpdd", - "64gfc-sfpp", - "128gfc-qsfp28", - "infiniband-sdr", - "infiniband-ddr", - "infiniband-qdr", - "infiniband-fdr10", - "infiniband-fdr", - "infiniband-edr", - "infiniband-hdr", - "infiniband-ndr", - "infiniband-xdr", - "t1", - "e1", - "t3", - "e3", - "xdsl", - "docsis", - "moca", - "bpon", - "epon", - "10g-epon", - "gpon", - "xg-pon", - "xgs-pon", - "ng-pon2", - "25g-pon", - "50g-pon", - "cisco-stackwise", - "cisco-stackwise-plus", - "cisco-flexstack", - "cisco-flexstack-plus", - "cisco-stackwise-80", - "cisco-stackwise-160", - "cisco-stackwise-320", - "cisco-stackwise-480", - "cisco-stackwise-1t", - "juniper-vcp", - "extreme-summitstack", - "extreme-summitstack-128", - "extreme-summitstack-256", - "extreme-summitstack-512", - "other" - ], - "type": "string", - "description": "* `virtual` - Virtual\n* `bridge` - Bridge\n* `lag` - Link Aggregation Group (LAG)\n* `100base-fx` - 100BASE-FX (10/100ME)\n* `100base-lfx` - 100BASE-LFX (10/100ME)\n* `100base-tx` - 100BASE-TX (10/100ME)\n* `100base-t1` - 100BASE-T1 (10/100ME)\n* `1000base-bx10-d` - 1000BASE-BX10-D (1GE BiDi Down)\n* `1000base-bx10-u` - 1000BASE-BX10-U (1GE BiDi Up)\n* `1000base-cwdm` - 1000BASE-CWDM (1GE)\n* `1000base-cx` - 1000BASE-CX (1GE DAC)\n* `1000base-dwdm` - 1000BASE-DWDM (1GE)\n* `1000base-ex` - 1000BASE-EX (1GE)\n* `1000base-lsx` - 1000BASE-LSX (1GE)\n* `1000base-lx` - 1000BASE-LX (1GE)\n* `1000base-lx10` - 1000BASE-LX10/LH (1GE)\n* `1000base-sx` - 1000BASE-SX (1GE)\n* `1000base-t` - 1000BASE-T (1GE)\n* `1000base-tx` - 1000BASE-TX (1GE)\n* `1000base-zx` - 1000BASE-ZX (1GE)\n* `2.5gbase-t` - 2.5GBASE-T (2.5GE)\n* `5gbase-t` - 5GBASE-T (5GE)\n* `10gbase-br-d` - 10GBASE-BR-D (10GE BiDi Down)\n* `10gbase-br-u` - 10GBASE-BR-U (10GE BiDi Up)\n* `10gbase-cx4` - 10GBASE-CX4 (10GE DAC)\n* `10gbase-er` - 10GBASE-ER (10GE)\n* `10gbase-lr` - 10GBASE-LR (10GE)\n* `10gbase-lrm` - 10GBASE-LRM (10GE)\n* `10gbase-lx4` - 10GBASE-LX4 (10GE)\n* `10gbase-sr` - 10GBASE-SR (10GE)\n* `10gbase-t` - 10GBASE-T (10GE)\n* `10gbase-zr` - 10GBASE-ZR (10GE)\n* `25gbase-cr` - 25GBASE-CR (25GE DAC)\n* `25gbase-er` - 25GBASE-ER (25GE)\n* `25gbase-lr` - 25GBASE-LR (25GE)\n* `25gbase-sr` - 25GBASE-SR (25GE)\n* `25gbase-t` - 25GBASE-T (25GE)\n* `40gbase-cr4` - 40GBASE-CR4 (40GE DAC)\n* `40gbase-er4` - 40GBASE-ER4 (40GE)\n* `40gbase-fr4` - 40GBASE-FR4 (40GE)\n* `40gbase-lr4` - 40GBASE-LR4 (40GE)\n* `40gbase-sr4` - 40GBASE-SR4 (40GE)\n* `50gbase-cr` - 50GBASE-CR (50GE DAC)\n* `50gbase-er` - 50GBASE-ER (50GE)\n* `50gbase-fr` - 50GBASE-FR (50GE)\n* `50gbase-lr` - 50GBASE-LR (50GE)\n* `50gbase-sr` - 50GBASE-SR (50GE)\n* `100gbase-cr1` - 100GBASE-CR1 (100GE DAC)\n* `100gbase-cr2` - 100GBASE-CR2 (100GE DAC)\n* `100gbase-cr4` - 100GBASE-CR4 (100GE DAC)\n* `100gbase-cr10` - 100GBASE-CR10 (100GE DAC)\n* `100gbase-cwdm4` - 100GBASE-CWDM4 (100GE)\n* `100gbase-dr` - 100GBASE-DR (100GE)\n* `100gbase-er4` - 100GBASE-ER4 (100GE)\n* `100gbase-fr1` - 100GBASE-FR1 (100GE)\n* `100gbase-lr1` - 100GBASE-LR1 (100GE)\n* `100gbase-lr4` - 100GBASE-LR4 (100GE)\n* `100gbase-sr1` - 100GBASE-SR1 (100GE)\n* `100gbase-sr1.2` - 100GBASE-SR1.2 (100GE BiDi)\n* `100gbase-sr2` - 100GBASE-SR2 (100GE)\n* `100gbase-sr4` - 100GBASE-SR4 (100GE)\n* `100gbase-sr10` - 100GBASE-SR10 (100GE)\n* `100gbase-zr` - 100GBASE-ZR (100GE)\n* `200gbase-cr2` - 200GBASE-CR2 (200GE)\n* `200gbase-cr4` - 200GBASE-CR4 (200GE)\n* `200gbase-dr4` - 200GBASE-DR4 (200GE)\n* `200gbase-er4` - 200GBASE-ER4 (200GE)\n* `200gbase-fr4` - 200GBASE-FR4 (200GE)\n* `200gbase-lr4` - 200GBASE-LR4 (200GE)\n* `200gbase-sr2` - 200GBASE-SR2 (200GE)\n* `200gbase-sr4` - 200GBASE-SR4 (200GE)\n* `200gbase-vr2` - 200GBASE-VR2 (200GE)\n* `400gbase-cr4` - 400GBASE-CR4 (400GE)\n* `400gbase-dr4` - 400GBASE-DR4 (400GE)\n* `400gbase-er8` - 400GBASE-ER8 (400GE)\n* `400gbase-fr4` - 400GBASE-FR4 (400GE)\n* `400gbase-fr8` - 400GBASE-FR8 (400GE)\n* `400gbase-lr4` - 400GBASE-LR4 (400GE)\n* `400gbase-lr8` - 400GBASE-LR8 (400GE)\n* `400gbase-sr4` - 400GBASE-SR4 (400GE)\n* `400gbase-sr4_2` - 400GBASE-SR4.2 (400GE BiDi)\n* `400gbase-sr8` - 400GBASE-SR8 (400GE)\n* `400gbase-sr16` - 400GBASE-SR16 (400GE)\n* `400gbase-vr4` - 400GBASE-VR4 (400GE)\n* `400gbase-zr` - 400GBASE-ZR (400GE)\n* `800gbase-cr8` - 800GBASE-CR8 (800GE)\n* `800gbase-dr8` - 800GBASE-DR8 (800GE)\n* `800gbase-sr8` - 800GBASE-SR8 (800GE)\n* `800gbase-vr8` - 800GBASE-VR8 (800GE)\n* `100base-x-sfp` - SFP (100ME)\n* `1000base-x-gbic` - GBIC (1GE)\n* `1000base-x-sfp` - SFP (1GE)\n* `10gbase-x-sfpp` - SFP+ (10GE)\n* `10gbase-x-xenpak` - XENPAK (10GE)\n* `10gbase-x-xfp` - XFP (10GE)\n* `10gbase-x-x2` - X2 (10GE)\n* `25gbase-x-sfp28` - SFP28 (25GE)\n* `40gbase-x-qsfpp` - QSFP+ (40GE)\n* `50gbase-x-sfp28` - QSFP28 (50GE)\n* `50gbase-x-sfp56` - SFP56 (50GE)\n* `100gbase-x-cfp` - CFP (100GE)\n* `100gbase-x-cfp2` - CFP2 (100GE)\n* `100gbase-x-cfp4` - CFP4 (100GE)\n* `100gbase-x-cxp` - CXP (100GE)\n* `100gbase-x-cpak` - Cisco CPAK (100GE)\n* `100gbase-x-dsfp` - DSFP (100GE)\n* `100gbase-x-qsfp28` - QSFP28 (100GE)\n* `100gbase-x-qsfpdd` - QSFP-DD (100GE)\n* `100gbase-x-sfpdd` - SFP-DD (100GE)\n* `200gbase-x-cfp2` - CFP2 (200GE)\n* `200gbase-x-qsfp56` - QSFP56 (200GE)\n* `200gbase-x-qsfpdd` - QSFP-DD (200GE)\n* `400gbase-x-qsfp112` - QSFP112 (400GE)\n* `400gbase-x-qsfpdd` - QSFP-DD (400GE)\n* `400gbase-x-cdfp` - CDFP (400GE)\n* `400gbase-x-cfp2` - CFP2 (400GE)\n* `400gbase-x-cfp8` - CPF8 (400GE)\n* `400gbase-x-osfp` - OSFP (400GE)\n* `400gbase-x-osfp-rhs` - OSFP-RHS (400GE)\n* `800gbase-x-osfp` - OSFP (800GE)\n* `800gbase-x-qsfpdd` - QSFP-DD (800GE)\n* `1000base-kx` - 1000BASE-KX (1GE)\n* `2.5gbase-kx` - 2.5GBASE-KX (2.5GE)\n* `5gbase-kr` - 5GBASE-KR (5GE)\n* `10gbase-kr` - 10GBASE-KR (10GE)\n* `10gbase-kx4` - 10GBASE-KX4 (10GE)\n* `25gbase-kr` - 25GBASE-KR (25GE)\n* `40gbase-kr4` - 40GBASE-KR4 (40GE)\n* `50gbase-kr` - 50GBASE-KR (50GE)\n* `100gbase-kp4` - 100GBASE-KP4 (100GE)\n* `100gbase-kr2` - 100GBASE-KR2 (100GE)\n* `100gbase-kr4` - 100GBASE-KR4 (100GE)\n* `ieee802.11a` - IEEE 802.11a\n* `ieee802.11g` - IEEE 802.11b/g\n* `ieee802.11n` - IEEE 802.11n (Wi-Fi 4)\n* `ieee802.11ac` - IEEE 802.11ac (Wi-Fi 5)\n* `ieee802.11ad` - IEEE 802.11ad (WiGig)\n* `ieee802.11ax` - IEEE 802.11ax (Wi-Fi 6)\n* `ieee802.11ay` - IEEE 802.11ay (WiGig)\n* `ieee802.11be` - IEEE 802.11be (Wi-Fi 7)\n* `ieee802.15.1` - IEEE 802.15.1 (Bluetooth)\n* `ieee802.15.4` - IEEE 802.15.4 (LR-WPAN)\n* `other-wireless` - Other (Wireless)\n* `gsm` - GSM\n* `cdma` - CDMA\n* `lte` - LTE\n* `4g` - 4G\n* `5g` - 5G\n* `sonet-oc3` - OC-3/STM-1\n* `sonet-oc12` - OC-12/STM-4\n* `sonet-oc48` - OC-48/STM-16\n* `sonet-oc192` - OC-192/STM-64\n* `sonet-oc768` - OC-768/STM-256\n* `sonet-oc1920` - OC-1920/STM-640\n* `sonet-oc3840` - OC-3840/STM-1234\n* `1gfc-sfp` - SFP (1GFC)\n* `2gfc-sfp` - SFP (2GFC)\n* `4gfc-sfp` - SFP (4GFC)\n* `8gfc-sfpp` - SFP+ (8GFC)\n* `16gfc-sfpp` - SFP+ (16GFC)\n* `32gfc-sfp28` - SFP28 (32GFC)\n* `32gfc-sfpp` - SFP+ (32GFC)\n* `64gfc-qsfpp` - QSFP+ (64GFC)\n* `64gfc-sfpdd` - SFP-DD (64GFC)\n* `64gfc-sfpp` - SFP+ (64GFC)\n* `128gfc-qsfp28` - QSFP28 (128GFC)\n* `infiniband-sdr` - SDR (2 Gbps)\n* `infiniband-ddr` - DDR (4 Gbps)\n* `infiniband-qdr` - QDR (8 Gbps)\n* `infiniband-fdr10` - FDR10 (10 Gbps)\n* `infiniband-fdr` - FDR (13.5 Gbps)\n* `infiniband-edr` - EDR (25 Gbps)\n* `infiniband-hdr` - HDR (50 Gbps)\n* `infiniband-ndr` - NDR (100 Gbps)\n* `infiniband-xdr` - XDR (250 Gbps)\n* `t1` - T1 (1.544 Mbps)\n* `e1` - E1 (2.048 Mbps)\n* `t3` - T3 (45 Mbps)\n* `e3` - E3 (34 Mbps)\n* `xdsl` - xDSL\n* `docsis` - DOCSIS\n* `moca` - MoCA\n* `bpon` - BPON (622 Mbps / 155 Mbps)\n* `epon` - EPON (1 Gbps)\n* `10g-epon` - 10G-EPON (10 Gbps)\n* `gpon` - GPON (2.5 Gbps / 1.25 Gbps)\n* `xg-pon` - XG-PON (10 Gbps / 2.5 Gbps)\n* `xgs-pon` - XGS-PON (10 Gbps)\n* `ng-pon2` - NG-PON2 (TWDM-PON) (4x10 Gbps)\n* `25g-pon` - 25G-PON (25 Gbps)\n* `50g-pon` - 50G-PON (50 Gbps)\n* `cisco-stackwise` - Cisco StackWise\n* `cisco-stackwise-plus` - Cisco StackWise Plus\n* `cisco-flexstack` - Cisco FlexStack\n* `cisco-flexstack-plus` - Cisco FlexStack Plus\n* `cisco-stackwise-80` - Cisco StackWise-80\n* `cisco-stackwise-160` - Cisco StackWise-160\n* `cisco-stackwise-320` - Cisco StackWise-320\n* `cisco-stackwise-480` - Cisco StackWise-480\n* `cisco-stackwise-1t` - Cisco StackWise-1T\n* `juniper-vcp` - Juniper VCP\n* `extreme-summitstack` - Extreme SummitStack\n* `extreme-summitstack-128` - Extreme SummitStack-128\n* `extreme-summitstack-256` - Extreme SummitStack-256\n* `extreme-summitstack-512` - Extreme SummitStack-512\n* `other` - Other", - "x-spec-enum-id": "c6dfa8e84dd05942" - }, - "enabled": { - "type": "boolean" - }, - "mgmt_only": { - "type": "boolean", - "title": "Management only" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "bridge": { - "type": "integer", - "nullable": true, - "title": "Bridge interface" - }, - "poe_mode": { - "enum": [ - "pd", - "pse", - "", - null - ], - "type": "string", - "description": "* `pd` - PD\n* `pse` - PSE", - "x-spec-enum-id": "2f2fe6dcdc7772bd", - "nullable": true - }, - "poe_type": { - "enum": [ - "type1-ieee802.3af", - "type2-ieee802.3at", - "type3-ieee802.3bt", - "type4-ieee802.3bt", - "passive-24v-2pair", - "passive-24v-4pair", - "passive-48v-2pair", - "passive-48v-4pair", - "", - null - ], - "type": "string", - "description": "* `type1-ieee802.3af` - 802.3af (Type 1)\n* `type2-ieee802.3at` - 802.3at (Type 2)\n* `type3-ieee802.3bt` - 802.3bt (Type 3)\n* `type4-ieee802.3bt` - 802.3bt (Type 4)\n* `passive-24v-2pair` - Passive 24V (2-pair)\n* `passive-24v-4pair` - Passive 24V (4-pair)\n* `passive-48v-2pair` - Passive 48V (2-pair)\n* `passive-48v-4pair` - Passive 48V (4-pair)", - "x-spec-enum-id": "74bd3be4012f6da9", - "nullable": true - }, - "rf_role": { - "enum": [ - "ap", - "station", - "", - null - ], - "type": "string", - "description": "* `ap` - Access point\n* `station` - Station", - "x-spec-enum-id": "d2772dbea88b0fb1", - "nullable": true, - "title": "Wireless role" - } - }, - "required": [ - "name", - "type" - ] - }, - "WritableInventoryItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefInventoryItemRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "part_id": { - "type": "string", - "description": "Manufacturer-assigned part identifier", - "maxLength": 50 - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this item", - "maxLength": 50 - }, - "discovered": { - "type": "boolean", - "description": "This item was automatically discovered" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "component_type": { - "type": "string", - "nullable": true - }, - "component_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritableJournalEntryRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "assigned_object_type": { - "type": "string" - }, - "assigned_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "created_by": { - "type": "integer", - "nullable": true - }, - "kind": { - "enum": [ - "info", - "success", - "warning", - "danger" - ], - "type": "string", - "description": "* `info` - Info\n* `success` - Success\n* `warning` - Warning\n* `danger` - Danger", - "x-spec-enum-id": "a21af280f632fa34" - }, - "comments": { - "type": "string", - "minLength": 1 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "assigned_object_id", - "assigned_object_type", - "comments" - ] - }, - "WritableL2VPNRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "identifier": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": -9223372036854775808, - "format": "int64", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "type": { - "enum": [ - "vpws", - "vpls", - "vxlan", - "vxlan-evpn", - "mpls-evpn", - "pbb-evpn", - "evpn-vpws", - "epl", - "evpl", - "ep-lan", - "evp-lan", - "ep-tree", - "evp-tree", - "spb" - ], - "type": "string", - "description": "* `vpws` - VPWS\n* `vpls` - VPLS\n* `vxlan` - VXLAN\n* `vxlan-evpn` - VXLAN-EVPN\n* `mpls-evpn` - MPLS EVPN\n* `pbb-evpn` - PBB EVPN\n* `evpn-vpws` - EVPN VPWS\n* `epl` - EPL\n* `evpl` - EVPL\n* `ep-lan` - Ethernet Private LAN\n* `evp-lan` - Ethernet Virtual Private LAN\n* `ep-tree` - Ethernet Private Tree\n* `evp-tree` - Ethernet Virtual Private Tree\n* `spb` - SPB", - "x-spec-enum-id": "730136816a2885f9" - }, - "status": { - "enum": [ - "active", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "937bacafb9d5d4bb" - }, - "import_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "export_targets": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug", - "type" - ] - }, - "WritableLocationRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "parent": { - "type": "integer", - "nullable": true - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "site", - "slug" - ] - }, - "WritableModuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module_bay": { - "type": "integer" - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ] - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "2217e87d0c3efdda" - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this device", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "module_bay", - "module_type" - ] - }, - "WritableModuleTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "part_number": { - "type": "string", - "description": "Discrete part number (optional)", - "maxLength": 50 - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "left-to-right", - "right-to-left", - "side-to-rear", - "passive", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front\n* `left-to-right` - Left to right\n* `right-to-left` - Right to left\n* `side-to-rear` - Side to rear\n* `passive` - Passive", - "x-spec-enum-id": "f6e5562e0e98d69d", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "attributes": { - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "manufacturer", - "model" - ] - }, - "WritablePlatformRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "parent": { - "type": "integer", - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritablePowerFeedRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "power_panel": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPowerPanelRequest" - } - ] - }, - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "failed" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `failed` - Failed", - "x-spec-enum-id": "b77fc919138c12f6" - }, - "type": { - "enum": [ - "primary", - "redundant" - ], - "type": "string", - "description": "* `primary` - Primary\n* `redundant` - Redundant", - "x-spec-enum-id": "093a164236819eb8" - }, - "supply": { - "enum": [ - "ac", - "dc" - ], - "type": "string", - "description": "* `ac` - AC\n* `dc` - DC", - "x-spec-enum-id": "1b6d99616ca6412b" - }, - "phase": { - "enum": [ - "single-phase", - "three-phase" - ], - "type": "string", - "description": "* `single-phase` - Single phase\n* `three-phase` - Three-phase", - "x-spec-enum-id": "994bc0696f4df57f" - }, - "voltage": { - "type": "integer", - "maximum": 32767, - "minimum": -32768 - }, - "amperage": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "max_utilization": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "description": "Maximum permissible draw (percentage)" - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "power_panel" - ] - }, - "WritablePowerOutletRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true, - "description": "Physical port type\n\n* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" - }, - "status": { - "enum": [ - "enabled", - "disabled", - "faulty" - ], - "type": "string", - "description": "* `enabled` - Enabled\n* `disabled` - Disabled\n* `faulty` - Faulty", - "x-spec-enum-id": "1024f7deaed962d7" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "power_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "feed_leg": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true, - "description": "Phase (for three-phase feeds)\n\n* `A` - A\n* `B` - B\n* `C` - C" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritablePowerOutletTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c5", - "iec-60320-c7", - "iec-60320-c13", - "iec-60320-c15", - "iec-60320-c17", - "iec-60320-c19", - "iec-60320-c21", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15r", - "nema-5-15r", - "nema-5-20r", - "nema-5-30r", - "nema-5-50r", - "nema-6-15r", - "nema-6-20r", - "nema-6-30r", - "nema-6-50r", - "nema-10-30r", - "nema-10-50r", - "nema-14-20r", - "nema-14-30r", - "nema-14-50r", - "nema-14-60r", - "nema-15-15r", - "nema-15-20r", - "nema-15-30r", - "nema-15-50r", - "nema-15-60r", - "nema-l1-15r", - "nema-l5-15r", - "nema-l5-20r", - "nema-l5-30r", - "nema-l5-50r", - "nema-l6-15r", - "nema-l6-20r", - "nema-l6-30r", - "nema-l6-50r", - "nema-l10-30r", - "nema-l14-20r", - "nema-l14-30r", - "nema-l14-50r", - "nema-l14-60r", - "nema-l15-20r", - "nema-l15-30r", - "nema-l15-50r", - "nema-l15-60r", - "nema-l21-20r", - "nema-l21-30r", - "nema-l22-20r", - "nema-l22-30r", - "CS6360C", - "CS6364C", - "CS8164C", - "CS8264C", - "CS8364C", - "CS8464C", - "ita-e", - "ita-f", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "ita-multistandard", - "usb-a", - "usb-micro-b", - "usb-c", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "eaton-c39", - "hdot-cx", - "saf-d-grid", - "neutrik-powercon-20a", - "neutrik-powercon-32a", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c5` - C5\n* `iec-60320-c7` - C7\n* `iec-60320-c13` - C13\n* `iec-60320-c15` - C15\n* `iec-60320-c17` - C17\n* `iec-60320-c19` - C19\n* `iec-60320-c21` - C21\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15r` - NEMA 1-15R\n* `nema-5-15r` - NEMA 5-15R\n* `nema-5-20r` - NEMA 5-20R\n* `nema-5-30r` - NEMA 5-30R\n* `nema-5-50r` - NEMA 5-50R\n* `nema-6-15r` - NEMA 6-15R\n* `nema-6-20r` - NEMA 6-20R\n* `nema-6-30r` - NEMA 6-30R\n* `nema-6-50r` - NEMA 6-50R\n* `nema-10-30r` - NEMA 10-30R\n* `nema-10-50r` - NEMA 10-50R\n* `nema-14-20r` - NEMA 14-20R\n* `nema-14-30r` - NEMA 14-30R\n* `nema-14-50r` - NEMA 14-50R\n* `nema-14-60r` - NEMA 14-60R\n* `nema-15-15r` - NEMA 15-15R\n* `nema-15-20r` - NEMA 15-20R\n* `nema-15-30r` - NEMA 15-30R\n* `nema-15-50r` - NEMA 15-50R\n* `nema-15-60r` - NEMA 15-60R\n* `nema-l1-15r` - NEMA L1-15R\n* `nema-l5-15r` - NEMA L5-15R\n* `nema-l5-20r` - NEMA L5-20R\n* `nema-l5-30r` - NEMA L5-30R\n* `nema-l5-50r` - NEMA L5-50R\n* `nema-l6-15r` - NEMA L6-15R\n* `nema-l6-20r` - NEMA L6-20R\n* `nema-l6-30r` - NEMA L6-30R\n* `nema-l6-50r` - NEMA L6-50R\n* `nema-l10-30r` - NEMA L10-30R\n* `nema-l14-20r` - NEMA L14-20R\n* `nema-l14-30r` - NEMA L14-30R\n* `nema-l14-50r` - NEMA L14-50R\n* `nema-l14-60r` - NEMA L14-60R\n* `nema-l15-20r` - NEMA L15-20R\n* `nema-l15-30r` - NEMA L15-30R\n* `nema-l15-50r` - NEMA L15-50R\n* `nema-l15-60r` - NEMA L15-60R\n* `nema-l21-20r` - NEMA L21-20R\n* `nema-l21-30r` - NEMA L21-30R\n* `nema-l22-20r` - NEMA L22-20R\n* `nema-l22-30r` - NEMA L22-30R\n* `CS6360C` - CS6360C\n* `CS6364C` - CS6364C\n* `CS8164C` - CS8164C\n* `CS8264C` - CS8264C\n* `CS8364C` - CS8364C\n* `CS8464C` - CS8464C\n* `ita-e` - ITA Type E (CEE 7/5)\n* `ita-f` - ITA Type F (CEE 7/3)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `ita-multistandard` - ITA Multistandard\n* `usb-a` - USB Type A\n* `usb-micro-b` - USB Micro B\n* `usb-c` - USB Type C\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `eaton-c39` - Eaton C39\n* `hdot-cx` - HDOT Cx\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20a` - Neutrik powerCON (20A)\n* `neutrik-powercon-32a` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "8f9617d2648ab261", - "nullable": true - }, - "power_port": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPowerPortTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "feed_leg": { - "enum": [ - "A", - "B", - "C", - "", - null - ], - "type": "string", - "x-spec-enum-id": "a4902339df0b7c06", - "nullable": true, - "description": "Phase (for three-phase feeds)\n\n* `A` - A\n* `B` - B\n* `C` - C" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "WritablePowerPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true, - "description": "Physical port type\n\n* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other" - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name" - ] - }, - "WritablePowerPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "iec-60320-c6", - "iec-60320-c8", - "iec-60320-c14", - "iec-60320-c16", - "iec-60320-c18", - "iec-60320-c20", - "iec-60320-c22", - "iec-60309-p-n-e-4h", - "iec-60309-p-n-e-6h", - "iec-60309-p-n-e-9h", - "iec-60309-2p-e-4h", - "iec-60309-2p-e-6h", - "iec-60309-2p-e-9h", - "iec-60309-3p-e-4h", - "iec-60309-3p-e-6h", - "iec-60309-3p-e-9h", - "iec-60309-3p-n-e-4h", - "iec-60309-3p-n-e-6h", - "iec-60309-3p-n-e-9h", - "iec-60906-1", - "nbr-14136-10a", - "nbr-14136-20a", - "nema-1-15p", - "nema-5-15p", - "nema-5-20p", - "nema-5-30p", - "nema-5-50p", - "nema-6-15p", - "nema-6-20p", - "nema-6-30p", - "nema-6-50p", - "nema-10-30p", - "nema-10-50p", - "nema-14-20p", - "nema-14-30p", - "nema-14-50p", - "nema-14-60p", - "nema-15-15p", - "nema-15-20p", - "nema-15-30p", - "nema-15-50p", - "nema-15-60p", - "nema-l1-15p", - "nema-l5-15p", - "nema-l5-20p", - "nema-l5-30p", - "nema-l5-50p", - "nema-l6-15p", - "nema-l6-20p", - "nema-l6-30p", - "nema-l6-50p", - "nema-l10-30p", - "nema-l14-20p", - "nema-l14-30p", - "nema-l14-50p", - "nema-l14-60p", - "nema-l15-20p", - "nema-l15-30p", - "nema-l15-50p", - "nema-l15-60p", - "nema-l21-20p", - "nema-l21-30p", - "nema-l22-20p", - "nema-l22-30p", - "cs6361c", - "cs6365c", - "cs8165c", - "cs8265c", - "cs8365c", - "cs8465c", - "ita-c", - "ita-e", - "ita-f", - "ita-ef", - "ita-g", - "ita-h", - "ita-i", - "ita-j", - "ita-k", - "ita-l", - "ita-m", - "ita-n", - "ita-o", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "usb-3-b", - "usb-3-micro-b", - "molex-micro-fit-1x2", - "molex-micro-fit-2x2", - "molex-micro-fit-2x4", - "dc-terminal", - "saf-d-grid", - "neutrik-powercon-20", - "neutrik-powercon-32", - "neutrik-powercon-true1", - "neutrik-powercon-true1-top", - "ubiquiti-smartpower", - "hardwired", - "other", - "", - null - ], - "type": "string", - "description": "* `iec-60320-c6` - C6\n* `iec-60320-c8` - C8\n* `iec-60320-c14` - C14\n* `iec-60320-c16` - C16\n* `iec-60320-c18` - C18\n* `iec-60320-c20` - C20\n* `iec-60320-c22` - C22\n* `iec-60309-p-n-e-4h` - P+N+E 4H\n* `iec-60309-p-n-e-6h` - P+N+E 6H\n* `iec-60309-p-n-e-9h` - P+N+E 9H\n* `iec-60309-2p-e-4h` - 2P+E 4H\n* `iec-60309-2p-e-6h` - 2P+E 6H\n* `iec-60309-2p-e-9h` - 2P+E 9H\n* `iec-60309-3p-e-4h` - 3P+E 4H\n* `iec-60309-3p-e-6h` - 3P+E 6H\n* `iec-60309-3p-e-9h` - 3P+E 9H\n* `iec-60309-3p-n-e-4h` - 3P+N+E 4H\n* `iec-60309-3p-n-e-6h` - 3P+N+E 6H\n* `iec-60309-3p-n-e-9h` - 3P+N+E 9H\n* `iec-60906-1` - IEC 60906-1\n* `nbr-14136-10a` - 2P+T 10A (NBR 14136)\n* `nbr-14136-20a` - 2P+T 20A (NBR 14136)\n* `nema-1-15p` - NEMA 1-15P\n* `nema-5-15p` - NEMA 5-15P\n* `nema-5-20p` - NEMA 5-20P\n* `nema-5-30p` - NEMA 5-30P\n* `nema-5-50p` - NEMA 5-50P\n* `nema-6-15p` - NEMA 6-15P\n* `nema-6-20p` - NEMA 6-20P\n* `nema-6-30p` - NEMA 6-30P\n* `nema-6-50p` - NEMA 6-50P\n* `nema-10-30p` - NEMA 10-30P\n* `nema-10-50p` - NEMA 10-50P\n* `nema-14-20p` - NEMA 14-20P\n* `nema-14-30p` - NEMA 14-30P\n* `nema-14-50p` - NEMA 14-50P\n* `nema-14-60p` - NEMA 14-60P\n* `nema-15-15p` - NEMA 15-15P\n* `nema-15-20p` - NEMA 15-20P\n* `nema-15-30p` - NEMA 15-30P\n* `nema-15-50p` - NEMA 15-50P\n* `nema-15-60p` - NEMA 15-60P\n* `nema-l1-15p` - NEMA L1-15P\n* `nema-l5-15p` - NEMA L5-15P\n* `nema-l5-20p` - NEMA L5-20P\n* `nema-l5-30p` - NEMA L5-30P\n* `nema-l5-50p` - NEMA L5-50P\n* `nema-l6-15p` - NEMA L6-15P\n* `nema-l6-20p` - NEMA L6-20P\n* `nema-l6-30p` - NEMA L6-30P\n* `nema-l6-50p` - NEMA L6-50P\n* `nema-l10-30p` - NEMA L10-30P\n* `nema-l14-20p` - NEMA L14-20P\n* `nema-l14-30p` - NEMA L14-30P\n* `nema-l14-50p` - NEMA L14-50P\n* `nema-l14-60p` - NEMA L14-60P\n* `nema-l15-20p` - NEMA L15-20P\n* `nema-l15-30p` - NEMA L15-30P\n* `nema-l15-50p` - NEMA L15-50P\n* `nema-l15-60p` - NEMA L15-60P\n* `nema-l21-20p` - NEMA L21-20P\n* `nema-l21-30p` - NEMA L21-30P\n* `nema-l22-20p` - NEMA L22-20P\n* `nema-l22-30p` - NEMA L22-30P\n* `cs6361c` - CS6361C\n* `cs6365c` - CS6365C\n* `cs8165c` - CS8165C\n* `cs8265c` - CS8265C\n* `cs8365c` - CS8365C\n* `cs8465c` - CS8465C\n* `ita-c` - ITA Type C (CEE 7/16)\n* `ita-e` - ITA Type E (CEE 7/6)\n* `ita-f` - ITA Type F (CEE 7/4)\n* `ita-ef` - ITA Type E/F (CEE 7/7)\n* `ita-g` - ITA Type G (BS 1363)\n* `ita-h` - ITA Type H\n* `ita-i` - ITA Type I\n* `ita-j` - ITA Type J\n* `ita-k` - ITA Type K\n* `ita-l` - ITA Type L (CEI 23-50)\n* `ita-m` - ITA Type M (BS 546)\n* `ita-n` - ITA Type N\n* `ita-o` - ITA Type O\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `usb-3-b` - USB 3.0 Type B\n* `usb-3-micro-b` - USB 3.0 Micro B\n* `molex-micro-fit-1x2` - Molex Micro-Fit 1x2\n* `molex-micro-fit-2x2` - Molex Micro-Fit 2x2\n* `molex-micro-fit-2x4` - Molex Micro-Fit 2x4\n* `dc-terminal` - DC Terminal\n* `saf-d-grid` - Saf-D-Grid\n* `neutrik-powercon-20` - Neutrik powerCON (20A)\n* `neutrik-powercon-32` - Neutrik powerCON (32A)\n* `neutrik-powercon-true1` - Neutrik powerCON TRUE1\n* `neutrik-powercon-true1-top` - Neutrik powerCON TRUE1 TOP\n* `ubiquiti-smartpower` - Ubiquiti SmartPower\n* `hardwired` - Hardwired\n* `other` - Other", - "x-spec-enum-id": "292850be2c08f7df", - "nullable": true - }, - "maximum_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Maximum power draw (watts)" - }, - "allocated_draw": { - "type": "integer", - "maximum": 2147483647, - "minimum": 1, - "nullable": true, - "description": "Allocated power draw (watts)" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, - "WritablePrefixRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "prefix": { - "type": "string", - "minLength": 1 - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "container", - "active", - "reserved", - "deprecated" - ], - "type": "string", - "x-spec-enum-id": "d38bee5f512701d9", - "description": "Operational status of this prefix\n\n* `container` - Container\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "is_pool": { - "type": "boolean", - "title": "Is a pool", - "description": "All IP addresses within this prefix are considered usable" - }, - "mark_utilized": { - "type": "boolean", - "description": "Treat as fully utilized" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "prefix" - ] - }, - "WritableRackRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "facility_id": { - "type": "string", - "nullable": true, - "maxLength": 50 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "reserved", - "available", - "planned", - "active", - "deprecated" - ], - "type": "string", - "description": "* `reserved` - Reserved\n* `available` - Available\n* `planned` - Planned\n* `active` - Active\n* `deprecated` - Deprecated", - "x-spec-enum-id": "0c556d55dc1baa13" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag used to identify this rack", - "maxLength": 50 - }, - "rack_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRackTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "form_factor": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical", - "", - null - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea", - "nullable": true - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3", - "description": "Rail-to-rail width\n\n* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "minimum": 0, - "maximum": 32767 - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "airflow": { - "enum": [ - "front-to-rear", - "rear-to-front", - "", - null - ], - "type": "string", - "description": "* `front-to-rear` - Front to rear\n* `rear-to-front` - Rear to front", - "x-spec-enum-id": "a784734d07ef1b3c", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "site" - ] - }, - "WritableRackReservationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "rack": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefRackRequest" - } - ] - }, - "units": { - "type": "array", - "items": { - "type": "integer", - "maximum": 32767, - "minimum": 0 - } - }, - "status": { - "enum": [ - "pending", - "active", - "stale" - ], - "type": "string", - "description": "* `pending` - Pending\n* `active` - Active\n* `stale` - Stale", - "x-spec-enum-id": "b62013475549e423" - }, - "user": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefUserRequest" - } - ] - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "minLength": 1, - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "description", - "rack", - "units", - "user" - ] - }, - "WritableRackTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "manufacturer": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefManufacturerRequest" - } - ] - }, - "model": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "form_factor": { - "enum": [ - "2-post-frame", - "4-post-frame", - "4-post-cabinet", - "wall-frame", - "wall-frame-vertical", - "wall-cabinet", - "wall-cabinet-vertical" - ], - "type": "string", - "description": "* `2-post-frame` - 2-post frame\n* `4-post-frame` - 4-post frame\n* `4-post-cabinet` - 4-post cabinet\n* `wall-frame` - Wall-mounted frame\n* `wall-frame-vertical` - Wall-mounted frame (vertical)\n* `wall-cabinet` - Wall-mounted cabinet\n* `wall-cabinet-vertical` - Wall-mounted cabinet (vertical)", - "x-spec-enum-id": "e32aaa89a223f2ea" - }, - "width": { - "enum": [ - 10, - 19, - 21, - 23 - ], - "type": "integer", - "x-spec-enum-id": "9b322795f297a9c3", - "description": "Rail-to-rail width\n\n* `10` - 10 inches\n* `19` - 19 inches\n* `21` - 21 inches\n* `23` - 23 inches", - "minimum": 0, - "maximum": 32767 - }, - "u_height": { - "type": "integer", - "maximum": 100, - "minimum": 1, - "title": "Height (U)", - "description": "Height in rack units" - }, - "starting_unit": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "description": "Starting unit for rack" - }, - "desc_units": { - "type": "boolean", - "title": "Descending units", - "description": "Units are numbered top-to-bottom" - }, - "outer_width": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (width)" - }, - "outer_height": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (height)" - }, - "outer_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Outer dimension of rack (depth)" - }, - "outer_unit": { - "enum": [ - "mm", - "in", - "", - null - ], - "type": "string", - "description": "* `mm` - Millimeters\n* `in` - Inches", - "x-spec-enum-id": "86a846b6c40f495e", - "nullable": true - }, - "weight": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "max_weight": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "description": "Maximum load capacity for the rack" - }, - "weight_unit": { - "enum": [ - "kg", - "g", - "lb", - "oz", - "", - null - ], - "type": "string", - "description": "* `kg` - Kilograms\n* `g` - Grams\n* `lb` - Pounds\n* `oz` - Ounces", - "x-spec-enum-id": "7c1876f422815884", - "nullable": true - }, - "mounting_depth": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true, - "description": "Maximum depth of a mounted device, in millimeters. For four-post racks, this is the distance between the front and rear rails." - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "form_factor", - "manufacturer", - "model", - "slug" - ] - }, - "WritableRearPortRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "module": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1, - "description": "Number of front ports which may be mapped" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mark_connected": { - "type": "boolean", - "description": "Treat as if a cable is connected" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "type" - ] - }, - "WritableRearPortTemplateRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "device_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "module_type": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefModuleTypeRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "name": { - "type": "string", - "minLength": 1, - "description": "{module} is accepted as a substitution for the module bay position when attached to a module type.", - "maxLength": 64 - }, - "label": { - "type": "string", - "description": "Physical label", - "maxLength": 64 - }, - "type": { - "enum": [ - "8p8c", - "8p6c", - "8p4c", - "8p2c", - "6p6c", - "6p4c", - "6p2c", - "4p4c", - "4p2c", - "gg45", - "tera-4p", - "tera-2p", - "tera-1p", - "110-punch", - "bnc", - "f", - "n", - "mrj21", - "fc", - "fc-pc", - "fc-upc", - "fc-apc", - "lc", - "lc-pc", - "lc-upc", - "lc-apc", - "lsh", - "lsh-pc", - "lsh-upc", - "lsh-apc", - "lx5", - "lx5-pc", - "lx5-upc", - "lx5-apc", - "mpo", - "mtrj", - "sc", - "sc-pc", - "sc-upc", - "sc-apc", - "st", - "cs", - "sn", - "sma-905", - "sma-906", - "urm-p2", - "urm-p4", - "urm-p8", - "splice", - "usb-a", - "usb-b", - "usb-c", - "usb-mini-a", - "usb-mini-b", - "usb-micro-a", - "usb-micro-b", - "usb-micro-ab", - "other" - ], - "type": "string", - "description": "* `8p8c` - 8P8C\n* `8p6c` - 8P6C\n* `8p4c` - 8P4C\n* `8p2c` - 8P2C\n* `6p6c` - 6P6C\n* `6p4c` - 6P4C\n* `6p2c` - 6P2C\n* `4p4c` - 4P4C\n* `4p2c` - 4P2C\n* `gg45` - GG45\n* `tera-4p` - TERA 4P\n* `tera-2p` - TERA 2P\n* `tera-1p` - TERA 1P\n* `110-punch` - 110 Punch\n* `bnc` - BNC\n* `f` - F Connector\n* `n` - N Connector\n* `mrj21` - MRJ21\n* `fc` - FC\n* `fc-pc` - FC/PC\n* `fc-upc` - FC/UPC\n* `fc-apc` - FC/APC\n* `lc` - LC\n* `lc-pc` - LC/PC\n* `lc-upc` - LC/UPC\n* `lc-apc` - LC/APC\n* `lsh` - LSH\n* `lsh-pc` - LSH/PC\n* `lsh-upc` - LSH/UPC\n* `lsh-apc` - LSH/APC\n* `lx5` - LX.5\n* `lx5-pc` - LX.5/PC\n* `lx5-upc` - LX.5/UPC\n* `lx5-apc` - LX.5/APC\n* `mpo` - MPO\n* `mtrj` - MTRJ\n* `sc` - SC\n* `sc-pc` - SC/PC\n* `sc-upc` - SC/UPC\n* `sc-apc` - SC/APC\n* `st` - ST\n* `cs` - CS\n* `sn` - SN\n* `sma-905` - SMA 905\n* `sma-906` - SMA 906\n* `urm-p2` - URM-P2\n* `urm-p4` - URM-P4\n* `urm-p8` - URM-P8\n* `splice` - Splice\n* `usb-a` - USB Type A\n* `usb-b` - USB Type B\n* `usb-c` - USB Type C\n* `usb-mini-a` - USB Mini A\n* `usb-mini-b` - USB Mini B\n* `usb-micro-a` - USB Micro A\n* `usb-micro-b` - USB Micro B\n* `usb-micro-ab` - USB Micro AB\n* `other` - Other", - "x-spec-enum-id": "ea67ae8ba4602f8a" - }, - "color": { - "type": "string", - "pattern": "^[0-9a-f]{6}$", - "maxLength": 6 - }, - "positions": { - "type": "integer", - "maximum": 1024, - "minimum": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "type" - ] - }, - "WritableRegionRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableServiceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "parent_object_type": { - "type": "string" - }, - "parent_object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "protocol": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "ipaddresses": { - "type": "array", - "items": { - "type": "integer" - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "parent_object_id", - "parent_object_type", - "ports", - "protocol" - ] - }, - "WritableServiceTemplateRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "protocol": { - "enum": [ - "tcp", - "udp", - "sctp" - ], - "type": "string", - "description": "* `tcp` - TCP\n* `udp` - UDP\n* `sctp` - SCTP", - "x-spec-enum-id": "5521e084b1ad51de" - }, - "ports": { - "type": "array", - "items": { - "type": "integer", - "maximum": 65535, - "minimum": 1 - }, - "title": "Port numbers" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "ports", - "protocol" - ] - }, - "WritableSiteGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableSiteRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the site", - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "status": { - "enum": [ - "planned", - "staging", - "active", - "decommissioning", - "retired" - ], - "type": "string", - "description": "* `planned` - Planned\n* `staging` - Staging\n* `active` - Active\n* `decommissioning` - Decommissioning\n* `retired` - Retired", - "x-spec-enum-id": "e363a8ddb138be50" - }, - "region": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRegionRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "facility": { - "type": "string", - "description": "Local facility ID or description", - "maxLength": 50 - }, - "time_zone": { - "type": "string", - "nullable": true, - "minLength": 1 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "physical_address": { - "type": "string", - "description": "Physical location of the building", - "maxLength": 200 - }, - "shipping_address": { - "type": "string", - "description": "If different from the physical address", - "maxLength": 200 - }, - "latitude": { - "type": "number", - "format": "double", - "maximum": 100, - "minimum": -100, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "longitude": { - "type": "number", - "format": "double", - "maximum": 1000, - "minimum": -1000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true, - "description": "GPS coordinate in decimal format (xx.yyyyyy)" - }, - "comments": { - "type": "string" - }, - "asns": { - "type": "array", - "items": { - "type": "integer" - } - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableTenantGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableTunnelRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "planned", - "active", - "disabled" - ], - "type": "string", - "description": "* `planned` - Planned\n* `active` - Active\n* `disabled` - Disabled", - "x-spec-enum-id": "0d65f7912cba74aa" - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTunnelGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "encapsulation": { - "enum": [ - "ipsec-transport", - "ipsec-tunnel", - "ip-ip", - "gre", - "wireguard", - "openvpn", - "l2tp", - "pptp" - ], - "type": "string", - "description": "* `ipsec-transport` - IPsec - Transport\n* `ipsec-tunnel` - IPsec - Tunnel\n* `ip-ip` - IP-in-IP\n* `gre` - GRE\n* `wireguard` - WireGuard\n* `openvpn` - OpenVPN\n* `l2tp` - L2TP\n* `pptp` - PPTP", - "x-spec-enum-id": "54a2e45824009c49" - }, - "ipsec_profile": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPSecProfileRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tunnel_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "encapsulation", - "name" - ] - }, - "WritableTunnelTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "tunnel": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefTunnelRequest" - } - ] - }, - "role": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "termination_type": { - "type": "string" - }, - "termination_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64", - "nullable": true - }, - "outside_ip": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "termination_type", - "tunnel" - ] - }, - "WritableVLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vid": { - "type": "integer", - "maximum": 4094, - "minimum": 1, - "title": "VLAN ID", - "description": "Numeric VLAN ID (1-4094)" - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "deprecated" - ], - "type": "string", - "x-spec-enum-id": "6388dfb94ca1cc15", - "description": "Operational status of this VLAN\n\n* `active` - Active\n* `reserved` - Reserved\n* `deprecated` - Deprecated" - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "qinq_role": { - "enum": [ - "svlan", - "cvlan", - "", - null - ], - "type": "string", - "x-spec-enum-id": "d2510f2d3e3d3fb1", - "nullable": true, - "title": "Q-in-Q role", - "description": "Customer/service VLAN designation (for Q-in-Q/IEEE 802.1ad)\n\n* `svlan` - Service\n* `cvlan` - Customer" - }, - "qinq_svlan": { - "type": "integer", - "nullable": true - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "vid" - ] - }, - "WritableVMInterfaceRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_machine": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualMachineRequest" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "enabled": { - "type": "boolean" - }, - "parent": { - "type": "integer", - "nullable": true, - "title": "Parent interface" - }, - "bridge": { - "type": "integer", - "nullable": true, - "title": "Bridge interface" - }, - "mtu": { - "type": "integer", - "maximum": 65536, - "minimum": 1, - "nullable": true - }, - "primary_mac_address": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefMACAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "mode": { - "enum": [ - "access", - "tagged", - "tagged-all", - "q-in-q", - "", - null - ], - "type": "string", - "x-spec-enum-id": "b6fe48fe21dbf01d", - "nullable": true, - "description": "IEEE 802.1Q tagging strategy\n\n* `access` - Access\n* `tagged` - Tagged\n* `tagged-all` - Tagged (All)\n* `q-in-q` - Q-in-Q (802.1ad)" - }, - "untagged_vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tagged_vlans": { - "type": "array", - "items": { - "type": "integer" - } - }, - "qinq_svlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vlan_translation_policy": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANTranslationPolicyRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vrf": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVRFRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "virtual_machine" - ] - }, - "WritableVirtualChassisRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "domain": { - "type": "string", - "maxLength": 30 - }, - "master": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableVirtualCircuitRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "cid": { - "type": "string", - "minLength": 1, - "title": "Circuit ID", - "description": "Unique circuit ID", - "maxLength": 100 - }, - "provider_network": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefProviderNetworkRequest" - } - ] - }, - "provider_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefProviderAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "type": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualCircuitTypeRequest" - } - ] - }, - "status": { - "enum": [ - "planned", - "provisioning", - "active", - "offline", - "deprovisioning", - "decommissioned" - ], - "type": "string", - "description": "* `planned` - Planned\n* `provisioning` - Provisioning\n* `active` - Active\n* `offline` - Offline\n* `deprovisioning` - Deprovisioning\n* `decommissioned` - Decommissioned", - "x-spec-enum-id": "63c838134a022200" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "cid", - "provider_network", - "type" - ] - }, - "WritableVirtualCircuitTerminationRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "virtual_circuit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVirtualCircuitRequest" - } - ] - }, - "role": { - "enum": [ - "peer", - "hub", - "spoke" - ], - "type": "string", - "description": "* `peer` - Peer\n* `hub` - Hub\n* `spoke` - Spoke", - "x-spec-enum-id": "52225cd60b867572" - }, - "interface": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "interface", - "virtual_circuit" - ] - }, - "WritableVirtualDeviceContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ] - }, - "identifier": { - "type": "integer", - "maximum": 32767, - "minimum": 0, - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "planned", - "offline" - ], - "type": "string", - "description": "* `active` - Active\n* `planned` - Planned\n* `offline` - Offline", - "x-spec-enum-id": "ee1ef02def7a91ab" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "device", - "name", - "status" - ] - }, - "WritableVirtualMachineWithConfigContextRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 64 - }, - "status": { - "enum": [ - "offline", - "active", - "planned", - "staged", - "failed", - "decommissioning", - "paused" - ], - "type": "string", - "description": "* `offline` - Offline\n* `active` - Active\n* `planned` - Planned\n* `staged` - Staged\n* `failed` - Failed\n* `decommissioning` - Decommissioning\n* `paused` - Paused", - "x-spec-enum-id": "c649dc8de233760f" - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "cluster": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefClusterRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "device": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "serial": { - "type": "string", - "title": "Serial number", - "maxLength": 50 - }, - "role": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefDeviceRoleRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "platform": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefPlatformRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip4": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "primary_ip6": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefIPAddressRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "vcpus": { - "type": "number", - "format": "double", - "maximum": 10000, - "minimum": 0.01, - "exclusiveMaximum": true, - "nullable": true - }, - "memory": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Memory (MB)" - }, - "disk": { - "type": "integer", - "maximum": 2147483647, - "minimum": 0, - "nullable": true, - "title": "Disk (MB)" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "config_template": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefConfigTemplateRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "local_context_data": { - "nullable": true, - "description": "Local config context data takes precedence over source contexts in the final rendered config context" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableWirelessLANGroupRequest": { - "type": "object", - "description": "Extends PrimaryModelSerializer to include MPTT support.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "slug": { - "type": "string", - "minLength": 1, - "maxLength": 100, - "pattern": "^[-a-zA-Z0-9_]+$" - }, - "parent": { - "type": "integer", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "comments": { - "type": "string" - } - }, - "required": [ - "name", - "slug" - ] - }, - "WritableWirelessLANRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "ssid": { - "type": "string", - "minLength": 1, - "maxLength": 32 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "group": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefWirelessLANGroupRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "status": { - "enum": [ - "active", - "reserved", - "disabled", - "deprecated" - ], - "type": "string", - "description": "* `active` - Active\n* `reserved` - Reserved\n* `disabled` - Disabled\n* `deprecated` - Deprecated", - "x-spec-enum-id": "412ebdca597f609e" - }, - "vlan": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefVLANRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "scope_type": { - "type": "string", - "nullable": true - }, - "scope_id": { - "type": "integer", - "nullable": true - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "auth_type": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "", - null - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - }, - "auth_cipher": { - "enum": [ - "auto", - "tkip", - "aes", - "", - null - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "ssid" - ] - }, - "WritableWirelessLinkRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "interface_a": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "interface_b": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefInterfaceRequest" - } - ] - }, - "ssid": { - "type": "string", - "maxLength": 32 - }, - "status": { - "enum": [ - "connected", - "planned", - "decommissioning" - ], - "type": "string", - "description": "* `connected` - Connected\n* `planned` - Planned\n* `decommissioning` - Decommissioning", - "x-spec-enum-id": "fbc2f302c08be50d" - }, - "tenant": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefTenantRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "auth_type": { - "enum": [ - "open", - "wep", - "wpa-personal", - "wpa-enterprise", - "", - null - ], - "type": "string", - "description": "* `open` - Open\n* `wep` - WEP\n* `wpa-personal` - WPA Personal (PSK)\n* `wpa-enterprise` - WPA Enterprise", - "x-spec-enum-id": "a2043acb899b3954", - "nullable": true, - "title": "Authentication type" - }, - "auth_cipher": { - "enum": [ - "auto", - "tkip", - "aes", - "", - null - ], - "type": "string", - "description": "* `auto` - Auto\n* `tkip` - TKIP\n* `aes` - AES", - "x-spec-enum-id": "8fdaefa727c26fdc", - "nullable": true, - "title": "Authentication cipher" - }, - "auth_psk": { - "type": "string", - "title": "Pre-shared key", - "maxLength": 64 - }, - "distance": { - "type": "number", - "format": "double", - "maximum": 1000000, - "minimum": -1000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "distance_unit": { - "enum": [ - "km", - "m", - "mi", - "ft", - "", - null - ], - "type": "string", - "description": "* `km` - Kilometers\n* `m` - Meters\n* `mi` - Miles\n* `ft` - Feet", - "x-spec-enum-id": "53542e7902f946af", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "interface_a", - "interface_b" - ] - } - }, - "securitySchemes": { - "cookieAuth": { - "type": "apiKey", - "in": "cookie", - "name": "sessionid" - }, - "tokenAuth": { - "type": "apiKey", - "in": "header", - "name": "Authorization", - "description": "Token-based authentication with required prefix \"Token\"" - } - } - }, - "servers": [ - { - "url": "", - "description": "NetBox" - } - ] -} diff --git a/contrib/uwsgi.ini b/contrib/uwsgi.ini deleted file mode 100644 index a8bedc1d75..0000000000 --- a/contrib/uwsgi.ini +++ /dev/null @@ -1,34 +0,0 @@ -[uwsgi] -; bind to the specified UNIX/TCP socket and port (usually localhost) -socket = 127.0.0.1:8001 - -; fail to start if any parameter in the configuration file isn’t explicitly understood by uWSGI. -strict = true - -; re-spawn and pre-fork workers -master = true - -; clear environment on exit -vacuum = true - -; make SIGTERM stop the app (instead of reload) -die-on-term = true - -; exit if no app can be loaded -need-app = true - -; do not use multiple interpreters -single-interpreter = true - -; change to the project directory -chdir = netbox - -; specify the WSGI module to load -module = netbox.wsgi - -; workaround to make uWSGI reloads work with pyuwsgi (not to be used if using uwsgi package instead) -binary-path = venv/bin/python - -; only log internal messages and errors (reverse proxy already logs the requests) -disable-logging = true -log-5xx = true diff --git a/docs/_theme/main.html b/docs/_theme/main.html deleted file mode 100644 index 99907bf42f..0000000000 --- a/docs/_theme/main.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "base.html" %} - -{% block site_meta %} - {{ super() }} - {# Disable search indexing unless we're building for public consumption #} - {% if not config.extra.build_public %} - - {% endif %} -{% endblock %} diff --git a/docs/_theme/partials/copyright.html b/docs/_theme/partials/copyright.html deleted file mode 100644 index cfbfd54445..0000000000 --- a/docs/_theme/partials/copyright.html +++ /dev/null @@ -1,18 +0,0 @@ - -{% if not config.extra.build_public %} - -{% endif %} diff --git a/docs/administration/authentication/google.md b/docs/administration/authentication/google.md deleted file mode 100644 index 456f3a4570..0000000000 --- a/docs/administration/authentication/google.md +++ /dev/null @@ -1,52 +0,0 @@ -# Google - -This guide explains how to configure single sign-on (SSO) support for NetBox using [Google OAuth2](https://developers.google.com/identity/protocols/oauth2/web-server) as an authentication backend. - -## Google OAuth2 Configuration - -1. Log into [console.cloud.google.com](https://console.cloud.google.com/). -2. Create new project for NetBox. -3. Under "APIs and Services" click "OAuth consent screen" and enter the required information. -4. Under "Credentials," click "Create Credentials" and select "OAuth 2.0 Client ID." Select type "Web application." - - "Authorized JavaScript origins" should follow the format `http[s]://[:]` - - "Authorized redirect URIs" should follow the format `http[s]://[:]/oauth/complete/google-oauth2/` -5. Copy the "Client ID" and "Client Secret" values somewhere convenient. - -!!! note - Google requires the NetBox hostname to use a public top-level-domain (e.g. `.com`, `.net`). The use of IP addresses is not permitted (except `127.0.0.1`). - -For more information, consult [Google's documentation](https://developers.google.com/identity/protocols/oauth2/web-server#prerequisites). - -## NetBox Configuration - -### 1. Enter configuration parameters - -Enter the following configuration parameters in `configuration.py`, substituting your own values: - -```python -REMOTE_AUTH_BACKEND = 'social_core.backends.google.GoogleOAuth2' -SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '{CLIENT_ID}' -SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '{CLIENT_SECRET}' -``` - -### 2. Restart NetBox - -Restart the NetBox services so that the new configuration takes effect. This is typically done with the command below: - -```no-highlight -sudo systemctl restart netbox -``` - -## Testing - -Log out of NetBox if already authenticated, and click the "Log In" button at top right. You should see the normal login form as well as an option to authenticate using Google. Click that link. - -![NetBox Google login form](../../media/authentication/netbox_google_login.png) - -You should be redirected to Google's authentication portal. Enter the username/email and password of your test account to continue. You may also be prompted to grant this application access to your account. - -![NetBox Google login form](../../media/authentication/google_login_portal.png) - -If successful, you will be redirected back to the NetBox UI, and will be logged in as the Google user. You can verify this by navigating to your profile (using the button at top right). - -This user account has been replicated locally to NetBox, and can now be assigned groups and permissions. diff --git a/docs/administration/authentication/microsoft-entra-id.md b/docs/administration/authentication/microsoft-entra-id.md deleted file mode 100644 index 66794ae0c9..0000000000 --- a/docs/administration/authentication/microsoft-entra-id.md +++ /dev/null @@ -1,88 +0,0 @@ -# Microsoft Entra ID - -This guide explains how to configure single sign-on (SSO) support for NetBox using [Microsoft Entra ID](https://www.microsoft.com/en-us/security/business/identity-access/microsoft-entra-id) as an authentication backend. - -## Entra ID Configuration - -### 1. Create a test user (optional) - -Create a new user in AD to be used for testing. You can skip this step if you already have a suitable account created. - -### 2. Create an app registration - -Under the Azure Active Directory dashboard, navigate to **Add > App registration**. - -![Add an app registration](../../media/authentication/azure_ad_add_app_registration.png) - -Enter a name for the registration (e.g. "NetBox") and ensure that the "single tenant" option is selected. - -Under "Redirect URI", select "Web" for the platform and enter the path to your NetBox installation, ending with `/oauth/complete/azuread-oauth2/`. Note that this URI **must** begin with `https://` unless you are referencing localhost (for development purposes). - -![App registration parameters](../../media/authentication/azure_ad_app_registration.png) - -Once finished, make note of the application (client) ID; this will be used when configuring NetBox. - -![Completed app registration](../../media/authentication/azure_ad_app_registration_created.png) - -!!! tip "Multitenant authentication" - NetBox also supports multitenant authentication via Azure AD; however, it requires a different backend and an additional configuration parameter. Please see the [`python-social-auth` documentation](https://python-social-auth.readthedocs.io/en/latest/backends/azuread.html#tenant-support) for details concerning multitenant authentication. - -### 3. Create a secret - -When viewing the newly-created app registration, click the "Add a certificate or secret" link under "Client credentials". Under the "Client secrets" tab, click the "New client secret" button. - -![Add a client secret](../../media/authentication/azure_ad_add_client_secret.png) - -You can optionally specify a description and select a lifetime for the secret. - -![Client secret parameters](../../media/authentication/azure_ad_client_secret.png) - -Once finished, make note of the secret value (not the secret ID); this will be used when configuring NetBox. - -![Client secret parameters](../../media/authentication/azure_ad_client_secret_created.png) - -## NetBox Configuration - -### 1. Enter configuration parameters - -Enter the following configuration parameters in `configuration.py`, substituting your own values: - -```python -REMOTE_AUTH_BACKEND = 'social_core.backends.azuread.AzureADOAuth2' -SOCIAL_AUTH_AZUREAD_OAUTH2_KEY = '{APPLICATION_ID}' -SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET = '{SECRET_VALUE}' -``` - -### 2. Restart NetBox - -Restart the NetBox services so that the new configuration takes effect. This is typically done with the command below: - -```no-highlight -sudo systemctl restart netbox -``` - -## Testing - -Log out of NetBox if already authenticated, and click the "Log In" button at top right. You should see the normal login form as well as an option to authenticate using Azure AD. Click that link. - -![NetBox Azure AD login form](../../media/authentication/netbox_azure_ad_login.png) - -You should be redirected to Microsoft's authentication portal. Enter the username/email and password of your test account to continue. You may also be prompted to grant this application access to your account. - -![NetBox Azure AD login form](../../media/authentication/azure_ad_login_portal.png) - -If successful, you will be redirected back to the NetBox UI, and will be logged in as the AD user. You can verify this by navigating to your profile (using the button at top right). - -This user account has been replicated locally to NetBox, and can now be assigned groups and permissions. - -## Troubleshooting - -### Redirect URI does not Match - -Azure requires that the authenticating client request a redirect URI that matches what you've configured for the app in step two. This URI **must** begin with `https://` (unless using `localhost` for the domain). - -If Azure complains that the requested URI starts with `http://` (not HTTPS), it's likely that your HTTP server is misconfigured or sitting behind a load balancer, so NetBox is not aware that HTTPS is being use. To force the use of an HTTPS redirect URI, set `SOCIAL_AUTH_REDIRECT_IS_HTTPS = True` in `configuration.py` per the [python-social-auth docs](https://python-social-auth.readthedocs.io/en/latest/configuration/settings.html#processing-redirects-and-urlopen). - -### Not Logged in After Authenticating - -If you are redirected to the NetBox UI after authenticating successfully, but are _not_ logged in, double-check the configured backend and app registration. The instructions in this guide pertain only to the `azuread.AzureADOAuth2` backend using a single-tenant app registration. diff --git a/docs/administration/authentication/okta.md b/docs/administration/authentication/okta.md deleted file mode 100644 index 2cab186ee9..0000000000 --- a/docs/administration/authentication/okta.md +++ /dev/null @@ -1,70 +0,0 @@ -# Okta - -This guide explains how to configure single sign-on (SSO) support for NetBox using [Okta](https://www.okta.com/) as an authentication backend. - -## Okta Configuration - -!!! tip "Okta developer account" - Okta offers free developer accounts at . - -### 1. Create a test user (optional) - -Create a new user in the Okta admin portal to be used for testing. You can skip this step if you already have a suitable account created. - -### 2. Create an app registration - -Within the Okta administration dashboard, navigate to **Applications > Applications**, and click the "Create App Integration" button. Select "OIDC" as the sign-in method, and "Web application" for the application type. - -![Create an app registration](../../media/authentication/okta_create_app_registration.png) - -On the next page, give the app integration a name (e.g. "NetBox") and specify the sign-in and sign-out URIs. These URIs should follow the formats below: - -* Sign-in URI: `https://{netbox}/oauth/complete/okta-openidconnect/` -* Sign-out URI: `https://{netbox}/oauth/disconnect/okta-openidconnect/` - -![Web app integration](../../media/authentication/okta_web_app_integration.png) - -Under "Assignments," select the controlled access setting most appropriate for your organization. Click "Save" to complete the creation. - -Once finished, note the following parameters. These will be used to configured NetBox. - -* Client ID -* Client secret -* Okta domain - -![Okta integration parameters](../../media/authentication/okta_integration_parameters.png) - -## NetBox Configuration - -### 1. Enter configuration parameters - -Enter the following configuration parameters in `configuration.py`, substituting your own values: - -```python -REMOTE_AUTH_BACKEND = 'social_core.backends.okta_openidconnect.OktaOpenIdConnect' -SOCIAL_AUTH_OKTA_OPENIDCONNECT_KEY = '{Client ID}' -SOCIAL_AUTH_OKTA_OPENIDCONNECT_SECRET = '{Client secret}' -SOCIAL_AUTH_OKTA_OPENIDCONNECT_API_URL = 'https://{Okta domain}/oauth2/' -``` - -### 2. Restart NetBox - -Restart the NetBox services so that the new configuration takes effect. This is typically done with the command below: - -```no-highlight -sudo systemctl restart netbox -``` - -## Testing - -Log out of NetBox if already authenticated, and click the "Log In" button at top right. You should see the normal login form as well as an option to authenticate using Okta. Click that link. - -![NetBox Okta login form](../../media/authentication/netbox_okta_login.png) - -You should be redirected to Okta's authentication portal. Enter the username/email and password of your test account to continue. You may also be prompted to grant this application access to your account. - -![Okta login portal](../../media/authentication/okta_login_portal.png) - -If successful, you will be redirected back to the NetBox UI, and will be logged in as the Okta user. You can verify this by navigating to your profile (using the button at top right). - -This user account has been replicated locally to NetBox, and can now be assigned groups and permissions. diff --git a/docs/administration/authentication/overview.md b/docs/administration/authentication/overview.md deleted file mode 100644 index 19c86a4c04..0000000000 --- a/docs/administration/authentication/overview.md +++ /dev/null @@ -1,62 +0,0 @@ -# Authentication - -## Local Authentication - -Local user accounts and groups can be created in NetBox under the "Authentication" section in the "Admin" menu. This section is available only to users with the "staff" permission enabled. - -At a minimum, each user account must have a username and password set. User accounts may also denote a first name, last name, and email address. [Permissions](../permissions.md) may also be assigned to individual users and/or groups as needed. - -## Remote Authentication - -NetBox may be configured to provide user authenticate via a remote backend in addition to local authentication. This is done by setting the `REMOTE_AUTH_BACKEND` configuration parameter to a suitable backend class. NetBox provides several options for remote authentication. - -### LDAP Authentication - -```python -REMOTE_AUTH_BACKEND = 'netbox.authentication.LDAPBackend' -``` - -NetBox includes an authentication backend which supports LDAP. See the [LDAP installation docs](../../installation/6-ldap.md) for more detail about this backend. - -### HTTP Header Authentication - -```python -REMOTE_AUTH_BACKEND = 'netbox.authentication.RemoteUserBackend' -``` - -Another option for remote authentication in NetBox is to enable HTTP header-based user assignment. The front end HTTP server (e.g. nginx or Apache) performs client authentication as a process external to NetBox, and passes information about the authenticated user via HTTP headers. By default, the user is assigned via the `REMOTE_USER` header, but this can be customized via the `REMOTE_AUTH_HEADER` configuration parameter. - -Optionally, user profile information can be supplied by `REMOTE_USER_FIRST_NAME`, `REMOTE_USER_LAST_NAME` and `REMOTE_USER_EMAIL` headers. These are saved to the user's profile during the authentication process. These headers can be customized like the `REMOTE_USER` header. - -!!! warning Verify Header Compatibility - Some WSGI servers may drop headers which contain unsupported characters. For instance, gunicorn v22.0 and later silently drops HTTP headers containing underscores. This behavior can be disabled by changing gunicorn's [`header_map`](https://docs.gunicorn.org/en/stable/settings.html#header-map) setting to `dangerous`. - -### Single Sign-On (SSO) - -```python -REMOTE_AUTH_BACKEND = 'social_core.backends.google.GoogleOAuth2' -``` - -NetBox supports single sign-on authentication via the [python-social-auth](https://github.com/python-social-auth) library. To enable SSO, specify the path to the desired authentication backend within the `social_core` Python package. Please see the complete list of [supported authentication backends](https://github.com/python-social-auth/social-core/tree/master/social_core/backends) for the available options. - -Most remote authentication backends require some additional configuration through settings prefixed with `SOCIAL_AUTH_`. These will be automatically imported from NetBox's `configuration.py` file. Additionally, the [authentication pipeline](https://python-social-auth.readthedocs.io/en/latest/pipeline.html) can be customized via the `SOCIAL_AUTH_PIPELINE` parameter. (NetBox's default pipeline is defined in `netbox/settings.py` for your reference.) - -#### Configuring the SSO module's appearance - -The way a remote authentication backend is displayed to the user on the login -page may be adjusted via the `SOCIAL_AUTH_BACKEND_ATTRS` parameter, defaulting -to an empty dictionary. This dictionary maps a `social_core` module's name (ie. -`REMOTE_AUTH_BACKEND.name`) to a couple of parameters, `(display_name, icon)`. - -The `display_name` is the name displayed to the user on the login page. The -icon may either be the URL of an icon; refer to a [Material Design -Icons](https://github.com/google/material-design-icons) icon's name; or be -`None` for no icon. - -For instance, the OIDC backend may be customized with - -```python -SOCIAL_AUTH_BACKEND_ATTRS = { - 'oidc': ("My awesome SSO", "login"), -} -``` diff --git a/docs/administration/error-reporting.md b/docs/administration/error-reporting.md deleted file mode 100644 index 8b43122739..0000000000 --- a/docs/administration/error-reporting.md +++ /dev/null @@ -1,34 +0,0 @@ -# Error Reporting - -## Sentry - -### Enabling Error Reporting - -NetBox supports native integration with [Sentry](https://sentry.io/) for automatic error reporting. To enable this functionality, set `SENTRY_ENABLED` to `True` and define your unique [data source name (DSN)](https://docs.sentry.io/product/sentry-basics/concepts/dsn-explainer/) in `configuration.py`. - -```python -SENTRY_ENABLED = True -SENTRY_DSN = "https://examplePublicKey@o0.ingest.sentry.io/0" -``` - -Setting `SENTRY_ENABLED` to False will disable the Sentry integration. - -### Assigning Tags - -You can optionally attach one or more arbitrary tags to the outgoing error reports if desired by setting the `SENTRY_TAGS` parameter: - -```python -SENTRY_TAGS = { - "custom.foo": "123", - "custom.bar": "abc", -} -``` - -!!! warning "Reserved tag prefixes" - Avoid using any tag names which begin with `netbox.`, as this prefix is reserved by the NetBox application. - -### Testing - -Once the configuration has been saved, restart the NetBox service. - -To test Sentry operation, try generating a 404 (page not found) error by navigating to an invalid URL, such as `https://netbox/404-error-testing`. (Be sure that debug mode has been disabled.) After receiving a 404 response from the NetBox server, you should see the issue appear shortly in Sentry. diff --git a/docs/administration/netbox-shell.md b/docs/administration/netbox-shell.md deleted file mode 100644 index a74c5114ba..0000000000 --- a/docs/administration/netbox-shell.md +++ /dev/null @@ -1,199 +0,0 @@ -# The NetBox Python Shell - -NetBox includes a Python management shell within which objects can be directly queried, created, modified, and deleted. To enter the shell, run the following command: - -``` -./manage.py nbshell -``` - -This will launch a lightly customized version of [the built-in Django shell](https://docs.djangoproject.com/en/stable/ref/django-admin/#shell) with all relevant NetBox models pre-loaded. (If desired, the stock Django shell is also available by executing `./manage.py shell`.) - -``` -$ ./manage.py nbshell -### NetBox interactive shell (localhost) -### Python 3.7.10 | Django 3.2.5 | NetBox 3.0 -### lsmodels() will show available models. Use help() for more info. -``` - -The function `lsmodels()` will print a list of all available NetBox models: - -``` ->>> lsmodels() -DCIM: - ConsolePort - ConsolePortTemplate - ConsoleServerPort - ConsoleServerPortTemplate - Device - ... -``` - -!!! warning - The NetBox shell affords direct access to NetBox data and function with very little validation in place. As such, it is crucial to ensure that only authorized, knowledgeable users are ever granted access to it. Never perform any action in the management shell without having a full backup in place. - -## Querying Objects - -Objects are retrieved from the database using a [Django queryset](https://docs.djangoproject.com/en/stable/topics/db/queries/#retrieving-objects). The base queryset for an object takes the form `.objects.all()`, which will return a (truncated) list of all objects of that type. - -``` ->>> Device.objects.all() -, , , -, , '...(remaining elements truncated)...']> -``` - -Use a `for` loop to cycle through all objects in the list: - -``` ->>> for device in Device.objects.all(): -... print(device.name, device.device_type) -... -('TestDevice1', ) -('TestDevice2', ) -('TestDevice3', ) -('TestDevice4', ) -('TestDevice5', ) -... -``` - -To count all objects matching the query, replace `all()` with `count()`: - -``` ->>> Device.objects.count() -1274 -``` - -To retrieve a particular object (typically by its primary key or other unique field), use `get()`: - -``` ->>> Site.objects.get(pk=7) - -``` - -### Filtering Querysets - -In most cases, you will want to retrieve only a specific subset of objects. To filter a queryset, replace `all()` with `filter()` and pass one or more keyword arguments. For example: - -``` ->>> Device.objects.filter(status="active") -, , , -, , '...(remaining elements truncated)...']> -``` - -Querysets support slicing to return a specific range of objects. - -``` ->>> Device.objects.filter(status="active")[:3] -, , ]> -``` - -The `count()` method can be appended to the queryset to return a count of objects rather than the full list. - -``` ->>> Device.objects.filter(status="active").count() -982 -``` - -Relationships with other models can be traversed by concatenating attribute names with a double-underscore. For example, the following will return all devices assigned to the tenant named "Pied Piper." - -``` ->>> Device.objects.filter(tenant__name="Pied Piper") -``` - -This approach can span multiple levels of relations. For example, the following will return all IP addresses assigned to a device in North America: - -``` ->>> IPAddress.objects.filter(interface__device__site__region__slug="north-america") -``` - -!!! note - While the above query is functional, it's not very efficient. There are ways to optimize such requests; however, they are out of scope for this document. For more information, see the [Django queryset method reference](https://docs.djangoproject.com/en/stable/ref/models/querysets/) documentation. - -Reverse relationships can be traversed as well. For example, the following will find all devices with an interface named "em0": - -``` ->>> Device.objects.filter(interfaces__name="em0") -``` - -Character fields can be filtered against partial matches using the `contains` or `icontains` field lookup (the later of which is case-insensitive). - -``` ->>> Device.objects.filter(name__icontains="testdevice") -``` - -Similarly, numeric fields can be filtered by values less than, greater than, and/or equal to a given value. - -``` ->>> VLAN.objects.filter(vid__gt=2000) -``` - -Multiple filters can be combined to further refine a queryset. - -``` ->>> VLAN.objects.filter(vid__gt=2000, name__icontains="engineering") -``` - -To return the inverse of a filtered queryset, use `exclude()` instead of `filter()`. - -``` ->>> Device.objects.count() -4479 ->>> Device.objects.filter(status="active").count() -4133 ->>> Device.objects.exclude(status="active").count() -346 -``` - -!!! info - The examples above are intended only to provide a cursory introduction to queryset filtering. For an exhaustive list of the available filters, please consult the [Django queryset API documentation](https://docs.djangoproject.com/en/stable/ref/models/querysets/). - -## Creating and Updating Objects - -New objects can be created by instantiating the desired model, defining values for all required attributes, and calling `save()` on the instance. For example, we can create a new VLAN by specifying its numeric ID, name, and assigned site: - -``` ->>> lab1 = Site.objects.get(pk=7) ->>> myvlan = VLAN(vid=123, name='MyNewVLAN', site=lab1) ->>> myvlan.full_clean() ->>> myvlan.save() -``` - -To modify an existing object, we retrieve it, update the desired field(s), and call `save()` again. - -``` ->>> vlan = VLAN.objects.get(pk=1280) ->>> vlan.name -'MyNewVLAN' ->>> vlan.name = 'BetterName' ->>> vlan.full_clean() ->>> vlan.save() ->>> VLAN.objects.get(pk=1280).name -'BetterName' -``` - -!!! warning - The Django ORM provides methods to create/edit many objects at once, namely `bulk_create()` and `update()`. These are best avoided in most cases as they bypass a model's built-in validation and can easily lead to database corruption if not used carefully. - -## Deleting Objects - -To delete an object, simply call `delete()` on its instance. This will return a dictionary of all objects (including related objects) which have been deleted as a result of this operation. - -``` ->>> vlan - ->>> vlan.delete() -(1, {'ipam.VLAN': 1}) -``` - -To delete multiple objects at once, call `delete()` on a filtered queryset. It's a good idea to always sanity-check the count of selected objects _before_ deleting them. - -``` ->>> Device.objects.filter(name__icontains='test').count() -27 ->>> Device.objects.filter(name__icontains='test').delete() -(35, {'dcim.DeviceBay': 0, 'dcim.InterfaceConnection': 4, -'extras.ImageAttachment': 0, 'dcim.Device': 27, 'dcim.Interface': 4, -'dcim.ConsolePort': 0, 'dcim.PowerPort': 0}) -``` - -!!! warning - Deletions are immediate and irreversible. Always consider the impact of deleting objects carefully before calling `delete()` on an instance or queryset. diff --git a/docs/administration/permissions.md b/docs/administration/permissions.md deleted file mode 100644 index d16d599d94..0000000000 --- a/docs/administration/permissions.md +++ /dev/null @@ -1,113 +0,0 @@ -# Object-Based Permissions - -NetBox employs a new object-based permissions framework, which replaces Django's built-in permissions model. Object-based permissions enable an administrator to grant users or groups the ability to perform an action on arbitrary subsets of objects in NetBox, rather than all objects of a certain type. For example, it is possible to grant a user permission to view only sites within a particular region, or to modify only VLANs with a numeric ID within a certain range. - -A permission in NetBox represents a relationship shared by several components: - -* Object type(s) - One or more types of object in NetBox -* User(s)/Group(s) - One or more users or groups of users -* Action(s) - The action(s) that can be performed on an object -* Constraints - An arbitrary filter used to limit the granted action(s) to a specific subset of objects - -At a minimum, a permission assignment must specify one object type, one user or group, and one action. The specification of constraints is optional: A permission without any constraints specified will apply to all instances of the selected model(s). - -## Actions - -There are four core actions that can be permitted for each type of object within NetBox, roughly analogous to the CRUD convention (create, read, update, and delete): - -* **View** - Retrieve an object from the database -* **Add** - Create a new object -* **Change** - Modify an existing object -* **Delete** - Delete an existing object - -In addition to these, permissions can also grant custom actions that may be required by a specific model or plugin. For example, the `run` permission for scripts allows a user to execute custom scripts. These can be specified when granting a permission in the "additional actions" field. - -!!! note - Internally, all actions granted by a permission (both built-in and custom) are stored as strings in an array field named `actions`. - -## Constraints - -Constraints are expressed as a JSON object or list representing a [Django query filter](https://docs.djangoproject.com/en/stable/ref/models/querysets/#field-lookups). This is the same syntax that you would pass to the QuerySet `filter()` method when performing a query using the Django ORM. As with query filters, double underscores can be used to traverse related objects or invoke lookup expressions. Some example queries and their corresponding definitions are shown below. - -All attributes defined within a single JSON object are applied with a logical AND. For example, suppose you assign a permission for the site model with the following constraints. - -```json -{ - "status": "active", - "region__name": "Americas" -} -``` - -The permission will grant access only to sites which have a status of "active" **and** which are assigned to the "Americas" region. - -To achieve a logical OR with a different set of constraints, define multiple objects within a list. For example, if you want to constrain the permission to VLANs with an ID between 100 and 199 _or_ a status of "reserved," do the following: - -```json -[ - { - "vid__gte": 100, - "vid__lt": 200 - }, - { - "status": "reserved" - } -] -``` - -Additionally, where multiple permissions have been assigned for an object type, their collective constraints will be merged using a logical "OR" operation. - -### User Token - -When defining a permission constraint, administrators may use the special token `$user` to reference the current user at the time of evaluation. This can be helpful to restrict users to editing only their own journal entries, for example. Such a constraint might be defined as: - -```json -{ - "created_by": "$user" -} -``` - -The `$user` token can be used only as a constraint value, or as an item within a list of values. It cannot be modified or extended to reference specific user attributes. - -### Default Permissions - -While permissions are typically assigned to specific groups and/or users, it is also possible to define a set of default permissions that are applied to _all_ authenticated users. This is done using the [`DEFAULT_PERMISSIONS`](../configuration/security.md#default_permissions) configuration parameter. Note that statically configuring permissions for specific users or groups is **not** supported. - -### Example Constraint Definitions - -| Constraints | Description | -| ----------- | ----------- | -| `{"status": "active"}` | Status is active | -| `{"status__in": ["planned", "reserved"]}` | Status is active **OR** reserved | -| `{"status": "active", "role": "testing"}` | Status is active **AND** role is testing | -| `{"name__startswith": "Foo"}` | Name starts with "Foo" (case-sensitive) | -| `{"name__iendswith": "bar"}` | Name ends with "bar" (case-insensitive) | -| `{"vid__gte": 100, "vid__lt": 200}` | VLAN ID is greater than or equal to 100 **AND** less than 200 | -| `[{"vid__lt": 200}, {"status": "reserved"}]` | VLAN ID is less than 200 **OR** status is reserved | - -## Permissions Enforcement - -### Viewing Objects - -Object-based permissions work by filtering the database query generated by a user's request to restrict the set of objects returned. When a request is received, NetBox first determines whether the user is authenticated and has been granted to perform the requested action. For example, if the requested URL is `/dcim/devices/`, NetBox will check for the `dcim.view_device` permission. If the user has not been assigned this permission (either directly or via a group assignment), NetBox will return a 403 (forbidden) HTTP response. - -If the permission _has_ been granted, NetBox will compile any specified constraints for the model and action. For example, suppose two permissions have been assigned to the user granting view access to the device model, with the following constraints: - -```json -[ - {"site__name__in": ["NYC1", "NYC2"]}, - {"status": "offline", "tenant__isnull": true} -] -``` - -This grants the user access to view any device that is assigned to a site named NYC1 or NYC2, **or** which has a status of "offline" and has no tenant assigned. These constraints are equivalent to the following ORM query: - -```no-highlight -Site.objects.filter( - Q(site__name__in=['NYC1', 'NYC2']), - Q(status='active', tenant__isnull=True) -) -``` - -### Creating and Modifying Objects - -The same sort of logic is in play when a user attempts to create or modify an object in NetBox, with a twist. Once validation has completed, NetBox starts an atomic database transaction to facilitate the change, and the object is created or saved normally. Next, still within the transaction, NetBox issues a second query to retrieve the newly created/updated object, filtering the restricted queryset with the object's primary key. If this query fails to return the object, NetBox knows that the new revision does not match the constraints imposed by the permission. The transaction is then rolled back, leaving the database in its original state prior to the change, and the user is informed of the violation. diff --git a/docs/administration/replicating-netbox.md b/docs/administration/replicating-netbox.md deleted file mode 100644 index 8aa423ef6a..0000000000 --- a/docs/administration/replicating-netbox.md +++ /dev/null @@ -1,73 +0,0 @@ -# Replicating NetBox - -## Replicating the Database - -NetBox employs a [PostgreSQL](https://www.postgresql.org/) database, so general PostgreSQL best practices apply here. The database can be written to a file and restored using the `pg_dump` and `psql` utilities, respectively. - -!!! note - The examples below assume that your database is named `netbox`. - -### Export the Database - -Use the `pg_dump` utility to export the entire database to a file: - -```no-highlight -pg_dump --username netbox --password --host localhost netbox > netbox.sql -``` - -!!! note - You may need to change the username, host, and/or database in the command above to match your installation. - -When replicating a production database for development purposes, you may find it convenient to exclude changelog data, which can easily account for the bulk of a database's size. To do this, exclude the `core_objectchange` table data from the export. The table will still be included in the output file, but will not be populated with any data. - -```no-highlight -pg_dump ... --exclude-table-data=core_objectchange netbox > netbox.sql -``` - -### Load an Exported Database - -When restoring a database from a file, it's recommended to delete any existing database first to avoid potential conflicts. - -!!! warning - The following will destroy and replace any existing instance of the database. - -```no-highlight -psql -c 'drop database netbox' -psql -c 'create database netbox' -psql netbox < netbox.sql -``` - -Keep in mind that PostgreSQL user accounts and permissions are not included with the dump: You will need to create those manually if you want to fully replicate the original database (see the [installation docs](../installation/1-postgresql.md)). When setting up a development instance of NetBox, it's strongly recommended to use different credentials anyway. - -### Export the Database Schema - -If you want to export only the database schema, and not the data itself (e.g. for development reference), do the following: - -```no-highlight -pg_dump --username netbox --password --host localhost -s netbox > netbox_schema.sql -``` - ---- - -## Replicating Uploaded Media - -By default, NetBox stores uploaded files (such as image attachments) in its media directory. To fully replicate an instance of NetBox, you'll need to copy both the database and the media files. - -!!! note - These operations are not necessary if your installation is utilizing a [remote storage backend](../configuration/system.md#storages). - -### Archive the Media Directory - -Execute the following command from the root of the NetBox installation path (typically `/opt/netbox`): - -```no-highlight -tar -czf netbox_media.tar.gz netbox/media/ -``` - -### Restore the Media Directory - -To extract the saved archive into a new installation, run the following from the installation root: - -```no-highlight -tar -xf netbox_media.tar.gz -``` diff --git a/docs/best-practices/modeling-pluggable-transceivers.md b/docs/best-practices/modeling-pluggable-transceivers.md deleted file mode 100644 index fe05ab5468..0000000000 --- a/docs/best-practices/modeling-pluggable-transceivers.md +++ /dev/null @@ -1,74 +0,0 @@ -# Modeling Pluggable Transceivers - -## Use Case - -Many network devices utilize field-swappable [small-form factor pluggable transceivers (SFPs)](https://en.wikipedia.org/wiki/Small_Form-factor_Pluggable) to enable changing the physical media type of a fixed interface. For example, a 10 Gigabit Ethernet interface might be connected using copper, multimode fiber, or single-mode fiber, each of which requires a different type of SFP+ transceiver. - -It can be challenging to model SFPs given their dynamic nature. This guide intends to capture the recommended strategy for modeling SFPs on NetBox v4.4 and later. - -## Modeling Strategy - -Pluggable transceivers are most accurately represented in NetBox as discrete [modules](../models/dcim/module.md) which are installed within [module bays](../models/dcim/modulebay.md). A module can deliver one or more [interfaces](../models/dcim/interface.md) (or other components) to the device in which it is installed. This approach ensures that a new interface is automatically created on the device when the module is installed, and deleted when the module is removed. - -```mermaid -flowchart BT - interface1[Interface 1/1]--> module1[SFP] - interface2[Interface 2/1]--> module2[SFP] - interface3[Interface 3/1] & interface4[Interface 3/2]--> module3[SFP] - module1 --> modulebay1[Module Bay 1] - module2 --> modulebay2[Module Bay 2] - module3 --> modulebay3[Module Bay 3] - modulebay1 & modulebay2 & modulebay3 --> device[Device] -``` - -### 1. Create an SFP Module Type Profile - -If one has not already been defined, create a [module type profile](../models/dcim/moduletypeprofile.md) for SFPs. This profile will be assigned for all module types which represent a pluggable transceiver. Typically, you will need only one profile for all pluggable transceivers. - -You might opt to define custom attributes for the profile by defining a custom [JSON schema](https://json-schema.org/). Profile attributes might be used to define characteristics unique to transceivers, such as optical wavelength and power ranges. Adding profile attributes is optional, and can be done at a later point. - -!!! note - Creating a module type profile is optional, but recommended as it allows for defining custom module attributes. - -### 2. Create a Module Type for Each SFP Model in Inventory - -Next, create a [module type](../models/dcim/moduletype.md) to represent each unique SFP model present in your network. Each module type should define a manufacturer and a unique model name, and may also include a part number. For example, you might create a module type for each of the following transceivers: - -| Manufacturer | Model | Media Type | -|--------------|------------------|------------| -| Cisco | SFP-10G-SR | 10GE MMF | -| Cisco | SFP-10G-LR | 10GE SMF | -| Juniper | QFX-QSFP-40G-SR4 | 40GE MMF | -| Juniper | JNP-QSFP-DAC-5M | 40GE DAC | - -### 3. Add an Interface to the Module Type - -After creating each module type, create an interface template on it to represent its physical interface. The definition of this interface template will depend on the transceiver's physical media type. (Reference the table above for examples.) When a new module is "installed" within a module bay on a device, its templated interface(s) will be automatically instantiated on that device as child interfaces of the module. - -Determining which name to use for the transceiver's interface can be tricky, as the interface name might depend on the type of device in which the SFP is installed. To avoid having to rename interfaces, consider using the `{module}` token in place of a static interface name. The interface's name will inherit the position of the bay in which its parent module is installed. If creating multiple interfaces on a module, be sure to append a unique ID (e.g. `{module}:1`) to ensure each interface gets assigned a unique name. - -### 4. Create Device Types - -If you haven't already, create a [device type](../models/dcim/devicetype.md) to represent each unique device model in your network. - -!!! note - Skip this step if you've already created the necessary device types. - -### 5. Add Module Bays to the Device Type - -Once you've created a device type, add the appropriate number of module bays on each device type to represent its SFP slots. For example, a Juniper QFX5110 would have module bays numbered `0/0/0` through `0/0/55`: 48 SFP+ bays and 8 QSFP28 bays (56 total). - -Be sure to define both the name **and position** of each module bay with a unique value. The module bay's position will be used to automatically name SFP interfaces. - -### 6. Create a Device - -Create a new device using the device type added in the previous step. The module bays (and any other components) defined on the device type will be instantiated on the new device automatically. - -!!! note - If you've already created the necessary devices in NetBox, you'll need to add their module bays manually. You can add multiple module bays at once by selecting the desired devices from the device list and selecting **Add Components > Module Bays** at the bottom of the page. - -### 7. Add the SFP Modules - -Finally, create each SFP in the new device by "installing" a new module of the appropriate type in each module bay. The interface(s) defined on the selected module type will be automatically populated on the new module. If present, the `{module}` token in the name of each interface template will be replaced with the position of the bay in which the module is being installed. For example, an interface template with the name `et-{module}` being created on a module installed in a bay with position `0/0/14` will create an interface named `et-0/0/14`. - -When adding many modules at once, you may find it helpful to utilize NetBox's bulk import functionality. This allows you to create many modules at once from CSV, JSON, or YAML data. diff --git a/docs/best-practices/performance-handbook.md b/docs/best-practices/performance-handbook.md deleted file mode 100644 index 5611fb14d0..0000000000 --- a/docs/best-practices/performance-handbook.md +++ /dev/null @@ -1,187 +0,0 @@ -# Performance Handbook - -The purpose of this handbook is to help users and administrators use NetBox efficiently. It contains assorted recommendations and best practices compiled over time, intending to serve a wide variety of use cases. - -## Server Configuration - -### WSGI Server Configuration - -NetBox operates as a [Web Server Gateway Interface (WSGI)](https://en.wikipedia.org/wiki/Web_Server_Gateway_Interface) application, which sits behind a frontend HTTP server such as nginx or Apache. The HTTP server handles low-level HTTP request processing and serving static assets, and forwards application-level requests to NetBox via WSGI. - -A backend WSGI server (typically [Gunicorn](https://gunicorn.org/) or [uWSGI](https://uwsgi-docs.readthedocs.io/en/latest/)) is responsible for running the NetBox application. This is accomplished by initializing a number of WSGI worker processes which accept WSGI requests relayed from the frontend HTTP server. - -Tuning your WSGI server is crucial to realizing optimal performance from NetBox. Below are some recommended configuration parameters. - -#### Provision Multiple Workers - -General guidance is to set the number of worker processes to double the number of CPU cores available, plus one (`2 * CPUs + 1`). - -#### Limit the Worker Lifetime - -Set a maximum number of requests that a worker can service before being respawned. This helps protect against potential memory leaks. - -#### Set a Request Timeout - -Limit the time a worker may spend processing any request. This prevents a long-running request from tying up a worker beyond an acceptable threshold. We suggest a limit of 120 seconds as a reasonable safeguard. - -#### Bind Using a Unix Socket - -When running the HTTP frontend and WSGI server on the same machine, binding via a Unix socket (instead of a TCP socket) may yield slight performance gains. - -### NetBox Configuration - -NetBox ships with a reasonable default configuration for most environments, but administrators are encouraged to explore all the [available parameters](../configuration/index.md) to tune their installation. Some of the most notable parameters impacting performance are called out below. - -#### Reduce the Maximum Page Size - -NetBox paginates large result sets to reduce the overall response size. The [`MAX_PAGE_SIZE`](../configuration/miscellaneous.md#max_page_size) parameter specifies the maximum number of results per page that a client can request. This is set to 1,000 by default. Consider lowering this number if you find that API clients are frequently requesting very large result sets. - -#### Limit GraphQL Aliases - -By default, NetBox restricts a GraphQL query to 10 aliases. Consider reducing this number by setting [`GRAPHQL_MAX_ALIASES`](../configuration/graphql-api.md#graphql_max_aliases) to a lower value. - -#### Designate Isolated Deployments - -If your NetBox installation does not have Internet access, set [`ISOLATED_DEPLOYMENT`](../configuration/system.md#isolated_deployment) to True. This will prevent the application from attempting routine external requests. - -#### Reduce Sentry Sampling - -If [Sentry](https://sentry.io/) has been enabled for error reporting and analytics, consider lowering its sampling rate. This can be accomplished by modifying the values for `sample_rate` and `traces_sample_rate` under [`SENTRY_CONFIG`](../configuration/error-reporting.md#sentry_config). - -#### Remove Unneeded Event Handlers - -Check whether any custom event handlers have been added under [`EVENTS_PIPELINE`](../configuration/miscellaneous.md#events_pipeline). Remove any that are no longer needed. - -### Background Task Workers - -NetBox defers the execution of certain tasks to background workers via Redis queues serviced by one or more background workers. These workers operate asynchronously from the frontend WSGI workers, and process tasks in the order they are enqueued. - -NetBox creates three default queues for background tasks: `high`, `default`, and `low`. Additional queues can be configured via the [`QUEUE_MAPPINGS`](../configuration/miscellaneous.md#queue_mappings) configuration parameter. - -By default, a background worker (spawned via `manage.py rqworker`) will listen to all available queues. To improve responsiveness to high-priority background tasks, consider dedicating one or more workers to service the `high` queue only: - -``` -$ ./manage.py rqworker high -19:31:20 Worker 861be45b32214afc95c235beeb19c9fa: started with PID 2300029, version 2.6.0 -19:31:20 Worker 861be45b32214afc95c235beeb19c9fa: subscribing to channel rq:pubsub:861be45b32214afc95c235beeb19c9fa -19:31:20 *** Listening on high... -19:31:20 Worker 861be45b32214afc95c235beeb19c9fa: cleaning registries for queue: high -19:31:20 Scheduler for high started with PID 2300096 -``` - -## API Clients - -### REST API - -NetBox's [REST API](../integrations/rest-api.md) is the primary means of integration with external systems, allowing full create, read, update, and delete (CRUD) operations. There are a few performance considerations to keep in mind when dealing with very large data sets. - -#### Use "Brief" Mode for Simple Lists - -In cases where you need to retrieve only a minimal representation of objects, append `?brief=True` to the URL. This instructs NetBox to omit all fields except the following: - -* ID -* URL -* Display text -* Name (or similar identifier) -* Slug (if present) -* Description -* Counts of notable related objects (where applicable) - -For example, a site fetched using brief mode returns only the following: - -```json -{ - "id": 2, - "url": "https://netbox/api/dcim/sites/2/", - "display": "DM-Akron", - "name": "DM-Akron", - "slug": "dm-akron", - "description": "" -} -``` - -Omitting all other fields (especially those which fetch and return related objects) often results in much faster queries. - -#### Declare Selected Fields - -If you need more flexibility regarding the fields to be returned for an object type, you can specify a list of fields to include using the `fields` query parameter. For example, a request for `/api/dcim/sites/?fields=id,name,status,region` will return the following: - -```json -{ - "id": 2, - "name": "DM-Akron", - "status": { - "value": "active", - "label": "Active" - }, - "region": { - "id": 51, - "url": "https://netbox/api/dcim/regions/51/", - "display": "Ohio", - "name": "Ohio", - "slug": "us-oh", - "description": "", - "site_count": 0, - "_depth": 2 - } -} -``` - -Like brief mode, this approach can significantly reduce the response time of an API request by omitting unneeded data. - -#### Employ Pagination - -Like the user interface, the REST API employs pagination to limit the number of objects returned in a single response. If a page size is not specified by the request (i.e. by passing `?limit=10`), NetBox will use the default size defined by [`PAGINATE_COUNT`](../configuration/default-values.md#paginate_count). The default page size is 50. - -For some requests, especially those using brief mode or a minimal selection of fields, it may be desirable to specify a higher page size, so that fewer requests are needed to retrieve all objects. Appending `?limit=0` to the request effectively seeks to disable pagination. (Note, however, that the requested page size cannot exceed the value of [`MAX_PAGE_SIZE`](../configuration/miscellaneous.md#max_page_size), which defaults to 1,000.) - -Complex API requests, which pull in many related objects, generate a relatively high load on the application, and generally benefit from reduced page size. If you find that your API requests are taking an inordinate amount of time, try reducing the page size from the default value so that fewer objects need to be returned for each request. - -### GraphQL API - -NetBox's read-only [GraphQL API](../integrations/graphql-api.md) offers an alternative to its REST API, and provides a very flexible means of retrieving data. GraphQL enables the client to request any object from a single endpoint, specifying only the desired attributes and relations. Many users prefer this to the more rigid structure of the REST API, but it's important to understand the trade-offs of crafting complex queries. - -#### Request Only the Necessary Fields - -For optimal performance, craft your GraphQL queries to return only the fields needed by the client. This will reduce the overall query time, especially when omitting related objects. - -#### Avoid Overly Complex Queries - -The primary benefit of the GraphQL API is that it allows the client to offload to the server the work of stitching together various related objects, which would require the client to make multiple requests to different endpoints if using the REST API. However, this advantage does not come for free: The more information that is requested in a single query, the more work the server needs to do to fetch the raw data from the database and render it into a GraphQL response. Very complex queries can yield dozens or hundreds of SQL queries on the backend, which increase the time it takes to render a response. - -While it can be tempting to pack as much data as possible into a single GraphQL query, realize that there is a balance to be struck between minimizing the number of queries needed and avoiding complexity in the interest of performance. For example, while it is possible to retrieve via a single GraphQL API request all the IP addresses and all attached cables for every device in a site, it is probably more efficient (often _much_ more efficient) to make two or three separate requests and correlate the data locally. - -#### Use Filters - -You can specify filters when making a GraphQL query to limit the set of objects returned. This works a bit differently from the REST API, as filters are declared inside the query statement rather than appended to the URL, but the concept is the same. For example, to return only active sites: - -```graphql -query { - site_list( - filters: { - status: STATUS_ACTIVE - } - ) { - name - } -} -``` - -This returns only sites with a status of "active" and avoid needing to parse through all the others. For further information about filters, see the [GraphQL API documentation](../integrations/graphql-api.md). - -#### Employ Pagination - -Like the REST API, the GraphQL API supports pagination. Queries which return a large number of objects should employ pagination to limit the size of each response. - -```graphql -{ - device_list( - pagination: {limit: 100} - ) { - id - name - serial - status - } -} -``` diff --git a/docs/configuration/data-validation.md b/docs/configuration/data-validation.md deleted file mode 100644 index 9988f6e0b6..0000000000 --- a/docs/configuration/data-validation.md +++ /dev/null @@ -1,110 +0,0 @@ -# Data & Validation Parameters - -## CUSTOM_VALIDATORS - -!!! tip "Dynamic Configuration Parameter" - -This is a mapping of models to [custom validators](../customization/custom-validation.md) that have been defined locally to enforce custom validation logic. An example is provided below: - -```python -CUSTOM_VALIDATORS = { - "dcim.site": [ - { - "name": { - "min_length": 5, - "max_length": 30 - } - }, - "my_plugin.validators.Validator1" - ], - "dcim.device": [ - "my_plugin.validators.Validator1" - ] -} -``` - ---- - -## FIELD_CHOICES - -Some static choice fields on models can be configured with custom values. This is done by defining `FIELD_CHOICES` as a dictionary mapping model fields to their choices. Each choice in the list must have a database value and a human-friendly label, and may optionally specify a color. (A list of available colors is provided below.) - -The choices provided can either replace the stock choices provided by NetBox, or append to them. To _replace_ the available choices, specify the app, model, and field name separated by dots. For example, the site model would be referenced as `dcim.Site.status`. To _extend_ the available choices, append a plus sign to the end of this string (e.g. `dcim.Site.status+`). - -For example, the following configuration would replace the default site status choices with the options Foo, Bar, and Baz: - -```python -FIELD_CHOICES = { - 'dcim.Site.status': ( - ('foo', 'Foo', 'red'), - ('bar', 'Bar', 'green'), - ('baz', 'Baz', 'blue'), - ) -} -``` - -Appending a plus sign to the field identifier would instead _add_ these choices to the ones already offered: - -```python -FIELD_CHOICES = { - 'dcim.Site.status+': ( - ... - ) -} -``` - -The following model fields support configurable choices: - -* `circuits.Circuit.status` -* `dcim.Device.status` -* `dcim.Location.status` -* `dcim.Module.status` -* `dcim.PowerFeed.status` -* `dcim.Rack.status` -* `dcim.Site.status` -* `dcim.VirtualDeviceContext.status` -* `extras.JournalEntry.kind` -* `ipam.IPAddress.status` -* `ipam.IPRange.status` -* `ipam.Prefix.status` -* `ipam.VLAN.status` -* `virtualization.Cluster.status` -* `virtualization.VirtualMachine.status` -* `wireless.WirelessLAN.status` - -The following colors are supported: - -* `blue` -* `indigo` -* `purple` -* `pink` -* `red` -* `orange` -* `yellow` -* `green` -* `teal` -* `cyan` -* `gray` -* `black` -* `white` - ---- - -## PROTECTION_RULES - -!!! tip "Dynamic Configuration Parameter" - -This is a mapping of models to [custom validators](../customization/custom-validation.md) against which an object is evaluated immediately prior to its deletion. If validation fails, the object is not deleted. An example is provided below: - -```python -PROTECTION_RULES = { - "dcim.site": [ - { - "status": { - "eq": "decommissioning" - } - }, - "my_plugin.validators.Validator1", - ] -} -``` diff --git a/docs/configuration/default-values.md b/docs/configuration/default-values.md deleted file mode 100644 index c1ca904e96..0000000000 --- a/docs/configuration/default-values.md +++ /dev/null @@ -1,126 +0,0 @@ -# Default Value Parameters - -## DEFAULT_DASHBOARD - -This parameter controls the content and layout of user's default dashboard. Once the dashboard has been created, the user is free to customize it as they please by adding, removing, and reconfiguring widgets. - -This parameter must specify an iterable of dictionaries, each representing a discrete dashboard widget and its configuration. The following widget attributes are supported: - -* `widget`: Dotted path to the Python class (required) -* `width`: Default widget width (between 1 and 12, inclusive) -* `height`: Default widget height, in rows -* `title`: Widget title -* `color`: Color of the widget's title bar, specified by name -* `config`: Dictionary mapping of any widget configuration parameters - -A brief example configuration is provided below. - -```python -DEFAULT_DASHBOARD = [ - { - 'widget': 'extras.ObjectCountsWidget', - 'width': 4, - 'height': 3, - 'title': 'Organization', - 'config': { - 'models': [ - 'dcim.site', - 'tenancy.tenant', - 'tenancy.contact', - ] - } - }, - { - 'widget': 'extras.ObjectCountsWidget', - 'width': 4, - 'height': 3, - 'title': 'IPAM', - 'color': 'blue', - 'config': { - 'models': [ - 'ipam.prefix', - 'ipam.iprange', - 'ipam.ipaddress', - ] - } - }, -] -``` - -## DEFAULT_USER_PREFERENCES - -!!! tip "Dynamic Configuration Parameter" - -This is a dictionary defining the default preferences to be set for newly-created user accounts. For example, to set the default page size for all users to 100, define the following: - -```python -DEFAULT_USER_PREFERENCES = { - "pagination": { - "per_page": 100 - } -} -``` - -For a complete list of available preferences, log into NetBox and navigate to `/user/preferences/`. A period in a preference name indicates a level of nesting in the JSON data. The example above maps to `pagination.per_page`. - -See also: [Clearing table preferences](../features/user-preferences.md#clearing-table-preferences) for resolving errors caused by saved table columns or ordering. - ---- - -## PAGINATE_COUNT - -!!! tip "Dynamic Configuration Parameter" - -Default: `50` - -The default maximum number of objects to display per page within each list of objects. - ---- - -## POWERFEED_DEFAULT_AMPERAGE - -!!! tip "Dynamic Configuration Parameter" - -Default: `15` - -The default value for the `amperage` field when creating new power feeds. - ---- - -## POWERFEED_DEFAULT_MAX_UTILIZATION - -!!! tip "Dynamic Configuration Parameter" - -Default: `80` - -The default value (percentage) for the `max_utilization` field when creating new power feeds. - ---- - -## POWERFEED_DEFAULT_VOLTAGE - -!!! tip "Dynamic Configuration Parameter" - -Default: `120` - -The default value for the `voltage` field when creating new power feeds. - ---- - -## RACK_ELEVATION_DEFAULT_UNIT_HEIGHT - -!!! tip "Dynamic Configuration Parameter" - -Default: `22` - -Default height (in pixels) of a unit within a rack elevation. For best results, this should be approximately one tenth of `RACK_ELEVATION_DEFAULT_UNIT_WIDTH`. - ---- - -## RACK_ELEVATION_DEFAULT_UNIT_WIDTH - -!!! tip "Dynamic Configuration Parameter" - -Default: `220` - -Default width (in pixels) of a unit within a rack elevation. diff --git a/docs/configuration/development.md b/docs/configuration/development.md deleted file mode 100644 index a76fb80b09..0000000000 --- a/docs/configuration/development.md +++ /dev/null @@ -1,21 +0,0 @@ -# Development Parameters - -## DEBUG - -Default: `False` - -This setting enables debugging. Debugging should be enabled only during development or troubleshooting. Note that only -clients which access NetBox from a recognized [internal IP address](./system.md#internal_ips) will see debugging tools in the user -interface. - -!!! warning - Never enable debugging on a production system, as it can expose sensitive data to unauthenticated users and impose a - substantial performance penalty. - ---- - -## DEVELOPER - -Default: `False` - -This parameter serves as a safeguard to prevent some potentially dangerous behavior, such as generating new database schema migrations. Additionally, enabling this setting disables the debug warning banner in the UI. Set this to `True` **only** if you are actively developing the NetBox code base. diff --git a/docs/configuration/error-reporting.md b/docs/configuration/error-reporting.md deleted file mode 100644 index 2d287ef068..0000000000 --- a/docs/configuration/error-reporting.md +++ /dev/null @@ -1,120 +0,0 @@ -# Error Reporting Settings - -## SENTRY_CONFIG - -A dictionary mapping keyword arguments to values, to be passed to `sentry_sdk.init()`. See the [Sentry Python SDK documentation](https://docs.sentry.io/platforms/python/) for more information on supported parameters. - -The default configuration is shown below: - -```python -{ - "sample_rate": 1.0, - "send_default_pii": False, - "traces_sample_rate": 0, -} -``` - -Additionally, `http_proxy` and `https_proxy` are set to the HTTP and HTTPS proxies, respectively, configured for NetBox (if any). - -## SENTRY_DSN - -!!! warning "This parameter will be removed in NetBox v4.5." - Set this using `SENTRY_CONFIG` instead: - - ``` - SENTRY_CONFIG = { - "dsn": "https://examplePublicKey@o0.ingest.sentry.io/0", - } - ``` - -Default: `None` - -Defines a Sentry data source name (DSN) for automated error reporting. `SENTRY_ENABLED` must be `True` for this parameter to take effect. For example: - -``` -SENTRY_DSN = "https://examplePublicKey@o0.ingest.sentry.io/0" -``` - ---- - -## SENTRY_ENABLED - -Default: `False` - -Set to `True` to enable automatic error reporting via [Sentry](https://sentry.io/). - -!!! note - The `sentry-sdk` Python package is required to enable Sentry integration. - ---- - -## SENTRY_SAMPLE_RATE - -!!! warning "This parameter will be removed in NetBox v4.5." - Set this using `SENTRY_CONFIG` instead: - - ``` - SENTRY_CONFIG = { - "sample_rate": 0.2, - } - ``` - -Default: `1.0` (all) - -The sampling rate for errors. Must be a value between 0 (disabled) and 1.0 (report on all errors). - ---- - -## SENTRY_SEND_DEFAULT_PII - -!!! warning "This parameter will be removed in NetBox v4.5." - Set this using `SENTRY_CONFIG` instead: - - ``` - SENTRY_CONFIG = { - "send_default_pii": True, - } - ``` - -Default: `False` - -Maps to the Sentry SDK's [`send_default_pii`](https://docs.sentry.io/platforms/python/configuration/options/#send-default-pii) parameter. If enabled, certain personally identifiable information (PII) is added. - -!!! warning "Sensitive data" - If you enable this option, be aware that sensitive data such as cookies and authentication tokens will be logged. - ---- - -## SENTRY_TAGS - -An optional dictionary of tag names and values to apply to Sentry error reports.For example: - -``` -SENTRY_TAGS = { - "custom.foo": "123", - "custom.bar": "abc", -} -``` - -!!! warning "Reserved tag prefixes" - Avoid using any tag names which begin with `netbox.`, as this prefix is reserved by the NetBox application. - ---- - -## SENTRY_TRACES_SAMPLE_RATE - -!!! warning "This parameter will be removed in NetBox v4.5." - Set this using `SENTRY_CONFIG` instead: - - ``` - SENTRY_CONFIG = { - "traces_sample_rate": 0.2, - } - ``` - -Default: `0` (disabled) - -The sampling rate for transactions. Must be a value between 0 (disabled) and 1.0 (report on all transactions). - -!!! warning "Consider performance implications" - A high sampling rate for transactions can induce significant performance penalties. If transaction reporting is desired, it is recommended to use a relatively low sample rate of 10% to 20% (0.1 to 0.2). diff --git a/docs/configuration/graphql-api.md b/docs/configuration/graphql-api.md deleted file mode 100644 index 2c1a1c33b5..0000000000 --- a/docs/configuration/graphql-api.md +++ /dev/null @@ -1,17 +0,0 @@ -# GraphQL API Parameters - -## GRAPHQL_ENABLED - -!!! tip "Dynamic Configuration Parameter" - -Default: `True` - -Setting this to `False` will disable the GraphQL API. - ---- - -## GRAPHQL_MAX_ALIASES - -Default: `10` - -The maximum number of queries that a GraphQL API request may contain. diff --git a/docs/configuration/index.md b/docs/configuration/index.md deleted file mode 100644 index dab7f61353..0000000000 --- a/docs/configuration/index.md +++ /dev/null @@ -1,49 +0,0 @@ -# NetBox Configuration - -## Configuration File - -NetBox's configuration file contains all the important parameters which control how NetBox functions: database settings, security controls, user preferences, and so on. While the default configuration suffices out of the box for most use cases, there are a few [required parameters](./required-parameters.md) which **must** be defined during installation. - -The configuration file is loaded from `$INSTALL_ROOT/netbox/netbox/configuration.py` by default. An example configuration is provided at `configuration_example.py`, which you may copy to use as your default config. Note that a configuration file must be defined; NetBox will not run without one. - -!!! info "Customizing the Configuration Module" - A custom configuration module may be specified by setting the `NETBOX_CONFIGURATION` environment variable. This must be a dotted path to the desired Python module. For example, a file named `my_config.py` in the same directory as `settings.py` would be referenced as `netbox.my_config`. - - To keep things simple, the NetBox documentation refers to the configuration file simply as `configuration.py`. - -Some configuration parameters may alternatively be defined either in `configuration.py` or within the administrative section of the user interface. Settings which are "hard-coded" in the configuration file take precedence over those defined via the UI. - -## Dynamic Configuration Parameters - -Some configuration parameters are primarily controlled via NetBox's admin interface (under Admin > Extras > Configuration Revisions). These are noted where applicable in the documentation. These settings may also be overridden in `configuration.py` to prevent them from being modified via the UI. A complete list of supported parameters is provided below: - -* [`ALLOWED_URL_SCHEMES`](./security.md#allowed_url_schemes) -* [`BANNER_BOTTOM`](./miscellaneous.md#banner_bottom) -* [`BANNER_LOGIN`](./miscellaneous.md#banner_login) -* [`BANNER_TOP`](./miscellaneous.md#banner_top) -* [`CHANGELOG_RETENTION`](./miscellaneous.md#changelog_retention) -* [`CUSTOM_VALIDATORS`](./data-validation.md#custom_validators) -* [`DEFAULT_USER_PREFERENCES`](./default-values.md#default_user_preferences) -* [`ENFORCE_GLOBAL_UNIQUE`](./miscellaneous.md#enforce_global_unique) -* [`GRAPHQL_ENABLED`](./graphql-api.md#graphql_enabled) -* [`JOB_RETENTION`](./miscellaneous.md#job_retention) -* [`MAINTENANCE_MODE`](./miscellaneous.md#maintenance_mode) -* [`MAPS_URL`](./miscellaneous.md#maps_url) -* [`MAX_PAGE_SIZE`](./miscellaneous.md#max_page_size) -* [`PAGINATE_COUNT`](./default-values.md#paginate_count) -* [`POWERFEED_DEFAULT_AMPERAGE`](./default-values.md#powerfeed_default_amperage) -* [`POWERFEED_DEFAULT_MAX_UTILIZATION`](./default-values.md#powerfeed_default_max_utilization) -* [`POWERFEED_DEFAULT_VOLTAGE`](./default-values.md#powerfeed_default_voltage) -* [`PREFER_IPV4`](./miscellaneous.md#prefer_ipv4) -* [`RACK_ELEVATION_DEFAULT_UNIT_HEIGHT`](./default-values.md#rack_elevation_default_unit_height) -* [`RACK_ELEVATION_DEFAULT_UNIT_WIDTH`](./default-values.md#rack_elevation_default_unit_width) - -## Modifying the Configuration - -The configuration file may be modified at any time. However, the WSGI service (e.g. Gunicorn) must be restarted before these changes will take effect: - -```no-highlight -$ sudo systemctl restart netbox -``` - -Dynamic configuration parameters (those which can be modified via the UI) take effect immediately. diff --git a/docs/configuration/miscellaneous.md b/docs/configuration/miscellaneous.md deleted file mode 100644 index 18de6458d1..0000000000 --- a/docs/configuration/miscellaneous.md +++ /dev/null @@ -1,245 +0,0 @@ -# Miscellaneous Parameters - -## ADMINS - -NetBox will email details about critical errors to the administrators listed here. This should be a list of (name, email) tuples. For example: - -```python -ADMINS = [ - ['Hank Hill', 'hhill@example.com'], - ['Dale Gribble', 'dgribble@example.com'], -] -``` - ---- - -## BANNER_BOTTOM - -!!! tip "Dynamic Configuration Parameter" - -Sets content for the bottom banner in the user interface. - ---- - -## BANNER_LOGIN - -!!! tip "Dynamic Configuration Parameter" - -This defines custom content to be displayed on the login page above the login form. HTML is allowed. - ---- - -## BANNER_MAINTENANCE - -!!! tip "Dynamic Configuration Parameter" - -This adds a banner to the top of every page when maintenance mode is enabled. HTML is allowed. - ---- - -## BANNER_TOP - -!!! tip "Dynamic Configuration Parameter" - -Sets content for the top banner in the user interface. - -!!! tip - If you'd like the top and bottom banners to match, set the following: - - ```python - BANNER_TOP = 'Your banner text' - BANNER_BOTTOM = BANNER_TOP - ``` - ---- - -## CENSUS_REPORTING_ENABLED - -Default: `True` - -Enables anonymous census reporting. To opt out of census reporting, set this to `False`. - -This data enables the project maintainers to estimate how many NetBox deployments exist and track the adoption of new versions over time. Census reporting effects a single HTTP request each time a worker starts. The only data reported by this function are the NetBox version, Python version, and a pseudorandom unique identifier. - ---- - -## CHANGELOG_RETENTION - -!!! tip "Dynamic Configuration Parameter" - -Default: `90` - -The number of days to retain logged changes (object creations, updates, and deletions). Set this to `0` to retain -changes in the database indefinitely. - -!!! warning - If enabling indefinite changelog retention, it is recommended to periodically delete old entries. Otherwise, the database may eventually exceed capacity. - ---- - -## CHANGELOG_SKIP_EMPTY_CHANGES - -Default: `True` - -If enabled, a change log record will not be created when an object is updated without any changes to its existing field values. - -!!! note - The object's `last_updated` field will always reflect the time of the most recent update, regardless of this parameter. - ---- - -## DATA_UPLOAD_MAX_MEMORY_SIZE - -Default: `2621440` (2.5 MB) - -The maximum size (in bytes) of an incoming HTTP request (i.e. `GET` or `POST` data). Requests which exceed this size will raise a `RequestDataTooBig` exception. - ---- - -## ENFORCE_GLOBAL_UNIQUE - -!!! tip "Dynamic Configuration Parameter" - -Default: `True` - -By default, NetBox will prevent the creation of duplicate prefixes and IP addresses in the global table (that is, those which are not assigned to any VRF). This validation can be disabled by setting `ENFORCE_GLOBAL_UNIQUE` to `False`. - ---- - -## EVENTS_PIPELINE - -Default: `['extras.events.process_event_queue',]` - -NetBox will call dotted paths to the functions listed here for events (create, update, delete) on models as well as when custom EventRules are fired. - ---- - -## FILE_UPLOAD_MAX_MEMORY_SIZE - -Default: `2621440` (2.5 MB) - -The maximum amount (in bytes) of uploaded data that will be held in memory before being written to the filesystem. Changing this setting can be useful for example to be able to upload files bigger than 2.5MB to custom scripts for processing. - ---- - -## JOB_RETENTION - -!!! tip "Dynamic Configuration Parameter" - -Default: `90` - -The number of days to retain job results (scripts and reports). Set this to `0` to retain job results in the database indefinitely. - -!!! warning - If enabling indefinite job results retention, it is recommended to periodically delete old entries. Otherwise, the database may eventually exceed capacity. - ---- - -## MAINTENANCE_MODE - -!!! tip "Dynamic Configuration Parameter" - -Default: `False` - -Setting this to `True` will display a "maintenance mode" banner at the top of every page. Additionally, NetBox will no longer update a user's "last active" time upon login. This is to allow new logins when the database is in a read-only state. Recording of login times will resume when maintenance mode is disabled. - ---- - -## MAPS_URL - -!!! tip "Dynamic Configuration Parameter" - -Default: `https://maps.google.com/?q=` (Google Maps) - -This specifies the URL to use when presenting a map of a physical location by street address or GPS coordinates. The URL must accept either a free-form street address or a comma-separated pair of numeric coordinates appended to it. Set this to `None` to disable the "map it" button within the UI. - ---- - -## MAX_PAGE_SIZE - -!!! tip "Dynamic Configuration Parameter" - -Default: `1000` - -A web user or API consumer can request an arbitrary number of objects by appending the "limit" parameter to the URL (e.g. `?limit=1000`). This parameter defines the maximum acceptable limit. Setting this to `0` or `None` will allow a client to retrieve _all_ matching objects at once with no limit by specifying `?limit=0`. - ---- - -## METRICS_ENABLED - -Default: `False` - -Toggle the availability Prometheus-compatible metrics at `/metrics`. See the [Prometheus Metrics](../integrations/prometheus-metrics.md) documentation for more details. - ---- - -## PREFER_IPV4 - -!!! tip "Dynamic Configuration Parameter" - -Default: `False` - -When determining the primary IP address for a device, IPv6 is preferred over IPv4 by default. Set this to `True` to prefer IPv4 instead. - ---- - -## QUEUE_MAPPINGS - -Allows changing which queues are used internally for background tasks. - -```python -QUEUE_MAPPINGS = { - 'webhook': 'low', - 'report': 'high', - 'script': 'high', -} -``` - -If no queue is defined the queue named `default` will be used. - ---- - -## RELEASE_CHECK_URL - -Default: `None` (disabled) - -This parameter defines the URL of the repository that will be checked for new NetBox releases. When a new release is detected, a message will be displayed to administrative users on the home page. This can be set to the official repository (`'https://api.github.com/repos/netbox-community/netbox/releases'`) or a custom fork. Set this to `None` to disable automatic update checks. - -!!! note - The URL provided **must** be compatible with the [GitHub REST API](https://docs.github.com/en/rest). - ---- - -## RQ_DEFAULT_TIMEOUT - -Default: `300` - -The maximum execution time of a background task (such as running a custom script), in seconds. - ---- - -## RQ_RETRY_INTERVAL - -Default: `60` - -This parameter controls how frequently a failed job is retried, up to the maximum number of times specified by `RQ_RETRY_MAX`. This must be either an integer specifying the number of seconds to wait between successive attempts, or a list of such values. For example, `[60, 300, 3600]` will retry the task after 1 minute, 5 minutes, and 1 hour. - ---- - -## RQ_RETRY_MAX - -Default: `0` (retries disabled) - -The maximum number of times a background task will be retried before being marked as failed. - -## DISK_BASE_UNIT - -Default: `1000` - -The base unit for disk sizes. Set this to `1024` to use binary prefixes (MiB, GiB, etc.) instead of decimal prefixes (MB, GB, etc.). - -## RAM_BASE_UNIT - -Default: `1000` - -The base unit for RAM sizes. Set this to `1024` to use binary prefixes (MiB, GiB, etc.) instead of decimal prefixes (MB, GB, etc.). diff --git a/docs/configuration/plugins.md b/docs/configuration/plugins.md deleted file mode 100644 index 9f838c1194..0000000000 --- a/docs/configuration/plugins.md +++ /dev/null @@ -1,53 +0,0 @@ -# Plugin Parameters - -## PLUGINS - -Default: `[]` - -A list of installed [NetBox plugins](../plugins/index.md) to enable. Plugins will not take effect unless they are listed here. - -!!! warning - Plugins extend NetBox by allowing external code to run with the same access and privileges as NetBox itself. Only install plugins from trusted sources. The NetBox maintainers make absolutely no guarantees about the integrity or security of your installation with plugins enabled. - ---- - -## PLUGINS_CONFIG - -Default: `[]` - -This parameter holds configuration settings for individual NetBox plugins. It is defined as a dictionary, with each key using the name of an installed plugin. The specific parameters supported are unique to each plugin: Reference the plugin's documentation to determine the supported parameters. An example configuration is shown below: - -```python -PLUGINS_CONFIG = { - 'plugin1': { - 'foo': 123, - 'bar': True - }, - 'plugin2': { - 'foo': 456, - }, -} -``` - -Note that a plugin must be listed in `PLUGINS` for its configuration to take effect. - ---- - -## PLUGINS_CATALOG_CONFIG - -Default: `{}` (Empty) - -This parameter controls how individual plugins are displayed in the plugins catalog under Admin > System > Plugins. Adding a plugin to the `hidden` list will omit that plugin from the catalog. Adding a plugin to the `static` list will display the plugin, but not link to the plugin details or upgrade instructions. - -An example configuration is shown below: - -```python -PLUGINS_CATALOG_CONFIG = { - 'hidden': [ - 'plugin1', - ], - 'static': [ - 'plugin2', - ], -} -``` diff --git a/docs/configuration/remote-authentication.md b/docs/configuration/remote-authentication.md deleted file mode 100644 index 5d5f1ee582..0000000000 --- a/docs/configuration/remote-authentication.md +++ /dev/null @@ -1,145 +0,0 @@ -# Remote Authentication Settings - -The configuration parameters listed here control remote authentication for NetBox. Note that `REMOTE_AUTH_ENABLED` must be `True` in order for these settings to take effect. - ---- - -## REMOTE_AUTH_AUTO_CREATE_GROUPS - -Default: `False` - -If `True`, NetBox will automatically create groups specified in the `REMOTE_AUTH_GROUP_HEADER` header if they don't already exist. (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_AUTO_CREATE_USER - -Default: `False` - -If `True`, NetBox will automatically create local accounts for users authenticated via a remote service. (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_BACKEND - -Default: `'netbox.authentication.RemoteUserBackend'` - -This is the Python path to the custom [Django authentication backend](https://docs.djangoproject.com/en/stable/topics/auth/customizing/) to use for external user authentication. NetBox provides two built-in backends (listed below), though custom authentication backends may also be provided by other packages or plugins. Provide a string for a single backend, or an iterable for multiple backends, which will be attempted in the order given. - -* `netbox.authentication.RemoteUserBackend` -* `netbox.authentication.LDAPBackend` - ---- - -## REMOTE_AUTH_DEFAULT_GROUPS - -Default: `[]` (Empty list) - -The list of groups to assign a new user account when created using remote authentication. (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_DEFAULT_PERMISSIONS - -Default: `{}` (Empty dictionary) - -A mapping of permissions to assign a new user account when created using remote authentication. Each key in the dictionary should be set to a dictionary of the attributes to be applied to the permission, or `None` to allow all objects. (Requires `REMOTE_AUTH_ENABLED` as `True` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` as `False`.) - ---- - -## REMOTE_AUTH_ENABLED - -Default: `False` - -NetBox can be configured to support remote user authentication by inferring user authentication from an HTTP header set by the HTTP reverse proxy (e.g. nginx or Apache). Set this to `True` to enable this functionality. (Local authentication will still take effect as a fallback.) (`REMOTE_AUTH_DEFAULT_GROUPS` will not function if `REMOTE_AUTH_ENABLED` is disabled) - ---- - -## REMOTE_AUTH_GROUP_HEADER - -Default: `'HTTP_REMOTE_USER_GROUP'` - -When remote user authentication is in use, this is the name of the HTTP header which informs NetBox of the currently authenticated user. For example, to use the request header `X-Remote-User-Groups` it needs to be set to `HTTP_X_REMOTE_USER_GROUPS`. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` ) - ---- - -## REMOTE_AUTH_GROUP_SEPARATOR - -Default: `|` (Pipe) - -The Separator upon which `REMOTE_AUTH_GROUP_HEADER` gets split into individual Groups. This needs to be coordinated with your authentication Proxy. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` ) - ---- - -## REMOTE_AUTH_GROUP_SYNC_ENABLED - -Default: `False` - -NetBox can be configured to sync remote user groups by inferring user authentication from an HTTP header set by the HTTP reverse proxy (e.g. nginx or Apache). Set this to `True` to enable this functionality. (Local authentication will still take effect as a fallback.) (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_HEADER - -Default: `'HTTP_REMOTE_USER'` - -When remote user authentication is in use, this is the name of the HTTP header which informs NetBox of the currently authenticated user. For example, to use the request header `X-Remote-User` it needs to be set to `HTTP_X_REMOTE_USER`. (Requires `REMOTE_AUTH_ENABLED`.) - -!!! warning Verify Header Compatibility - Some WSGI servers may drop headers which contain unsupported characters. For instance, gunicorn v22.0 and later silently drops HTTP headers containing underscores. This behavior can be disabled by changing gunicorn's [`header_map`](https://docs.gunicorn.org/en/stable/settings.html#header-map) setting to `dangerous`. - ---- - -## REMOTE_AUTH_USER_EMAIL - -Default: `'HTTP_REMOTE_USER_EMAIL'` - -When remote user authentication is in use, this is the name of the HTTP header which informs NetBox of the email address of the currently authenticated user. For example, to use the request header `X-Remote-User-Email` it needs to be set to `HTTP_X_REMOTE_USER_EMAIL`. (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_USER_FIRST_NAME - -Default: `'HTTP_REMOTE_USER_FIRST_NAME'` - -When remote user authentication is in use, this is the name of the HTTP header which informs NetBox of the first name of the currently authenticated user. For example, to use the request header `X-Remote-User-First-Name` it needs to be set to `HTTP_X_REMOTE_USER_FIRST_NAME`. (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_USER_LAST_NAME - -Default: `'HTTP_REMOTE_USER_LAST_NAME'` - -When remote user authentication is in use, this is the name of the HTTP header which informs NetBox of the last name of the currently authenticated user. For example, to use the request header `X-Remote-User-Last-Name` it needs to be set to `HTTP_X_REMOTE_USER_LAST_NAME`. (Requires `REMOTE_AUTH_ENABLED`.) - ---- - -## REMOTE_AUTH_SUPERUSER_GROUPS - -Default: `[]` (Empty list) - -The list of groups that promote an remote User to Superuser on Login. If group isn't present on next Login, the Role gets revoked. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` ) - ---- - -## REMOTE_AUTH_SUPERUSERS - -Default: `[]` (Empty list) - -The list of users that get promoted to Superuser on Login. If user isn't present in list on next Login, the Role gets revoked. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` ) - ---- - -## REMOTE_AUTH_STAFF_GROUPS - -Default: `[]` (Empty list) - -The list of groups that promote an remote User to Staff on Login. If group isn't present on next Login, the Role gets revoked. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` ) - ---- - -## REMOTE_AUTH_STAFF_USERS - -Default: `[]` (Empty list) - -The list of users that get promoted to Staff on Login. If user isn't present in list on next Login, the Role gets revoked. (Requires `REMOTE_AUTH_ENABLED` and `REMOTE_AUTH_GROUP_SYNC_ENABLED` ) diff --git a/docs/configuration/required-parameters.md b/docs/configuration/required-parameters.md deleted file mode 100644 index 19222740df..0000000000 --- a/docs/configuration/required-parameters.md +++ /dev/null @@ -1,184 +0,0 @@ -# Required Configuration Settings - -## ALLOWED_HOSTS - -This is a list of valid fully-qualified domain names (FQDNs) and/or IP addresses that can be used to reach the NetBox service. Usually this is the same as the hostname for the NetBox server, but can also be different; for example, when using a reverse proxy serving the NetBox website under a different FQDN than the hostname of the NetBox server. To help guard against [HTTP Host header attacks](https://docs.djangoproject.com/en/stable/topics/security/#host-headers-virtual-hosting), NetBox will not permit access to the server via any other hostnames (or IPs). - -!!! note - This parameter must always be defined as a list or tuple, even if only a single value is provided. - -The value of this option is also used to set `CSRF_TRUSTED_ORIGINS`, which restricts POST requests to the same set of hosts (more about this [here](https://docs.djangoproject.com/en/stable/ref/settings/#std:setting-CSRF_TRUSTED_ORIGINS)). Keep in mind that NetBox, by default, sets `USE_X_FORWARDED_HOST` to `True`, which means that if you're using a reverse proxy, it's the FQDN used to reach that reverse proxy which needs to be in this list (more about this [here](https://docs.djangoproject.com/en/stable/ref/settings/#allowed-hosts)). - -Example: - -``` -ALLOWED_HOSTS = ['netbox.example.com', '192.0.2.123'] -``` - -If you are not yet sure what the domain name and/or IP address of the NetBox installation will be, and are comfortable accepting the risks in doing so, you can set this to a wildcard (asterisk) to allow all host values: - -``` -ALLOWED_HOSTS = ['*'] -``` - ---- - -## DATABASE - -!!! warning "Legacy Configuration Parameter" - The `DATABASE` configuration parameter is deprecated and will be removed in a future release. Users are advised to adopt the new `DATABASES` (plural) parameter, which allows for the configuration of multiple databases. - -See the [`DATABASES`](#databases) configuration below for usage. - ---- - -## DATABASES - -NetBox requires access to a PostgreSQL 14 or later database service to store data. This service can run locally on the NetBox server or on a remote system. Databases are defined as named dictionaries: - -```python -DATABASES = { - 'default': {...}, - 'external1': {...}, - 'external2': {...}, -} -``` - -NetBox itself requires only that a `default` database is defined. However, certain plugins may require the configuration of additional databases. (Consider also configuring the [`DATABASE_ROUTERS`](./system.md#database_routers) parameter when multiple databases are in use.) - -The following parameters must be defined for each database: - -* `NAME` - Database name -* `USER` - PostgreSQL username -* `PASSWORD` - PostgreSQL password -* `HOST` - Name or IP address of the database server (use `localhost` if running locally) -* `PORT` - TCP port of the PostgreSQL service; leave blank for default port (TCP/5432) -* `CONN_MAX_AGE` - Lifetime of a [persistent database connection](https://docs.djangoproject.com/en/stable/ref/databases/#persistent-connections), in seconds (300 is the default) -* `ENGINE` - The database backend to use; must be a PostgreSQL-compatible backend (e.g. `django.db.backends.postgresql`) - -Example: - -```python -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.postgresql', - 'NAME': 'netbox', # Database name - 'USER': 'netbox', # PostgreSQL username - 'PASSWORD': 'J5brHrAXFLQSif0K', # PostgreSQL password - 'HOST': 'localhost', # Database server - 'PORT': '', # Database port (leave blank for default) - 'CONN_MAX_AGE': 300, # Max database connection age - } -} -``` - -!!! note - NetBox supports all PostgreSQL database options supported by the underlying Django framework. For a complete list of available parameters, please see [the Django documentation](https://docs.djangoproject.com/en/stable/ref/settings/#databases). - -!!! warning - The `ENGINE` parameter must specify a PostgreSQL-compatible database backend. If not defined, the default engine `django.db.backends.postgresql` will be used. - ---- - -## REDIS - -[Redis](https://redis.io/) is a lightweight in-memory data store similar to memcached. NetBox employs Redis for background task queuing and other features. - -Redis is configured using a configuration setting similar to `DATABASE` and these settings are the same for both of the `tasks` and `caching` subsections: - -* `HOST` - Name or IP address of the Redis server (use `localhost` if running locally) -* `PORT` - TCP port of the Redis service; leave blank for default port (6379) -* `USERNAME` - Redis username (if set) -* `PASSWORD` - Redis password (if set) -* `DATABASE` - Numeric database ID -* `SSL` - Use SSL connection to Redis -* `INSECURE_SKIP_TLS_VERIFY` - Set to `True` to **disable** TLS certificate verification (not recommended) - -An example configuration is provided below: - -```python -REDIS = { - 'tasks': { - 'HOST': 'redis.example.com', - 'PORT': 1234, - 'USERNAME': 'netbox', - 'PASSWORD': 'foobar', - 'DATABASE': 0, - 'SSL': False, - }, - 'caching': { - 'HOST': 'localhost', - 'PORT': 6379, - 'USERNAME': '', - 'PASSWORD': '', - 'DATABASE': 1, - 'SSL': False, - } -} -``` - -!!! warning - It is highly recommended to keep the task and cache databases separate. Using the same database number on the - same Redis instance for both may result in queued background tasks being lost during cache flushing events. - -### UNIX Socket Support - -Redis may alternatively be configured by specifying a complete URL instead of individual components. This approach supports the use of a UNIX socket connection. For example: - -```python -REDIS = { - 'tasks': { - 'URL': 'unix:///run/redis-netbox/redis.sock?db=0' - }, - 'caching': { - 'URL': 'unix:///run/redis-netbox/redis.sock?db=1' - }, -} -``` - -### Using Redis Sentinel - -If you are using [Redis Sentinel](https://redis.io/topics/sentinel) for high-availability purposes, there is minimal -configuration necessary to convert NetBox to recognize it. It requires the removal of the `HOST` and `PORT` keys from -above and the addition of three new keys. - -* `SENTINELS`: List of tuples or tuple of tuples with each inner tuple containing the name or IP address -of the Redis server and port for each sentinel instance to connect to -* `SENTINEL_SERVICE`: Name of the master / service to connect to -* `SENTINEL_TIMEOUT`: Connection timeout, in seconds - -Example: - -```python -REDIS = { - 'tasks': { - 'SENTINELS': [('mysentinel.redis.example.com', 6379)], - 'SENTINEL_SERVICE': 'netbox', - 'SENTINEL_TIMEOUT': 10, - 'PASSWORD': '', - 'DATABASE': 0, - 'SSL': False, - }, - 'caching': { - 'SENTINELS': [ - ('mysentinel.redis.example.com', 6379), - ('othersentinel.redis.example.com', 6379) - ], - 'SENTINEL_SERVICE': 'netbox', - 'PASSWORD': '', - 'DATABASE': 1, - 'SSL': False, - } -} -``` - -!!! note - It is permissible to use Sentinel for only one database and not the other. - ---- - -## SECRET_KEY - -This is a secret, pseudorandom string used to assist in the creation new cryptographic hashes for passwords and HTTP cookies. The key defined here should not be shared outside the configuration file. `SECRET_KEY` can be changed at any time without impacting stored data, however be aware that doing so will invalidate all existing user sessions. NetBox deployments comprising multiple nodes must have the same secret key configured on all nodes. - -`SECRET_KEY` **must** be at least 50 characters in length, and should contain a mix of letters, digits, and symbols. The script located at `$INSTALL_ROOT/netbox/generate_secret_key.py` may be used to generate a suitable key. Please note that this key is **not** used directly for hashing user passwords or for the encrypted storage of secret data in NetBox. diff --git a/docs/configuration/security.md b/docs/configuration/security.md deleted file mode 100644 index 775490b707..0000000000 --- a/docs/configuration/security.md +++ /dev/null @@ -1,266 +0,0 @@ -# Security & Authentication Parameters - -## ALLOW_TOKEN_RETRIEVAL - -Default: `False` - -!!! note - The default value of this parameter changed from `True` to `False` in NetBox v4.3.0. - -If disabled, the values of API tokens will not be displayed after each token's initial creation. A user **must** record the value of a token prior to its creation, or it will be lost. Note that this affects _all_ users, regardless of assigned permissions. - ---- - -## ALLOWED_URL_SCHEMES - -!!! tip "Dynamic Configuration Parameter" - -Default: `('file', 'ftp', 'ftps', 'http', 'https', 'irc', 'mailto', 'sftp', 'ssh', 'tel', 'telnet', 'tftp', 'vnc', 'xmpp')` - -A list of permitted URL schemes referenced when rendering links within NetBox. Note that only the schemes specified in this list will be accepted: If adding your own, be sure to replicate all the default values as well (excluding those schemes which are not desirable). - ---- - -## AUTH_PASSWORD_VALIDATORS - -This parameter acts as a pass-through for configuring Django's built-in password validators for local user accounts. These rules are applied whenever a user's password is created or updated to ensure that it meets minimum criteria such as length or complexity. The default configuration is shown below. - -```python -AUTH_PASSWORD_VALIDATORS = [ - { - "NAME": "django.contrib.auth.password_validation.MinimumLengthValidator", - "OPTIONS": { - "min_length": 12, - }, - }, - { - "NAME": "utilities.password_validation.AlphanumericPasswordValidator", - }, -] -``` - -The default configuration enforces the follow criteria: - -* A password must be at least 12 characters in length. -* A password must have at least one uppercase letter, one lowercase letter, and one numeric digit. - -Although it is not recommended, the default validation rules can be disabled by setting `AUTH_PASSWORD_VALIDATORS = []` in the configuration file. For more detail on customizing password validation, please see [the Django documentation](https://docs.djangoproject.com/en/stable/topics/auth/passwords/#password-validation). - ---- - -## CORS_ORIGIN_ALLOW_ALL - -Default: `False` - -If `True`, cross-origin resource sharing (CORS) requests will be accepted from all origins. If False, a whitelist will be used (see below). - ---- - -## CORS_ORIGIN_WHITELIST - -## CORS_ORIGIN_REGEX_WHITELIST - -These settings specify a list of origins that are authorized to make cross-site API requests. Use -`CORS_ORIGIN_WHITELIST` to define a list of exact hostnames, or `CORS_ORIGIN_REGEX_WHITELIST` to define a set of regular -expressions. (These settings have no effect if `CORS_ORIGIN_ALLOW_ALL` is `True`.) For example: - -```python -CORS_ORIGIN_WHITELIST = [ - 'https://example.com', -] -``` - ---- - -## CSRF_COOKIE_NAME - -Default: `csrftoken` - -The name of the cookie to use for the cross-site request forgery (CSRF) authentication token. See the [Django documentation](https://docs.djangoproject.com/en/stable/ref/settings/#csrf-cookie-name) for more detail. - ---- - -## CSRF_COOKIE_SECURE - -Default: `False` - -If `True`, the cookie employed for cross-site request forgery (CSRF) protection will be marked as secure, meaning that it can only be sent across an HTTPS connection. - ---- - -## CSRF_TRUSTED_ORIGINS - -Default: `[]` - -Defines a list of trusted origins for unsafe (e.g. `POST`) requests. This is a pass-through to Django's [`CSRF_TRUSTED_ORIGINS`](https://docs.djangoproject.com/en/stable/ref/settings/#csrf-trusted-origins) setting. Note that each host listed must specify a scheme (e.g. `http://` or `https://). - -```python -CSRF_TRUSTED_ORIGINS = ( - 'http://netbox.local', - 'https://netbox.local', -) -``` - ---- - -## DEFAULT_PERMISSIONS - -Default: - -```python -{ - 'users.view_token': ({'user': '$user'},), - 'users.add_token': ({'user': '$user'},), - 'users.change_token': ({'user': '$user'},), - 'users.delete_token': ({'user': '$user'},), -} -``` - -This parameter defines object permissions that are applied automatically to _any_ authenticated user, regardless of what permissions have been defined in the database. By default, this parameter is defined to allow all users to manage their own API tokens, however it can be overriden for any purpose. - -For example, to allow all users to create a device role beginning with the word "temp," you could configure the following: - -```python -DEFAULT_PERMISSIONS = { - 'dcim.add_devicerole': ( - {'name__startswith': 'temp'}, - ) -} -``` - -!!! warning - Setting a custom value for this parameter will overwrite the default permission mapping shown above. If you want to retain the default mapping, be sure to reproduce it in your custom configuration. - ---- - -## EXEMPT_VIEW_PERMISSIONS - -Default: `[]` (Empty list) - -A list of NetBox models to exempt from the enforcement of view permissions. Models listed here will be viewable by all users, both authenticated and anonymous. - -List models in the form `.`. For example: - -```python -EXEMPT_VIEW_PERMISSIONS = [ - 'dcim.site', - 'dcim.region', - 'ipam.prefix', -] -``` - -To exempt _all_ models from view permission enforcement, set the following. (Note that `EXEMPT_VIEW_PERMISSIONS` must be an iterable.) - -```python -EXEMPT_VIEW_PERMISSIONS = ['*'] -``` - -!!! note - Using a wildcard will not affect certain potentially sensitive models, such as user permissions. If there is a need to exempt these models, they must be specified individually. - ---- - -## LOGIN_PERSISTENCE - -Default: `False` - -If `True`, the lifetime of a user's authentication session will be automatically reset upon each valid request. For example, if [`LOGIN_TIMEOUT`](#login_timeout) is configured to 14 days (the default), and a user whose session is due to expire in five days makes a NetBox request (with a valid session cookie), the session's lifetime will be reset to 14 days. - -Note that enabling this setting causes NetBox to update a user's session in the database (or file, as configured per [`SESSION_FILE_PATH`](#session_file_path)) with each request, which may introduce significant overhead in very active environments. It also permits an active user to remain authenticated to NetBox indefinitely. - ---- - -## LOGIN_REQUIRED - -Default: `True` - -When enabled, only authenticated users are permitted to access any part of NetBox. Disabling this will allow unauthenticated users to access most areas of NetBox (but not make any changes). - -!!! info "Changed in NetBox v4.0.2" - Prior to NetBox v4.0.2, this setting was disabled by default. - ---- - -## LOGIN_TIMEOUT - -Default: `1209600` seconds (14 days) - -The lifetime (in seconds) of the authentication cookie issued to a NetBox user upon login. - ---- - -## LOGIN_FORM_HIDDEN - -Default: `False` - -Option to hide the login form when only SSO authentication is in use. - -!!! warning - If the SSO provider is unreachable, login to NetBox will be impossible if this option is enabled. The only recourse is to disable it in the local configuration and restart the NetBox service. - ---- - -## LOGOUT_REDIRECT_URL - -Default: `'home'` - -The view name or URL to which a user is redirected after logging out. - ---- - -## SECURE_HSTS_INCLUDE_SUBDOMAINS - -Default: `False` - -If `True`, the `includeSubDomains` directive will be included in the HTTP Strict Transport Security (HSTS) header. This directive instructs the browser to apply the HSTS policy to all subdomains of the current domain. - ---- - -## SECURE_HSTS_PRELOAD - -Default: `False` - -If `True`, the `preload` directive will be included in the HTTP Strict Transport Security (HSTS) header. This directive instructs the browser to preload the site in HTTPS. Browsers that use the HSTS preload list will force the site to be accessed via HTTPS even if the user types HTTP in the address bar. - ---- - -## SECURE_HSTS_SECONDS - -Default: `0` - -If set to a non-zero integer value, the SecurityMiddleware sets the HTTP Strict Transport Security (HSTS) header on all responses that do not already have it. This will instruct the browser that the website must be accessed via HTTPS, blocking any HTTP request. - ---- - -## SECURE_SSL_REDIRECT - -Default: `False` - -If `True`, all non-HTTPS requests will be automatically redirected to use HTTPS. - -!!! warning - Ensure that your frontend HTTP daemon has been configured to forward the HTTP scheme correctly before enabling this option. An incorrectly configured frontend may result in a looping redirect. - ---- - -## SESSION_COOKIE_NAME - -Default: `sessionid` - -The name used for the session cookie. See the [Django documentation](https://docs.djangoproject.com/en/stable/ref/settings/#session-cookie-name) for more detail. - ---- - -## SESSION_COOKIE_SECURE - -Default: `False` - -If `True`, the cookie employed for session authentication will be marked as secure, meaning that it can only be sent across an HTTPS connection. - ---- - -## SESSION_FILE_PATH - -Default: `None` - -HTTP session data is used to track authenticated users when they access NetBox. By default, NetBox stores session data in its PostgreSQL database. However, this inhibits authentication to a standby instance of NetBox without write access to the database. Alternatively, a local file path may be specified here and NetBox will store session data as files instead of using the database. Note that the NetBox system user must have read and write permissions to this path. diff --git a/docs/configuration/system.md b/docs/configuration/system.md deleted file mode 100644 index 8a73f629f7..0000000000 --- a/docs/configuration/system.md +++ /dev/null @@ -1,314 +0,0 @@ -# System Parameters - -## BASE_PATH - -Default: `None` - -The base URL path to use when accessing NetBox. Do not include the scheme or domain name. For example, if installed at https://example.com/netbox/, set: - -```python -BASE_PATH = 'netbox/' -``` - ---- - -## DATABASE_ROUTERS - -Default: `[]` (empty list) - -An iterable of [database routers](https://docs.djangoproject.com/en/stable/topics/db/multi-db/) to use for automatically selecting the appropriate database(s) for a query. This is useful only when [multiple databases](./required-parameters.md#databases) have been configured. - ---- - -## DEFAULT_LANGUAGE - -Default: `en-us` (US English) - -Defines the default preferred language/locale for requests that do not specify one. (This parameter maps to Django's [`LANGUAGE_CODE`](https://docs.djangoproject.com/en/stable/ref/settings/#language-code) internal setting.) - ---- - -## DOCS_ROOT - -Default: `$INSTALL_ROOT/docs/` - -The filesystem path to NetBox's documentation. This is used when presenting context-sensitive documentation in the web UI. By default, this will be the `docs/` directory within the root NetBox installation path. (Set this to `None` to disable the embedded documentation.) - ---- - -## EMAIL - -In order to send email, NetBox needs an email server configured. The following items can be defined within the `EMAIL` configuration parameter: - -* `SERVER` - Hostname or IP address of the email server (use `localhost` if running locally) -* `PORT` - TCP port to use for the connection (default: `25`) -* `USERNAME` - Username with which to authenticate -* `PASSWORD` - Password with which to authenticate -* `USE_SSL` - Use SSL when connecting to the server (default: `False`) -* `USE_TLS` - Use TLS when connecting to the server (default: `False`) -* `SSL_CERTFILE` - Path to the PEM-formatted SSL certificate file (optional) -* `SSL_KEYFILE` - Path to the PEM-formatted SSL private key file (optional) -* `TIMEOUT` - Amount of time to wait for a connection, in seconds (default: `10`) -* `FROM_EMAIL` - Sender address for emails sent by NetBox - -!!! note - The `USE_SSL` and `USE_TLS` parameters are mutually exclusive. - -Email is sent from NetBox only for critical events or if configured for [logging](#logging). If you would like to test the email server configuration, Django provides a convenient [send_mail()](https://docs.djangoproject.com/en/stable/topics/email/#send-mail) function accessible within the NetBox shell: - -```no-highlight -# python ./manage.py nbshell ->>> from django.core.mail import send_mail ->>> send_mail( - 'Test Email Subject', - 'Test Email Body', - 'noreply-netbox@example.com', - ['users@example.com'], - fail_silently=False -) -``` - ---- - -## HOSTNAME - -!!! info "This parameter was introduced in NetBox v4.4." - -Default: System hostname - -The hostname displayed in the user interface identifying the system on which NetBox is running. If not defined, this defaults to the system hostname as reported by Python's `platform.node()`. - ---- - -## HTTP_PROXIES - -Default: `None` - -A dictionary of HTTP proxies to use for outbound requests originating from NetBox (e.g. when sending webhook requests). Proxies should be specified by schema (HTTP and HTTPS) as per the [Python requests library documentation](https://requests.readthedocs.io/en/latest/user/advanced/#proxies). For example: - -```python -HTTP_PROXIES = { - 'http': 'http://10.10.1.10:3128', - 'https': 'http://10.10.1.10:1080', -} -``` - -If more flexibility is needed in determining which proxy to use for a given request, consider implementing one or more custom proxy routers via the [`PROXY_ROUTERS`](#proxy_routers) parameter. - ---- - -## INTERNAL_IPS - -Default: `('127.0.0.1', '::1')` - -A list of IP addresses recognized as internal to the system, used to control the display of debugging output. For -example, the debugging toolbar will be viewable only when a client is accessing NetBox from one of the listed IP -addresses (and [`DEBUG`](./development.md#debug) is `True`). - ---- - -## ISOLATED_DEPLOYMENT - -Default: `False` - -Set this configuration parameter to `True` for NetBox deployments which do not have Internet access. This will disable miscellaneous functionality which depends on access to the Internet. - -!!! note - If Internet access is available via a proxy, set [`HTTP_PROXIES`](#http_proxies) instead. - ---- - -## JINJA2_FILTERS - -Default: `{}` - -A dictionary of custom Jinja2 filters with the key being the filter name and the value being a callable. For more information see the [Jinja2 documentation](https://jinja.palletsprojects.com/en/3.1.x/api/#custom-filters). For example: - -```python -def uppercase(x): - return str(x).upper() - -JINJA2_FILTERS = { - 'uppercase': uppercase, -} -``` - ---- - -## LOGGING - -By default, all messages of INFO severity or higher will be logged to the console. Additionally, if [`DEBUG`](./development.md#debug) is False and email access has been configured, ERROR and CRITICAL messages will be emailed to the users defined in [`ADMINS`](./miscellaneous.md#admins). - -The Django framework on which NetBox runs allows for the customization of logging format and destination. Please consult the [Django logging documentation](https://docs.djangoproject.com/en/stable/topics/logging/) for more information on configuring this setting. Below is an example which will write all INFO and higher messages to a local file: - -```python -LOGGING = { - 'version': 1, - 'disable_existing_loggers': False, - 'handlers': { - 'file': { - 'level': 'INFO', - 'class': 'logging.FileHandler', - 'filename': '/var/log/netbox.log', - }, - }, - 'loggers': { - 'django': { - 'handlers': ['file'], - 'level': 'INFO', - }, - }, -} -``` - -### Available Loggers - -* `netbox..` - Generic form for model-specific log messages -* `netbox.auth.*` - Authentication events -* `netbox.api.views.*` - Views which handle business logic for the REST API -* `netbox.event_rules` - Event rules -* `netbox.jobs.*` - Background jobs -* `netbox.reports.*` - Report execution (`module.name`) -* `netbox.scripts.*` - Custom script execution (`module.name`) -* `netbox.views.*` - Views which handle business logic for the web UI - ---- - -## MEDIA_ROOT - -Default: `$INSTALL_ROOT/netbox/media/` - -The file path to the location where media files (such as image attachments) are stored. By default, this is the `netbox/media/` directory within the base NetBox installation path. - ---- - -## PROXY_ROUTERS - -Default: `["utilities.proxy.DefaultProxyRouter"]` - -A list of Python classes responsible for determining which proxy server(s) to use for outbound HTTP requests. Each item in the list can be the class itself or the dotted path to the class. - -The `route()` method on each class must return a dictionary of candidate proxies arranged by protocol (e.g. `http` and/or `https`), or None if no viable proxy can be determined. The default class, `DefaultProxyRouter`, simply returns the content of [`HTTP_PROXIES`](#http_proxies). - ---- - -## REPORTS_ROOT - -Default: `$INSTALL_ROOT/netbox/reports/` - -The file path to the location where [custom reports](../customization/reports.md) will be kept. By default, this is the `netbox/reports/` directory within the base NetBox installation path. - ---- - -## SCRIPTS_ROOT - -Default: `$INSTALL_ROOT/netbox/scripts/` - -The file path to the location where [custom scripts](../customization/custom-scripts.md) will be kept. By default, this is the `netbox/scripts/` directory within the base NetBox installation path. - ---- - -## SEARCH_BACKEND - -Default: `'netbox.search.backends.CachedValueSearchBackend'` - -The dotted path to the desired search backend class. `CachedValueSearchBackend` is currently the only search backend provided in NetBox, however this setting can be used to enable a custom backend. - ---- - -## STORAGES - -The backend storage engine for handling uploaded files such as [image attachments](../models/extras/imageattachment.md) and [custom scripts](../customization/custom-scripts.md). NetBox integrates with the [`django-storages`](https://django-storages.readthedocs.io/en/stable/) and [`django-storage-swift`](https://github.com/dennisv/django-storage-swift) libraries, which provide backends for several popular file storage services. If not configured, local filesystem storage will be used. - -By default, the following configuration is used: - -```python -STORAGES = { - "default": { - "BACKEND": "django.core.files.storage.FileSystemStorage", - }, - "staticfiles": { - "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", - }, - "scripts": { - "BACKEND": "extras.storage.ScriptFileSystemStorage", - }, -} -``` - -Within the `STORAGES` dictionary, `"default"` is used for image uploads, "staticfiles" is for static files and `"scripts"` is used for custom scripts. - -If using a remote storage like S3, define the config as `STORAGES[key]["OPTIONS"]` for each storage item as needed. For example: - -```python -STORAGES = { - "scripts": { - "BACKEND": "storages.backends.s3boto3.S3Boto3Storage", - "OPTIONS": { - 'access_key': 'access key', - 'secret_key': 'secret key', - } - }, -} -``` - -The specific configuration settings for each storage backend can be found in the [django-storages documentation](https://django-storages.readthedocs.io/en/latest/index.html). - -!!! note - Any keys defined in the `STORAGES` configuration parameter replace those in the default configuration. It is only necessary to define keys within the `STORAGES` for the specific backend(s) you wish to configure. - -### Environment Variables and Third-Party Libraries - -NetBox uses an explicit Python configuration approach rather than automatic environment variable detection. While this provides clear configuration management and version control capabilities, it affects how some third-party libraries like `django-storages` function within NetBox's context. - -Many Django libraries (including `django-storages`) expect to automatically detect environment variables like `AWS_STORAGE_BUCKET_NAME` or `AWS_S3_ACCESS_KEY_ID`. However, NetBox's configuration processing prevents this automatic detection from working as documented in some of these libraries. - -When using third-party libraries that rely on environment variable detection, you may need to explicitly read environment variables in your NetBox `configuration.py`: - -```python -import os - -STORAGES = { - 'default': { - 'BACKEND': 'storages.backends.s3.S3Storage', - 'OPTIONS': { - 'bucket_name': os.environ.get('AWS_STORAGE_BUCKET_NAME'), - 'access_key': os.environ.get('AWS_S3_ACCESS_KEY_ID'), - 'secret_key': os.environ.get('AWS_S3_SECRET_ACCESS_KEY'), - 'endpoint_url': os.environ.get('AWS_S3_ENDPOINT_URL'), - 'location': 'media/', - } - }, - 'staticfiles': { - 'BACKEND': 'storages.backends.s3.S3Storage', - 'OPTIONS': { - 'bucket_name': os.environ.get('AWS_STORAGE_BUCKET_NAME'), - 'access_key': os.environ.get('AWS_S3_ACCESS_KEY_ID'), - 'secret_key': os.environ.get('AWS_S3_SECRET_ACCESS_KEY'), - 'endpoint_url': os.environ.get('AWS_S3_ENDPOINT_URL'), - 'location': 'static/', - } - }, -} -``` - -This approach works because the environment variables are resolved during NetBox's configuration processing, before the third-party library attempts its own environment variable detection. - -!!! warning "Configuration Behavior" - Simply setting environment variables like `AWS_STORAGE_BUCKET_NAME` without explicitly reading them in your configuration will not work. The variables must be read using `os.environ.get()` within your `configuration.py` file. - ---- - -## TIME_ZONE - -Default: `"UTC"` - -The time zone NetBox will use when dealing with dates and times. It is recommended to use UTC time unless you have a specific need to use a local time zone. Please see the [list of available time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). - ---- - -## TRANSLATION_ENABLED - -Default: `True` - -Enables language translation for the user interface. (This parameter maps to Django's [USE_I18N](https://docs.djangoproject.com/en/stable/ref/settings/#std-setting-USE_I18N) setting.) diff --git a/docs/customization/custom-fields.md b/docs/customization/custom-fields.md deleted file mode 100644 index 4658cc7e6f..0000000000 --- a/docs/customization/custom-fields.md +++ /dev/null @@ -1,112 +0,0 @@ -# Custom Fields - -Each model in NetBox is represented in the database as a discrete table, and each attribute of a model exists as a column within its table. For example, sites are stored in the `dcim_site` table, which has columns named `name`, `facility`, `physical_address`, and so on. As new attributes are added to objects throughout the development of NetBox, tables are expanded to include new rows. - -However, some users might want to store additional object attributes that are somewhat esoteric in nature, and that would not make sense to include in the core NetBox database schema. For instance, suppose your organization needs to associate each device with a ticket number correlating it with an internal support system record. This is certainly a legitimate use for NetBox, but it's not a common enough need to warrant including a field for _every_ NetBox installation. Instead, you can create a custom field to hold this data. - -Within the database, custom fields are stored as JSON data directly alongside each object. This alleviates the need for complex queries when retrieving objects. - -## Creating Custom Fields - -Custom fields may be created by navigating to Customization > Custom Fields. NetBox supports many types of custom field: - -* Text: Free-form text (intended for single-line use) -* Long text: Free-form of any length; supports Markdown rendering -* Integer: A whole number (positive or negative) -* Decimal: A fixed-precision decimal number (4 decimal places) -* Boolean: True or false -* Date: A date in ISO 8601 format (YYYY-MM-DD) -* Date & time: A date and time in ISO 8601 format (YYYY-MM-DD HH:MM:SS) -* URL: This will be presented as a link in the web UI -* JSON: Arbitrary data stored in JSON format -* Selection: A selection of one of several pre-defined custom choices -* Multiple selection: A selection field which supports the assignment of multiple values -* Object: A single NetBox object of the type defined by `object_type` -* Multiple object: One or more NetBox objects of the type defined by `object_type` - -Each custom field must have a name. This should be a simple database-friendly string (e.g. `tps_report`) and may contain only alphanumeric characters and underscores. You may also assign a corresponding human-friendly label (e.g. "TPS report"); the label will be displayed on web forms. A weight is also required: Higher-weight fields will be ordered lower within a form. (The default weight is 100.) If a description is provided, it will appear beneath the field in a form. - -Marking a field as required will force the user to provide a value for the field when creating a new object or when saving an existing object. A default value for the field may also be provided. Use "true" or "false" for boolean fields, or the exact value of a choice for selection fields. - -A custom field must be assigned to one or more object types, or models, in NetBox. Once created, custom fields will automatically appear as part of these models in the web UI and REST API. Note that not all models support custom fields. - -### Filtering - -The filter logic controls how values are matched when filtering objects by the custom field. Loose filtering (the default) matches on a partial value, whereas exact matching requires a complete match of the given string to a field's value. For example, exact filtering with the string "red" will only match the exact value "red", whereas loose filtering will match on the values "red", "red-orange", or "bored". Setting the filter logic to "disabled" disables filtering by the field entirely. - -### Grouping - -Related custom fields can be grouped together within the UI by assigning each the same group name. When at least one custom field for an object type has a group defined, it will appear under the group heading within the custom fields panel under the object view. All custom fields with the same group name will appear under that heading. (Note that the group names must match exactly, or each will appear as a separate heading.) - -This parameter has no effect on the API representation of custom field data. - -### Visibility & Editing - -When creating a custom field, users can control the conditions under which it may be displayed and edited within the NetBox user interface. The following choices are available for controlling the display of a custom field on an object: - -* **Always** (default): The custom field is included when viewing an object. -* **If Set**: The custom field is included only if a value has been defined for the object. -* **Hidden**: The custom field will never be displayed within the UI. This option is recommended for fields which are not intended for use by human users. - -Additionally, the following options are available for controlling whether custom field values can be altered within the NetBox UI: - -* **Yes** (default): The custom field's value may be modified when editing an object. -* **No**: The custom field is displayed for reference when editing an object, but its value may not be modified. -* **Hidden**: The custom field is not displayed when editing an object. - -Note that this setting has no impact on the REST or GraphQL APIs: Custom field data will always be available via either API. - -### Validation - -NetBox supports limited custom validation for custom field values. Following are the types of validation enforced for each field type: - -* Text: Regular expression (optional) -* Integer: Minimum and/or maximum value (optional) -* Selection: Must exactly match one of the prescribed choices - -### Custom Selection Fields - -Each custom selection field must designate a [choice set](../models/extras/customfieldchoiceset.md) containing at least two choices. These are specified as a comma-separated list. - -If a default value is specified for a selection field, it must exactly match one of the provided choices. The value of a multiple selection field will always return a list, even if only one value is selected. - -### Custom Object Fields - -An object or multi-object custom field can be used to refer to a particular NetBox object or objects as the "value" for a custom field. These custom fields must define an `object_type`, which determines the type of object to which custom field instances point. - -By default, an object choice field will make all objects of that type available for selection in the drop-down. The list choices can be filtered to show only objects with certain values by providing a `query_params` dict in the Related Object Filter field, as a JSON value. More information about `query_params` can be found [here](./custom-scripts.md#objectvar). - -## Custom Fields in Templates - -Several features within NetBox, such as export templates and webhooks, utilize Jinja2 templating. For convenience, objects which support custom field assignment expose custom field data through the `cf` property. This is a bit cleaner than accessing custom field data through the actual field (`custom_field_data`). - -For example, a custom field named `foo123` on the Site model is accessible on an instance as `{{ site.cf.foo123 }}`. - -## Custom Fields and the REST API - -When retrieving an object via the REST API, all of its custom data will be included within the `custom_fields` attribute. For example, below is the partial output of a site with two custom fields defined: - -```json -{ - "id": 123, - "url": "http://localhost:8000/api/dcim/sites/123/", - "name": "Raleigh 42", - ... - "custom_fields": { - "deployed": "2018-06-19", - "site_code": "US-NC-RAL42" - }, - ... -``` - -To set or change these values, simply include nested JSON data. For example: - -```json -{ - "name": "New Site", - "slug": "new-site", - "custom_fields": { - "deployed": "2019-03-24" - } -} -``` diff --git a/docs/customization/custom-links.md b/docs/customization/custom-links.md deleted file mode 100644 index 265efe669c..0000000000 --- a/docs/customization/custom-links.md +++ /dev/null @@ -1,65 +0,0 @@ -# Custom Links - -Custom links allow users to display arbitrary hyperlinks to external content within NetBox object views. These are helpful for cross-referencing related records in systems outside NetBox. For example, you might create a custom link on the device view which links to the current device in a Network Monitoring System (NMS). - -Custom links are created by navigating to Customization > Custom Links. Each link is associated with a particular NetBox object type (site, device, prefix, etc.) and will be displayed on relevant views. Each link has display text and a URL, and data from the NetBox item being viewed can be included in the link using [Jinja template code](https://jinja.palletsprojects.com/en/stable/) through the variable `object`, and custom fields through `object.cf`. - -For example, you might define a link like this: - -* Text: `View NMS` -* URL: `https://nms.example.com/nodes/?name={{ object.name }}` - -When viewing a device named Router4, this link would render as: - -```no-highlight -View NMS -``` - -Custom links appear as buttons in the top right corner of the page. Numeric weighting can be used to influence the ordering of links, and each link can be enabled or disabled individually. - -!!! warning - Custom links rely on user-created code to generate arbitrary HTML output, which may be dangerous. Only grant permission to create or modify custom links to trusted users. - -## Context Data - -The following context data is available within the template when rendering a custom link's text or URL. - -| Variable | Description | -|-----------|-------------------------------------------------------------------------------------------------------------------| -| `object` | The NetBox object being displayed | -| `debug` | A boolean indicating whether debugging is enabled | -| `request` | The current WSGI request | -| `user` | The current user (if authenticated) | -| `perms` | The [permissions](https://docs.djangoproject.com/en/stable/topics/auth/default/#permissions) assigned to the user | - -While most of the context variables listed above will have consistent attributes, the object will be an instance of the specific object being viewed when the link is rendered. Different models have different fields and properties, so you may need to some research to determine the attributes available for use within your template for a specific object type. - -Checking the REST API representation of an object is generally a convenient way to determine what attributes are available. You can also reference the NetBox source code directly for a comprehensive list. - -## Conditional Rendering - -Only links which render with non-empty text are included on the page. You can employ conditional Jinja2 logic to control the conditions under which a link gets rendered. - -For example, if you only want to display a link for active devices, you could set the link text to - -```jinja2 -{% if object.status == 'active' %}View NMS{% endif %} -``` - -The link will not appear when viewing a device with any status other than "active." - -As another example, if you wanted to show only devices belonging to a certain manufacturer, you could do something like this: - -```jinja2 -{% if object.device_type.manufacturer.name == 'Cisco' %}View NMS{% endif %} -``` - -The link will only appear when viewing a device with a manufacturer name of "Cisco." - -## Link Groups - -Group names can be specified to organize links into groups. Links with the same group name will render as a dropdown menu beneath a single button bearing the name of the group. - -## Table Columns - -Custom links can also be included in object tables by selecting the desired links from the table configuration form. When displayed, each link will render as a hyperlink for its corresponding object. When exported (e.g. as CSV data), each link render only its URL. diff --git a/docs/customization/custom-scripts.md b/docs/customization/custom-scripts.md deleted file mode 100644 index df9437634d..0000000000 --- a/docs/customization/custom-scripts.md +++ /dev/null @@ -1,520 +0,0 @@ -# Custom Scripts - -Custom scripting was introduced to provide a way for users to execute custom logic from within the NetBox UI. Custom scripts enable the user to directly and conveniently manipulate NetBox data in a prescribed fashion. They can be used to accomplish myriad tasks, such as: - -* Automatically populate new devices and cables in preparation for a new site deployment -* Create a range of new reserved prefixes or IP addresses -* Fetch data from an external source and import it to NetBox -* Update objects with invalid or incomplete data - -They can also be used as a mechanism for validating the integrity of data within NetBox. Script authors can define test to check object against specific rules and conditions. For example, you can write script to check that: - -* All top-of-rack switches have a console connection -* Every router has a loopback interface with an IP address assigned -* Each interface description conforms to a standard format -* Every site has a minimum set of VLANs defined -* All IP addresses have a parent prefix - -Custom scripts are Python code which exists outside the NetBox code base, so they can be updated and changed without interfering with the core NetBox installation. And because they're completely custom, there is no inherent limitation on what a script can accomplish. - -!!! danger "Only install trusted scripts" - Custom scripts have unrestricted access to change anything in the databse and are inherently unsafe and should only be installed and run from trusted sources. You should also review and set permissions for who can run scripts if the script can modify any data. - -## Writing Custom Scripts - -All custom scripts must inherit from the `extras.scripts.Script` base class. This class provides the functionality necessary to generate forms and log activity. - -```python -from extras.scripts import Script - -class MyScript(Script): - ... -``` - -Scripts comprise two core components: a set of variables and a `run()` method. Variables allow your script to accept user input via the NetBox UI, but they are optional: If your script does not require any user input, there is no need to define any variables. - -The `run()` method is where your script's execution logic lives. (Note that your script can have as many methods as needed: this is merely the point of invocation for NetBox.) - -```python -class MyScript(Script): - var1 = StringVar(...) - var2 = IntegerVar(...) - var3 = ObjectVar(...) - - def run(self, data, commit): - ... -``` - -The `run()` method should accept two arguments: - -* `data` - A dictionary containing all the variable data passed via the web form. -* `commit` - A boolean indicating whether database changes will be committed. - -Defining script variables is optional: You may create a script with only a `run()` method if no user input is needed. - -Any output generated by the script during its execution will be displayed under the "output" tab in the UI. - -By default, scripts within a module are ordered alphabetically in the scripts list page. To return scripts in a specific order, you can define the `script_order` variable at the end of your module. The `script_order` variable is a tuple which contains each Script class in the desired order. Any scripts that are omitted from this list will be listed last. - -```python -from extras.scripts import Script - -class MyCustomScript(Script): - ... - -class AnotherCustomScript(Script): - ... - -script_order = (MyCustomScript, AnotherCustomScript) -``` - -## Script Attributes - -Script attributes are defined under a class named `Meta` within the script. These are optional, but encouraged. - -!!! warning - These are also defined and used as properties on the base custom script class, so don't use the same names as variables or override them in your custom script. - -### `name` - -This is the human-friendly names of your script. If omitted, the class name will be used. - -### `description` - -A human-friendly description of what your script does. - -### `field_order` - -By default, script variables will be ordered in the form as they are defined in the script. `field_order` may be defined as an iterable of field names to determine the order in which variables are rendered within a default "Script Data" group. Any fields not included in this iterable be listed last. If `fieldsets` is defined, `field_order` will be ignored. A fieldset group for "Script Execution Parameters" will be added to the end of the form by default for the user. - -### `fieldsets` - -`fieldsets` may be defined as an iterable of field groups and their field names to determine the order in which variables are group and rendered. Any fields not included in this iterable will not be displayed in the form. If `fieldsets` is defined, `field_order` will be ignored. A fieldset group for "Script Execution Parameters" will be added to the end of the fieldsets by default for the user. - -An example fieldset definition is provided below: - -```python -class MyScript(Script): - class Meta: - fieldsets = ( - ('First group', ('field1', 'field2', 'field3')), - ('Second group', ('field4', 'field5')), - ) -``` - -### `commit_default` - -The checkbox to commit database changes when executing a script is checked by default. Set `commit_default` to False under the script's Meta class to leave this option unchecked by default. - -```python -commit_default = False -``` - -### `scheduling_enabled` - -By default, a script can be scheduled for execution at a later time. Setting `scheduling_enabled` to False disables this ability: Only immediate execution will be possible. (This also disables the ability to set a recurring execution interval.) - -### `job_timeout` - -Set the maximum allowed runtime for the script. If not set, `RQ_DEFAULT_TIMEOUT` will be used. - -## Accessing Request Data - -Details of the current HTTP request (the one being made to execute the script) are available as the instance attribute `self.request`. This can be used to infer, for example, the user executing the script and the client IP address: - -```python -username = self.request.user.username -ip_address = self.request.META.get('HTTP_X_FORWARDED_FOR') or \ - self.request.META.get('REMOTE_ADDR') -self.log_info(f"Running as user {username} (IP: {ip_address})...") -``` - -For a complete list of available request parameters, please see the [Django documentation](https://docs.djangoproject.com/en/stable/ref/request-response/). - -## Reading Data from Files - -The Script class provides two convenience methods for reading data from files: - -* `load_yaml` -* `load_json` - -These two methods will load data in YAML or JSON format, respectively, from files within the local path (i.e. `SCRIPTS_ROOT`). - -**Note:** These convenience methods are deprecated and will be removed in NetBox v4.4. These only work if running scripts within the local path, they will not work if using a storage other than ScriptFileSystemStorage. - -## Logging - -The Script object provides a set of convenient functions for recording messages at different severity levels: - -* `log_debug(message=None, obj=None)` -* `log_success(message=None, obj=None)` -* `log_info(message=None, obj=None)` -* `log_warning(message=None, obj=None)` -* `log_failure(message=None, obj=None)` - -Log messages are returned to the user upon execution of the script. Markdown rendering is supported for log messages. A message may optionally be associated with a particular object by passing it as the second argument to the logging method. - -## Test Methods - -A script can define one or more test methods to report on certain conditions. All test methods must have a name beginning with `test_` and accept no arguments beyond `self`. - -These methods are detected and run automatically when the script is executed, unless its `run()` method has been overridden. (When overriding `run()`, `run_tests()` can be called to run all test methods present in the script.) - -Calling any of these logging methods without a message will increment the relevant counter, but will not generate an output line in the script's log. - -!!! info - This functionality was ported from [legacy reports](./reports.md) in NetBox v4.0. - -### Example - -``` -from dcim.choices import DeviceStatusChoices -from dcim.models import ConsolePort, Device, PowerPort -from extras.scripts import Script - - -class DeviceConnectionsReport(Script): - description = "Validate the minimum physical connections for each device" - - def test_console_connection(self): - - # Check that every console port for every active device has a connection defined. - active = DeviceStatusChoices.STATUS_ACTIVE - for console_port in ConsolePort.objects.prefetch_related('device').filter(device__status=active): - if not console_port.connected_endpoints: - self.log_failure( - f"No console connection defined for {console_port.name}", - console_port.device, - ) - elif not console_port.connection_status: - self.log_warning( - f"Console connection for {console_port.name} marked as planned", - console_port.device, - ) - else: - self.log_success("Passed", console_port.device) - - def test_power_connections(self): - - # Check that every active device has at least two connected power supplies. - for device in Device.objects.filter(status=DeviceStatusChoices.STATUS_ACTIVE): - connected_ports = 0 - for power_port in PowerPort.objects.filter(device=device): - if power_port.connected_endpoints: - connected_ports += 1 - if not power_port.path.is_active: - self.log_warning( - f"Power connection for {power_port.name} marked as planned", - device, - ) - if connected_ports < 2: - self.log_failure( - f"{connected_ports} connected power supplies found (2 needed)", - device, - ) - else: - self.log_success("Passed", device) -``` - -## Change Logging - -To generate the correct change log data when editing an existing object, a snapshot of the object must be taken before making any changes to the object. - -```python -if obj.pk and hasattr(obj, 'snapshot'): - obj.snapshot() - -obj.property = "New Value" -obj.full_clean() -obj.save() -``` - -## Error handling - -Sometimes things go wrong and a script will run into an `Exception`. If that happens and an uncaught exception is raised by the custom script, the execution is aborted and a full stack trace is reported. - -Although this is helpful for debugging, in some situations it might be required to cleanly abort the execution of a custom script (e.g. because of invalid input data) and thereby make sure no changes are performed on the database. In this case the script can throw an `AbortScript` exception, which will prevent the stack trace from being reported, but still terminating the script's execution and reporting a given error message. - -```python -from utilities.exceptions import AbortScript - -if some_error: - raise AbortScript("Some meaningful error message") -``` - -## Variable Reference - -### Default Options - -All custom script variables support the following default options: - -* `default` - The field's default value -* `description` - A brief user-friendly description of the field -* `label` - The field name to be displayed in the rendered form -* `required` - Indicates whether the field is mandatory (all fields are required by default) -* `widget` - The class of form widget to use (see the [Django documentation](https://docs.djangoproject.com/en/stable/ref/forms/widgets/)) - -### StringVar - -Stores a string of characters (i.e. text). Options include: - -* `min_length` - Minimum number of characters -* `max_length` - Maximum number of characters -* `regex` - A regular expression against which the provided value must match - -Note that `min_length` and `max_length` can be set to the same number to effect a fixed-length field. - -### TextVar - -Arbitrary text of any length. Renders as a multi-line text input field. - -### IntegerVar - -Stores a numeric integer. Options include: - -* `min_value` - Minimum value -* `max_value` - Maximum value - -### DecimalVar - -Stores a numeric decimal. Options include: - -* `min_value` - Minimum value -* `max_value` - Maximum value -* `max_digits` - Maximum number of digits, including decimal places -* `decimal_places` - Number of decimal places - -### BooleanVar - -A true/false flag. This field has no options beyond the defaults listed above. - -### ChoiceVar - -A set of choices from which the user can select one. - -* `choices` - A list of `(value, label)` tuples representing the available choices. For example: - -```python -CHOICES = ( - ('n', 'North'), - ('s', 'South'), - ('e', 'East'), - ('w', 'West') -) - -direction = ChoiceVar(choices=CHOICES) -``` - -In the example above, selecting the choice labeled "North" will submit the value `n`. - -### MultiChoiceVar - -Similar to `ChoiceVar`, but allows for the selection of multiple choices. - -### ObjectVar - -A particular object within NetBox. Each ObjectVar must specify a particular model, and allows the user to select one of the available instances. ObjectVar accepts several arguments, listed below. - -* `model` - The model class -* `query_params` - A dictionary of query parameters to use when retrieving available options (optional) -* `context` - A custom dictionary mapping template context variables to fields, used when rendering `