diff --git a/.github/workflows/sync-management-api-docs.yml b/.github/workflows/sync-management-api-docs.yml index 35a61a768a..f366c47288 100644 --- a/.github/workflows/sync-management-api-docs.yml +++ b/.github/workflows/sync-management-api-docs.yml @@ -31,24 +31,20 @@ jobs: - name: Install dependencies run: pnpm install - - name: Fetch OpenAPI spec - working-directory: apps/docs - run: pnpm fetch-openapi - - - name: Generate docs + - name: Generate docs and Postman collection working-directory: apps/docs run: pnpm run generate:management-api-docs - name: Check for changes id: changes run: | - if [[ -z "$(git status --porcelain --untracked-files=all -- apps/docs/content/docs/management-api/)" ]]; then + if [[ -z "$(git status --porcelain --untracked-files=all -- apps/docs/content/docs/management-api/ apps/docs/public/prisma-management-api.postman_collection.json apps/docs/vercel.json)" ]]; then echo "changed=false" >> $GITHUB_OUTPUT - echo "No MDX changes detected" + echo "No changes detected" else echo "changed=true" >> $GITHUB_OUTPUT - echo "MDX changes detected:" - git status --short -- apps/docs/content/docs/management-api/ + echo "Changes detected:" + git status --short -- apps/docs/content/docs/management-api/ apps/docs/public/prisma-management-api.postman_collection.json apps/docs/vercel.json fi - name: Commit and push @@ -56,7 +52,7 @@ jobs: run: | git config user.email "prismabots@gmail.com" git config user.name "Prismo" - git add apps/docs/content/docs/management-api/ + git add apps/docs/content/docs/management-api/ apps/docs/public/prisma-management-api.postman_collection.json apps/docs/vercel.json git commit -m "chore(docs): sync management API documentation" git push "https://x-access-token:${{ secrets.BOT_TOKEN_DOCS_COMMIT }}@github.com/${{ github.repository }}.git" HEAD:${{ github.ref_name }} diff --git a/apps/docs/content/docs/management-api/api-clients.mdx b/apps/docs/content/docs/management-api/api-clients.mdx index 923bb7df21..217d9cca73 100644 --- a/apps/docs/content/docs/management-api/api-clients.mdx +++ b/apps/docs/content/docs/management-api/api-clients.mdx @@ -8,6 +8,8 @@ metaDescription: Learn how to use the Management API with API Clients This guide shows you how to configure popular API clients to work with the Management API using OAuth 2.0 authentication. +Download the Postman collection to import all endpoints with OAuth2 auth pre-configured. Compatible with Postman, Yaak, Insomnia, and other clients that support the Postman Collection v2.1 format. + ## Postman Postman is a popular API client with testing, collaboration, and automation features for working with REST APIs. diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-branches-by-branch-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-branches-by-branch-id.mdx deleted file mode 100644 index 757b1b7a13..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-branches-by-branch-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Soft-delete a branch -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Soft-deletes a Branch (sets deletedAt). Refuses if the Branch is the Project''s current default (FR4) or has live members (FR3).' -full: true -_openapi: - method: DELETE - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Soft-deletes a Branch (sets deletedAt). Refuses if the Branch is the Project's current default (FR4) or has live members (FR3). - path: '/v1/branches/{branchId}' -url: '/management-api/endpoints/[experimental]/delete-branches-by-branch-id' -metaTitle: 'DELETE /v1/branches/{branchId} | Soft-delete a branch' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Soft-deletes a Branch (sets deletedAt). Refuses if the Branch is the Project''s current default (FR4) or has live members (FR3).' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Soft-deletes a Branch (sets deletedAt). Refuses if the Branch is the Project's current default (FR4) or has live members (FR3). - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-by-compute-service-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-by-compute-service-id.mdx deleted file mode 100644 index 7ab940e39c..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-by-compute-service-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Delete compute service -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Deletes a compute service. All compute versions under the service must already be stopped or deleted.' -full: true -_openapi: - method: DELETE - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Deletes a compute service. All compute versions under the service must already be stopped or deleted. - path: '/v1/compute-services/{computeServiceId}' -url: '/management-api/endpoints/[experimental]/delete-compute-services-by-compute-service-id' -metaTitle: 'DELETE /v1/compute-services/{computeServiceId} | Delete compute service' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Deletes a compute service. All compute versions under the service must already be stopped or deleted.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Deletes a compute service. All compute versions under the service must already be stopped or deleted. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-versions-by-version-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-versions-by-version-id.mdx deleted file mode 100644 index 5b09919281..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-compute-services-versions-by-version-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Delete compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.' -full: true -_openapi: - method: DELETE - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted. - path: '/v1/compute-services/versions/{versionId}' -url: '/management-api/endpoints/[experimental]/delete-compute-services-versions-by-version-id' -metaTitle: 'DELETE /v1/compute-services/versions/{versionId} | Delete compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-environment-variables-by-env-var-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-environment-variables-by-env-var-id.mdx deleted file mode 100644 index be603200e0..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-environment-variables-by-env-var-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Delete an environment variable -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Removes an environment variable. A second delete of the same variable returns 404.' -full: true -_openapi: - method: DELETE - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Removes an environment variable. A second delete of the same variable returns 404. - path: '/v1/environment-variables/{envVarId}' -url: '/management-api/endpoints/[experimental]/delete-environment-variables-by-env-var-id' -metaTitle: 'DELETE /v1/environment-variables/{envVarId} | Delete an environment variable' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Removes an environment variable. A second delete of the same variable returns 404.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Removes an environment variable. A second delete of the same variable returns 404. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-versions-by-version-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-versions-by-version-id.mdx deleted file mode 100644 index 331fe8dd45..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/delete-versions-by-version-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Delete compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.' -full: true -_openapi: - method: DELETE - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted. - path: '/v1/versions/{versionId}' -url: '/management-api/endpoints/[experimental]/delete-versions-by-version-id' -metaTitle: 'DELETE /v1/versions/{versionId} | Delete compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-branches-by-branch-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-branches-by-branch-id.mdx deleted file mode 100644 index d907e78848..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-branches-by-branch-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Get a branch -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a single Branch by ID. Member resources are not inlined — list them via /v1/databases?branchId= and /v1/compute-services?branchId=.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns a single Branch by ID. Member resources are not inlined — list them via /v1/databases?branchId= and /v1/compute-services?branchId=. - path: '/v1/branches/{branchId}' -url: '/management-api/endpoints/[experimental]/get-branches-by-branch-id' -metaTitle: 'GET /v1/branches/{branchId} | Get a branch' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a single Branch by ID. Member resources are not inlined — list them via /v1/databases?branchId= and /v1/compute-services?branchId=.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns a single Branch by ID. Member resources are not inlined — list them via /v1/databases?branchId= and /v1/compute-services?branchId=. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id-versions.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id-versions.mdx deleted file mode 100644 index a1bae85dc5..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id-versions.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: List compute versions -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination. - path: '/v1/compute-services/{computeServiceId}/versions' -url: '/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id-versions' -metaTitle: 'GET /v1/compute-services/{computeServiceId}/versions | List compute versions' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id.mdx deleted file mode 100644 index a1ceee61c2..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Get compute service -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute service by ID, including its region and latest version reference.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns a compute service by ID, including its region and latest version reference. - path: '/v1/compute-services/{computeServiceId}' -url: '/management-api/endpoints/[experimental]/get-compute-services-by-compute-service-id' -metaTitle: 'GET /v1/compute-services/{computeServiceId} | Get compute service' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute service by ID, including its region and latest version reference.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns a compute service by ID, including its region and latest version reference. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id-logs.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id-logs.mdx deleted file mode 100644 index a33a63e333..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id-logs.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Stream compute version logs via WebSocket -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Upgrades to a WebSocket connection that streams log output for the specified compute version. Each message is a JSON object with `type: "log"` (log text + byte metadata) or `type: "terminal"` (end-of-segment signal with reconnect cursor). The stream ends after 10 minutes; reconnect with the `cursor` query parameter to continue.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Upgrades to a WebSocket connection that streams log output for the specified compute version. Each message is a JSON object with `type: "log"` (log text + byte metadata) or `type: "terminal"` (end-of-segment signal with reconnect cursor). The stream ends after 10 minutes; reconnect with the `cursor` query parameter to continue. - path: '/v1/compute-services/versions/{versionId}/logs' -url: '/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id-logs' -metaTitle: 'GET /v1/compute-services/versions/{versionId}/logs | Stream compute version logs via WebSocket' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Upgrades to a WebSocket connection that streams log output for the specified compute version. Each message is a JSON object with `type: "log"` (log text + byte metadata) or `type: "terminal"` (end-of-segment signal with reconnect cursor). The stream ends after 10 minutes; reconnect with the `cursor` query parameter to continue.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Upgrades to a WebSocket connection that streams log output for the specified compute version. Each message is a JSON object with `type: "log"` (log text + byte metadata) or `type: "terminal"` (end-of-segment signal with reconnect cursor). The stream ends after 10 minutes; reconnect with the `cursor` query parameter to continue. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id.mdx deleted file mode 100644 index 4b204bd0b7..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Get compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns a compute version by ID, including its current status derived from the underlying VM state. - path: '/v1/compute-services/versions/{versionId}' -url: '/management-api/endpoints/[experimental]/get-compute-services-versions-by-version-id' -metaTitle: 'GET /v1/compute-services/versions/{versionId} | Get compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns a compute version by ID, including its current status derived from the underlying VM state. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services.mdx deleted file mode 100644 index 57d2f3cc6a..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-compute-services.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: List compute services -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination. - path: /v1/compute-services -url: '/management-api/endpoints/[experimental]/get-compute-services' -metaTitle: GET /v1/compute-services | List compute services -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-environment-variables-by-env-var-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-environment-variables-by-env-var-id.mdx deleted file mode 100644 index 813ef18981..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-environment-variables-by-env-var-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Get an environment variable -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a single environment variable''s metadata. The value is not returned.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns a single environment variable's metadata. The value is not returned. - path: '/v1/environment-variables/{envVarId}' -url: '/management-api/endpoints/[experimental]/get-environment-variables-by-env-var-id' -metaTitle: 'GET /v1/environment-variables/{envVarId} | Get an environment variable' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a single environment variable''s metadata. The value is not returned.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns a single environment variable's metadata. The value is not returned. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-environment-variables.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-environment-variables.mdx deleted file mode 100644 index 70085ed1e8..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-environment-variables.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: List environment variables -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a paginated list of environment variables. All filters are optional; combine `projectId`, `class`, and `key` to look up a specific variable by name.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns a paginated list of environment variables. All filters are optional; combine `projectId`, `class`, and `key` to look up a specific variable by name. - path: /v1/environment-variables -url: '/management-api/endpoints/[experimental]/get-environment-variables' -metaTitle: GET /v1/environment-variables | List environment variables -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a paginated list of environment variables. All filters are optional; combine `projectId`, `class`, and `key` to look up a specific variable by name.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns a paginated list of environment variables. All filters are optional; combine `projectId`, `class`, and `key` to look up a specific variable by name. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-branches.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-branches.mdx deleted file mode 100644 index e4bbe3ff58..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-branches.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: List branches in a project -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns the live Branches of a Project. Supports two mutually exclusive filters: ?gitName= (exact match — at most one row), ?gitNameContains= (case-sensitive substring). Soft-deleted Branches are not returned. Ordered by createdAt ascending.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns the live Branches of a Project. Supports two mutually exclusive filters: ?gitName= (exact match — at most one row), ?gitNameContains= (case-sensitive substring). Soft-deleted Branches are not returned. Ordered by createdAt ascending. - path: '/v1/projects/{projectId}/branches' -url: '/management-api/endpoints/[experimental]/get-projects-by-project-id-branches' -metaTitle: 'GET /v1/projects/{projectId}/branches | List branches in a project' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns the live Branches of a Project. Supports two mutually exclusive filters: ?gitName= (exact match — at most one row), ?gitNameContains= (case-sensitive substring). Soft-deleted Branches are not returned. Ordered by createdAt ascending.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns the live Branches of a Project. Supports two mutually exclusive filters: ?gitName= (exact match — at most one row), ?gitNameContains= (case-sensitive substring). Soft-deleted Branches are not returned. Ordered by createdAt ascending. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-compute-services.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-compute-services.mdx deleted file mode 100644 index db07a93ba1..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-projects-by-project-id-compute-services.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: List compute services for a project -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination. - path: '/v1/projects/{projectId}/compute-services' -url: '/management-api/endpoints/[experimental]/get-projects-by-project-id-compute-services' -metaTitle: 'GET /v1/projects/{projectId}/compute-services | List compute services for a project' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions-by-version-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions-by-version-id.mdx deleted file mode 100644 index 55e8a1815b..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions-by-version-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Get compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns a compute version by ID, including its current status derived from the underlying VM state. - path: '/v1/versions/{versionId}' -url: '/management-api/endpoints/[experimental]/get-versions-by-version-id' -metaTitle: 'GET /v1/versions/{versionId} | Get compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns a compute version by ID, including its current status derived from the underlying VM state.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns a compute version by ID, including its current status derived from the underlying VM state. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions.mdx deleted file mode 100644 index 7fc3c5a8c1..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/get-versions.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: List compute versions -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination.' -full: true -_openapi: - method: GET - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination. - path: /v1/versions -url: '/management-api/endpoints/[experimental]/get-versions' -metaTitle: GET /v1/versions | List compute versions -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-branches-by-branch-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-branches-by-branch-id.mdx deleted file mode 100644 index a9c8eb6a1c..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-branches-by-branch-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Update a branch -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Promotes a Branch to be the Project''s default. Only isDefault is mutable — gitName rename is rejected (FR13 — gitName is a stable, externally-typed identifier).' -full: true -_openapi: - method: PATCH - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Promotes a Branch to be the Project's default. Only isDefault is mutable — gitName rename is rejected (FR13 — gitName is a stable, externally-typed identifier). - path: '/v1/branches/{branchId}' -url: '/management-api/endpoints/[experimental]/patch-branches-by-branch-id' -metaTitle: 'PATCH /v1/branches/{branchId} | Update a branch' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Promotes a Branch to be the Project''s default. Only isDefault is mutable — gitName rename is rejected (FR13 — gitName is a stable, externally-typed identifier).' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Promotes a Branch to be the Project's default. Only isDefault is mutable — gitName rename is rejected (FR13 — gitName is a stable, externally-typed identifier). - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-compute-services-by-compute-service-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-compute-services-by-compute-service-id.mdx deleted file mode 100644 index 4657c8882f..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-compute-services-by-compute-service-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Update compute service -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Updates the display name of a compute service.' -full: true -_openapi: - method: PATCH - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Updates the display name of a compute service. - path: '/v1/compute-services/{computeServiceId}' -url: '/management-api/endpoints/[experimental]/patch-compute-services-by-compute-service-id' -metaTitle: 'PATCH /v1/compute-services/{computeServiceId} | Update compute service' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Updates the display name of a compute service.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Updates the display name of a compute service. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-environment-variables-by-env-var-id.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-environment-variables-by-env-var-id.mdx deleted file mode 100644 index d755b2a777..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/patch-environment-variables-by-env-var-id.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Update an environment variable's value -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.' -full: true -_openapi: - method: PATCH - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time. - path: '/v1/environment-variables/{envVarId}' -url: '/management-api/endpoints/[experimental]/patch-environment-variables-by-env-var-id' -metaTitle: 'PATCH /v1/environment-variables/{envVarId} | Update an environment variable''s value' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-promote.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-promote.mdx deleted file mode 100644 index 94f3adadd3..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-promote.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Promote compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Promotes a compute version to be the active version behind the service''s stable endpoint. The version must be running. Returns the service endpoint domain.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Promotes a compute version to be the active version behind the service's stable endpoint. The version must be running. Returns the service endpoint domain. - path: '/v1/compute-services/{computeServiceId}/promote' -url: '/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-promote' -metaTitle: 'POST /v1/compute-services/{computeServiceId}/promote | Promote compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Promotes a compute version to be the active version behind the service''s stable endpoint. The version must be running. Returns the service endpoint domain.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Promotes a compute version to be the active version behind the service's stable endpoint. The version must be running. Returns the service endpoint domain. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-versions.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-versions.mdx deleted file mode 100644 index f05936c1f9..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-versions.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Create compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute version under the specified compute service. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the latest version''s artifact). Environment variables are merged with the previous version''s variables when one exists.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Creates a new compute version under the specified compute service. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the latest version's artifact). Environment variables are merged with the previous version's variables when one exists. - path: '/v1/compute-services/{computeServiceId}/versions' -url: '/management-api/endpoints/[experimental]/post-compute-services-by-compute-service-id-versions' -metaTitle: 'POST /v1/compute-services/{computeServiceId}/versions | Create compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute version under the specified compute service. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the latest version''s artifact). Environment variables are merged with the previous version''s variables when one exists.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Creates a new compute version under the specified compute service. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the latest version's artifact). Environment variables are merged with the previous version's variables when one exists. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-start.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-start.mdx deleted file mode 100644 index b35c2e3506..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-start.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Start compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached. - path: '/v1/compute-services/versions/{versionId}/start' -url: '/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-start' -metaTitle: 'POST /v1/compute-services/versions/{versionId}/start | Start compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-stop.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-stop.mdx deleted file mode 100644 index b19549b5ff..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-stop.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Stop compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached. - path: '/v1/compute-services/versions/{versionId}/stop' -url: '/management-api/endpoints/[experimental]/post-compute-services-versions-by-version-id-stop' -metaTitle: 'POST /v1/compute-services/versions/{versionId}/stop | Stop compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services.mdx deleted file mode 100644 index 841863e3d6..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-compute-services.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Create compute service -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute service under the specified project. The `projectId` is required in the request body. The service is placed in the given region (or the default region if omitted).' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Creates a new compute service under the specified project. The `projectId` is required in the request body. The service is placed in the given region (or the default region if omitted). - path: /v1/compute-services -url: '/management-api/endpoints/[experimental]/post-compute-services' -metaTitle: POST /v1/compute-services | Create compute service -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute service under the specified project. The `projectId` is required in the request body. The service is placed in the given region (or the default region if omitted).' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Creates a new compute service under the specified project. The `projectId` is required in the request body. The service is placed in the given region (or the default region if omitted). - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-environment-variables.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-environment-variables.mdx deleted file mode 100644 index 932fc75ed5..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-environment-variables.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Create an environment variable -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new environment variable in a project''s `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Creates a new environment variable in a project's `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads. - path: /v1/environment-variables -url: '/management-api/endpoints/[experimental]/post-environment-variables' -metaTitle: POST /v1/environment-variables | Create an environment variable -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new environment variable in a project''s `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Creates a new environment variable in a project's `production` or `preview` environment. Returns 409 if a variable with the same key already exists in that environment — use PATCH to replace its value. Values are stored encrypted and are not returned by subsequent reads. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-projects-by-project-id-branches.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-projects-by-project-id-branches.mdx deleted file mode 100644 index c2a7098235..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-projects-by-project-id-branches.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Create a branch -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a Branch under the specified Project. The first Branch in a Project is always created with isDefault=true regardless of the body value (FR4 first-Branch-is-default rule). Setting isDefault=true while another Branch already holds the default atomically swaps the flag.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Creates a Branch under the specified Project. The first Branch in a Project is always created with isDefault=true regardless of the body value (FR4 first-Branch-is-default rule). Setting isDefault=true while another Branch already holds the default atomically swaps the flag. - path: '/v1/projects/{projectId}/branches' -url: '/management-api/endpoints/[experimental]/post-projects-by-project-id-branches' -metaTitle: 'POST /v1/projects/{projectId}/branches | Create a branch' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a Branch under the specified Project. The first Branch in a Project is always created with isDefault=true regardless of the body value (FR4 first-Branch-is-default rule). Setting isDefault=true while another Branch already holds the default atomically swaps the flag.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Creates a Branch under the specified Project. The first Branch in a Project is always created with isDefault=true regardless of the body value (FR4 first-Branch-is-default rule). Setting isDefault=true while another Branch already holds the default atomically swaps the flag. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-projects-by-project-id-compute-services.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-projects-by-project-id-compute-services.mdx deleted file mode 100644 index 117ec206f9..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-projects-by-project-id-compute-services.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Create compute service -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute service under the specified project. The service is placed in the given region (or the default region if omitted).' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Creates a new compute service under the specified project. The service is placed in the given region (or the default region if omitted). - path: '/v1/projects/{projectId}/compute-services' -url: '/management-api/endpoints/[experimental]/post-projects-by-project-id-compute-services' -metaTitle: 'POST /v1/projects/{projectId}/compute-services | Create compute service' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute service under the specified project. The service is placed in the given region (or the default region if omitted).' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Creates a new compute service under the specified project. The service is placed in the given region (or the default region if omitted). - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions-by-version-id-start.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions-by-version-id-start.mdx deleted file mode 100644 index 30504cd12a..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions-by-version-id-start.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Start compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached. - path: '/v1/versions/{versionId}/start' -url: '/management-api/endpoints/[experimental]/post-versions-by-version-id-start' -metaTitle: 'POST /v1/versions/{versionId}/start | Start compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions-by-version-id-stop.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions-by-version-id-stop.mdx deleted file mode 100644 index 0691200326..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions-by-version-id-stop.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Stop compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached. - path: '/v1/versions/{versionId}/stop' -url: '/management-api/endpoints/[experimental]/post-versions-by-version-id-stop' -metaTitle: 'POST /v1/versions/{versionId}/stop | Stop compute version' -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached. - - diff --git a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions.mdx b/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions.mdx deleted file mode 100644 index 58565e656d..0000000000 --- a/apps/docs/content/docs/management-api/endpoints/[experimental]/post-versions.mdx +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Create compute version -description: 'Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute version under the specified compute service. The `computeServiceId` is required in the request body. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set. Environment variables are merged with the previous version''s variables when one exists.' -full: true -_openapi: - method: POST - toc: [] - structuredData: - headings: [] - contents: - - content: |- - ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - - Creates a new compute version under the specified compute service. The `computeServiceId` is required in the request body. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set. Environment variables are merged with the previous version's variables when one exists. - path: /v1/versions -url: '/management-api/endpoints/[experimental]/post-versions' -metaTitle: POST /v1/versions | Create compute version -metaDescription: 'Management API: Experimental endpoint: this API is in active development and may change at any time without notice. Creates a new compute version under the specified compute service. The `computeServiceId` is required in the request body. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set. Environment variables are merged with the previous version''s variables when one exists.' ---- - -{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */} - -⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️ - -Creates a new compute version under the specified compute service. The `computeServiceId` is required in the request body. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set. Environment variables are merged with the previous version's variables when one exists. - - diff --git a/apps/docs/content/docs/management-api/endpoints/meta.json b/apps/docs/content/docs/management-api/endpoints/meta.json index c68d6749de..ac98037d56 100644 --- a/apps/docs/content/docs/management-api/endpoints/meta.json +++ b/apps/docs/content/docs/management-api/endpoints/meta.json @@ -9,6 +9,8 @@ "integrations", "projects", "workspaces", + "connections", + "regions", "misc" ] } diff --git a/apps/docs/package.json b/apps/docs/package.json index 9d9b47bb12..096a3eb273 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -5,7 +5,8 @@ "type": "module", "scripts": { "fetch-openapi": "tsx ./scripts/fetch-openapi.ts", - "generate:management-api-docs": "rimraf ./content/docs/management-api/endpoints/**/*.mdx && pnpm run fetch-openapi && tsx ./scripts/generate-docs.ts && fumadocs-mdx", + "generate:management-api-docs": "pnpm run fetch-openapi && tsx ./scripts/generate-docs.ts && pnpm run generate:postman-collection && fumadocs-mdx", + "generate:postman-collection": "tsx ./scripts/generate-postman-collection.ts", "build": "pnpm run fetch-openapi && next build", "start": "next start --port 3001", "dev": "next dev --port 3001", @@ -75,6 +76,7 @@ "tsx": "catalog:", "tw-animate-css": "catalog:", "typescript": "catalog:", + "openapi-to-postmanv2": "^6.0.1", "unified": "^11.0.5" } } diff --git a/apps/docs/public/prisma-management-api.postman_collection.json b/apps/docs/public/prisma-management-api.postman_collection.json new file mode 100644 index 0000000000..e38208e339 --- /dev/null +++ b/apps/docs/public/prisma-management-api.postman_collection.json @@ -0,0 +1,7664 @@ +{ + "item": [ + { + "id": "d99f98c2-395c-4603-b96f-2b48cd82a51b", + "name": "Projects", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "c5021631-7f9c-4bf7-83b3-dcf22b579bb8", + "name": "Get list of projects", + "request": { + "name": "Get list of projects", + "description": { + "content": "Returns the list of projects the token has access to.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "17d603c1-1504-4a20-8d36-f1650ebc8dbb", + "name": "Returns the list of projects.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"defaultRegion\": \"\",\n \"workspace\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"defaultRegion\": \"\",\n \"workspace\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1f91ff93-6341-498f-a5d5-5b14134b4756", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "4c33ae67-5b04-456f-8b26-e203c3d26737", + "name": "Create project with a postgres database", + "request": { + "name": "Create project with a postgres database", + "description": { + "content": "Creates a new project with a postgres database.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"createDatabase\": true,\n \"name\": \"\",\n \"region\": \"us-east-1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "10aee70c-9932-46cc-865c-e163acc74fa0", + "name": "New project created.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"createDatabase\": true,\n \"name\": \"\",\n \"region\": \"us-east-1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Created", + "code": 201, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"defaultRegion\": \"\",\n \"workspace\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"database\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n },\n \"apiKeys\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"connectionString\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d3b001c9-b48d-4d15-8d1a-8b30c69a08f8", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"createDatabase\": true,\n \"name\": \"\",\n \"region\": \"us-east-1\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "0be9e7e1-3823-46f4-a413-35ae33d7f4d0", + "name": "Delete project", + "request": { + "name": "Delete project", + "description": { + "content": "Deletes the project with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "auth": null + }, + "response": [ + { + "id": "4473f8e9-b47b-46d2-abf3-09ca70dbecc5", + "name": "Project deleted.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "No Content", + "code": 204, + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "9a3a176a-12d0-496f-ac8e-fa820678807a", + "name": "Project cannot be deleted due to existing dependencies.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "3e8b6fa6-8df8-42a5-beee-3aad5e553912", + "name": "Unauthorized", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "0274af51-439d-4800-acc9-19fc6457b9a1", + "name": "Project with the specified ID was not found", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "40e801a6-c9b3-4158-9d6f-a61c315fdd00", + "name": "Get project", + "request": { + "name": "Get project", + "description": { + "content": "Returns the project with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "ca056f02-3643-4ee1-89c6-b230a5e61b9c", + "name": "Project retrieved.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"defaultRegion\": \"\",\n \"workspace\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "07ae7ba9-d8d1-46d6-9f0d-0e8c83bece46", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "43d0a9bc-27fc-45bb-8303-095e634d2d2e", + "name": "Project with the specified ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "d6f7115d-d839-4658-9c3d-7d7502d55a31", + "name": "Update project", + "request": { + "name": "Update project", + "description": { + "content": "Updates the project with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"settings\": {\n \"key_0\": {},\n \"key_1\": {},\n \"key_2\": {}\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "458155dc-878b-434a-b22d-d99f78949264", + "name": "Project updated.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"settings\": {\n \"key_0\": {},\n \"key_1\": {},\n \"key_2\": {}\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"defaultRegion\": \"\",\n \"workspace\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "3fce3c31-9058-4df3-980d-232e992a9982", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"settings\": {\n \"key_0\": {},\n \"key_1\": {},\n \"key_2\": {}\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "da73f48f-ebed-424e-94d0-0e28d460a631", + "name": "Actor does not have access to the project.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"settings\": {\n \"key_0\": {},\n \"key_1\": {},\n \"key_2\": {}\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "18b154d3-e790-4cfd-a67c-b1fa62efc2ab", + "name": "Project with the specified ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"settings\": {\n \"key_0\": {},\n \"key_1\": {},\n \"key_2\": {}\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "2b231028-a006-4d1e-9ab0-bbc250b086e6", + "name": "Validation failed.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\",\n \"settings\": {\n \"key_0\": {},\n \"key_1\": {},\n \"key_2\": {}\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "f208130e-9a00-48f0-bbea-dbc72227dbf7", + "name": "Transfer project", + "request": { + "name": "Transfer project", + "description": { + "content": "Transfer the project with the given ID to the new owner's workspace", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects", + ":id", + "transfer" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"recipientAccessToken\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "177fcef7-3d9f-49d8-bd50-d1c15567f294", + "name": "Project transferred", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id", + "transfer" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"recipientAccessToken\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "No Content", + "code": 204, + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "482a5671-eadd-4f03-b0a7-b7e264962df1", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id", + "transfer" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"recipientAccessToken\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "f0c9f0ab-33b4-4d8a-9f97-d105ac6344f6", + "name": "Project with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":id", + "transfer" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"recipientAccessToken\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "49bd2807-7d4e-4a77-b87f-26b1a8433f59", + "name": "Databases", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "e5757eae-5f6b-4f12-84d9-9880d6226945", + "name": "List databases", + "request": { + "name": "List databases", + "description": { + "content": "Returns all databases the token has access to. Optionally filter by project ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + }, + { + "disabled": true, + "key": "projectId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "7149fcef-e7ec-404b-81fe-90ebccb8cfb6", + "name": "Returns the list of databases.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "projectId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "85e5f60f-8387-4987-94ae-a92104bebf1f", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "projectId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "f2c3fb0d-2c96-457d-a376-ac93420fbfb5", + "name": "Actor does not have access to the requested databases.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "projectId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ebdc6fa9-3a75-4cef-9657-1ea04ac94057", + "name": "Create database /v1/databases", + "request": { + "name": "Create database", + "description": { + "content": "Creates a new database in the specified project.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"projectId\": \"\",\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "d7afad05-de33-4f29-95a4-d9241be20535", + "name": "Created a new database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"projectId\": \"\",\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Created", + "code": 201, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "91a9b0c6-07ec-4dff-b987-a550cf23634e", + "name": "Invalid request parameters.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"projectId\": \"\",\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "29c786bc-4944-4c16-8b07-dfc0006647f7", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"projectId\": \"\",\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "ac47e1b7-97dc-46bd-a7c4-d261554b2db3", + "name": "Actor does not have access to the specified project.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"projectId\": \"\",\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "bfadb2a5-709f-4241-b1c9-36a591f8a757", + "name": "Project not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"projectId\": \"\",\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "d4ff4b12-78ab-4c65-8cd3-cfb53ff81624", + "name": "Get database", + "request": { + "name": "Get database", + "description": { + "content": "Returns the database with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "ae148856-1bc6-4bbc-be2a-bb5098174ba7", + "name": "Returned the database with the given ID.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "5600b165-2484-4042-9ad0-7be2870d2146", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "4da2e17c-f2f8-4ced-8180-cbd75d679ccc", + "name": "Actor does not have access to the database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "e817fc7e-2730-4d50-9c52-eee60be5b1d8", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "1fc3aa22-8f5a-4aa5-a655-7136ca88e18a", + "name": "Update database", + "request": { + "name": "Update database", + "description": { + "content": "Updates the database with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "313ff8bd-fd49-4fe8-8197-24a0fc1e7590", + "name": "Updated the database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "41220a84-99b9-445f-aea6-6556f6349c01", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "80b26f71-5586-4730-8455-eed12b7a9d15", + "name": "Actor does not have access to the database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d85b48a0-d514-4b74-8f0d-ed45c24465b1", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "PATCH", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "6c914023-4654-433d-addb-89ba0e5e06a1", + "name": "Delete database", + "request": { + "name": "Delete database", + "description": { + "content": "Deletes the database with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "auth": null + }, + "response": [ + { + "id": "ee74f1f8-d0de-4e07-940f-cc2f53c8654a", + "name": "Deleted the database successfully.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "No Content", + "code": 204, + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "6d75d8d4-656b-4a0d-98c4-3604ea6a2a1c", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "fc22af76-91fe-499b-8837-a80f68a7c306", + "name": "Cannot delete the default environment.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "7b7a9794-9506-48f8-ad0c-329160d721b3", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "f8501858-636d-4812-96b8-2a3c3ee9d81a", + "name": "Restore database (destructive)", + "request": { + "name": "Restore database (destructive)", + "description": { + "content": "⚠️ **Destructive operation** — this immediately and irreversibly overwrites all data in the target database with the contents of the specified backup. Any data written since the backup was taken will be lost. Ensure you have a recent backup of the target database before proceeding.\n\nReplaces the data in an existing database from a backup. Connections and credentials are preserved — only the data layer is replaced.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":targetDatabaseId", + "restore" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "targetDatabaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "806dbb20-b7b0-4342-b9cc-b395e7eeb0a4", + "name": "Database restore initiated. The database status will be \"recovering\" until the restore completes.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":targetDatabaseId", + "restore" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "targetDatabaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d621f92c-409a-4770-b97f-fe608012c579", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":targetDatabaseId", + "restore" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "targetDatabaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "0983f9f2-36a1-47e0-bc56-e50c53901a8e", + "name": "Target database, source database, or backup not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":targetDatabaseId", + "restore" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "targetDatabaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "b32b0485-0954-48d0-8f3a-a016d52c37c7", + "name": "Target database is currently provisioning or recovering and cannot be restored.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":targetDatabaseId", + "restore" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "targetDatabaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Conflict", + "code": 409, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "38f518dc-6924-4cad-be27-677aee83708f", + "name": "Invalid source type or backup not usable.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":targetDatabaseId", + "restore" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "targetDatabaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"source\": {\n \"type\": \"\",\n \"databaseId\": \"\",\n \"backupId\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "857c92a3-0a6a-4644-83e1-9b42d5f42cb1", + "name": "Get list of databases", + "request": { + "name": "Get list of databases", + "description": { + "content": "Returns databases for the given project.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "82e578c7-68e0-4520-8af7-aa012f3ec782", + "name": "Returned the databases for the given project ID.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "ee1232c7-9534-42e8-8a60-fec6b241f9b0", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "02f31af1-c3b7-47e1-9c54-090a2de2d2bb", + "name": "Project with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "32cb95c1-2c9b-49af-8f84-667af8bfef44", + "name": "Create database /v1/projects/{projectId}/databases", + "request": { + "name": "Create database", + "description": { + "content": "Creates a new database for the given project.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"fromDatabase\": {\n \"id\": \"\",\n \"backupId\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "0f74bc8d-ea61-4eec-9ebf-c2b7dba17bed", + "name": "Created a new database for the project.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"fromDatabase\": {\n \"id\": \"\",\n \"backupId\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Created", + "code": 201, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"status\": \"\",\n \"createdAt\": \"\",\n \"isDefault\": \"\",\n \"defaultConnectionId\": \"\",\n \"connections\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"project\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"region\": {\n \"id\": \"\",\n \"name\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n },\n \"apiKeys\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"connectionString\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "908aeb53-9cab-488f-86c8-5a40389cfc34", + "name": "The request is invalid due to missing or invalid parameters.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"fromDatabase\": {\n \"id\": \"\",\n \"backupId\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "cecd0d32-9d66-469d-aaa9-bd0a2445fc35", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"fromDatabase\": {\n \"id\": \"\",\n \"backupId\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d4f7cf8a-4ce7-48bc-987f-29bfeb9d9f1e", + "name": "Project does not belong to the service token’s workspace.", + "originalRequest": { + "url": { + "path": [ + "v1", + "projects", + ":projectId", + "databases" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "projectId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"region\": \"us-east-1\",\n \"name\": \"\",\n \"isDefault\": false,\n \"fromDatabase\": {\n \"id\": \"\",\n \"backupId\": \"\"\n },\n \"source\": {\n \"type\": \"\"\n }\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Forbidden", + "code": 403, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "887e1913-fa44-4f60-a0d5-a8b8f60d47ce", + "name": "Databases Connections", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "ff839351-b559-428b-94c5-ae4cbdf9f875", + "name": "Get list of database connections", + "request": { + "name": "Get list of database connections", + "description": { + "content": "Returns all connections for the given database.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "8185189c-c43e-474e-8c22-c72d65e31b07", + "name": "Returned all connections for the given database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "75513e60-d1fe-4a08-a422-cc3b59055516", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "4e3db4ec-6c61-463b-930b-ba0f3effb1fc", + "name": "Create database connection string", + "request": { + "name": "Create database connection string", + "description": { + "content": "Creates a new connection string for the given database.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "958d8922-25d5-4d44-9240-7c352d3ed217", + "name": "Created a new connection string for the database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "260e4a94-4750-4fd8-b2c2-bb4d5ea2f616", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1c027141-d831-46da-83c0-56b427ccb42d", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "135e4425-654c-4ded-96fd-f4cf21d93103", + "name": "Database Backups", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "afe6ba5f-87ce-4ce1-b773-f6f9715ae440", + "name": "Get list of backups", + "request": { + "name": "Get list of backups", + "description": { + "content": "Returns backups for the specified database.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "backups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "limit", + "value": "25" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "c43c18df-6492-48ee-bf4c-0eab3cf886c2", + "name": "Returned backups for the given database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "backups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "limit", + "value": "25" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"backupType\": \"\",\n \"createdAt\": \"\",\n \"status\": \"\",\n \"size\": \"\",\n \"type\": \"\"\n },\n {\n \"id\": \"\",\n \"backupType\": \"\",\n \"createdAt\": \"\",\n \"status\": \"\",\n \"size\": \"\",\n \"type\": \"\"\n }\n ],\n \"meta\": {\n \"backupRetentionDays\": \"\"\n },\n \"pagination\": {\n \"hasMore\": \"\",\n \"limit\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "c7d9716a-8ed6-4c3c-9567-90dbf5e2b1d4", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "backups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "limit", + "value": "25" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "15840d88-07ef-45d5-b853-abb32908db32", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "backups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "limit", + "value": "25" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "26912dd9-07d9-4bd2-964b-36540c35903b", + "name": "Remote database backups are not supported", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "backups" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "limit", + "value": "25" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unprocessable Entity (WebDAV) (RFC 4918)", + "code": 422, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "6ece9059-53c4-4374-b5be-56b05785f78a", + "name": "Database Usage", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "425638ca-8d95-4f1a-8816-735316a8f5b5", + "name": "Get database usage metrics", + "request": { + "name": "Get database usage metrics", + "description": { + "content": "Returns usage metrics for the specified database.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "usage" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "startDate", + "value": "" + }, + { + "disabled": true, + "key": "endDate", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "4407da07-6cf0-46d5-96f1-8a2c1d12d8bd", + "name": "Returned usage metrics for the given database.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "usage" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "startDate", + "value": "" + }, + { + "key": "endDate", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"period\": {\n \"start\": \"\",\n \"end\": \"\"\n },\n \"metrics\": {\n \"operations\": {\n \"used\": \"\",\n \"unit\": \"\"\n },\n \"storage\": {\n \"used\": \"\",\n \"unit\": \"\"\n }\n },\n \"generatedAt\": \"\"\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "babdce8f-eb6f-47e7-aa14-43bef24afc68", + "name": "Invalid request parameters", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "usage" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "startDate", + "value": "" + }, + { + "key": "endDate", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Bad Request", + "code": 400, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "09e87dc6-9f1c-4e3c-99ac-c1dbfe56ac69", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "usage" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "startDate", + "value": "" + }, + { + "key": "endDate", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "ed42a10b-539e-45f1-a802-3efd78e595b1", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "usage" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "startDate", + "value": "" + }, + { + "key": "endDate", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "0adf2fd7-08b1-4718-849f-dc791d918c82", + "name": "Error occurred while fetching metrics", + "originalRequest": { + "url": { + "path": [ + "v1", + "databases", + ":databaseId", + "usage" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "startDate", + "value": "" + }, + { + "key": "endDate", + "value": "" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "databaseId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Internal Server Error", + "code": 500, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "a63ed7bf-a017-4a83-b29f-d844b1a5566b", + "name": "Connections", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "bbf87aa6-992a-49bc-acfa-5b650d25ab05", + "name": "List connections", + "request": { + "name": "List connections", + "description": { + "content": "Returns all connections the actor has access to, with optional database filter.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + }, + { + "disabled": true, + "key": "databaseId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "7a462d86-374b-4629-933a-37dc752d9b0d", + "name": "Returned list of connections.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "databaseId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "f9c61bfd-0817-4cdd-afec-ab3235c43bb6", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "databaseId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "c0e52971-f254-464c-bac3-273462b315ad", + "name": "Create connection", + "request": { + "name": "Create connection", + "description": { + "content": "Creates a new connection for the specified database.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"databaseId\": \"\",\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "id": "39dabb7d-1683-40c3-9bb1-8f3dcc09e38d", + "name": "Created a new connection.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"databaseId\": \"\",\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Created", + "code": 201, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "56acdea7-1337-4465-bdb7-800da98890c1", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"databaseId\": \"\",\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "cef1ab60-54e9-41f2-ae3f-a588ccb08b6f", + "name": "Database with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": { + "mode": "raw", + "raw": "{\n \"databaseId\": \"\",\n \"name\": \"\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "5faadb1b-442b-4595-be93-6a8a5e4f2314", + "name": "Get connection", + "request": { + "name": "Get connection", + "description": { + "content": "Returns the connection with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "1161c30d-ec39-476c-979f-973d8be473bd", + "name": "Returned the connection.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\"\n }\n },\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "d21af3c8-a9e5-47de-bc41-1b2764707e01", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "9028bd79-1592-40c1-a21d-21929dcb2257", + "name": "Connection with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "4cfac66b-65fe-44c2-8265-df110ef29c16", + "name": "Delete connection", + "request": { + "name": "Delete connection", + "description": { + "content": "Deletes the connection with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "auth": null + }, + "response": [ + { + "id": "935abfe0-bac3-47ae-9f4a-19e92ea788e1", + "name": "Deleted the connection.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "No Content", + "code": 204, + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "abab81da-bc91-404d-bd06-d508e744ffd3", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "21460e52-e790-4b1d-8bf5-d523163b6991", + "name": "Connection with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "c6b130d0-a7aa-4345-9e14-c48264ddc705", + "name": "Rotate connection credentials", + "request": { + "name": "Rotate connection credentials", + "description": { + "content": "Generates new credentials for the connection with the given ID. Revocation of the previous credentials is best-effort.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "connections", + ":id", + "rotate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "auth": null + }, + "response": [ + { + "id": "14e43f03-cb94-4140-ab53-4d6963567232", + "name": "Rotated connection credentials.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id", + "rotate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\",\n \"kind\": \"\",\n \"endpoints\": {\n \"direct\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"pooled\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n },\n \"accelerate\": {\n \"host\": \"\",\n \"port\": \"\",\n \"connectionString\": \"\"\n }\n },\n \"connectionString\": \"\",\n \"database\": {\n \"id\": \"\",\n \"url\": \"\",\n \"name\": \"\"\n },\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\",\n \"directConnection\": {\n \"host\": \"\",\n \"pass\": \"\",\n \"user\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "ca8bbbc2-60de-48b7-88e5-6588698767d1", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id", + "rotate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "c4fd83e0-c998-47b8-8159-9cd5f3a8dee9", + "name": "Connection with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "connections", + ":id", + "rotate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "POST", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "aa86e2d5-70c5-48c9-88e4-6a3c82c36936", + "name": "Integrations", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "10a890a2-87ab-4a47-b6a4-66624490cafd", + "name": "Get list of integrations /v1/integrations", + "request": { + "name": "Get list of integrations", + "description": { + "content": "Returns integrations filtered by workspace ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + }, + { + "disabled": true, + "key": "workspaceId", + "value": "", + "description": "(Required) " + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "0125e2d9-877d-443c-bd5c-4c3a44343586", + "name": "Returned the integrations for the given workspace.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "workspaceId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"url\": \"\",\n \"createdAt\": \"\",\n \"scopes\": [\n \"\",\n \"\"\n ],\n \"client\": {\n \"id\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n },\n \"createdByUser\": {\n \"id\": \"\",\n \"email\": \"\",\n \"displayName\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"url\": \"\",\n \"createdAt\": \"\",\n \"scopes\": [\n \"\",\n \"\"\n ],\n \"client\": {\n \"id\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n },\n \"createdByUser\": {\n \"id\": \"\",\n \"email\": \"\",\n \"displayName\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "1ffb66d5-e0dc-494e-8bcc-c791242bf73b", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + }, + { + "key": "workspaceId", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "4e8af0b3-bd2f-4b15-aaaa-9f35a923caa9", + "name": "Get integration by ID", + "request": { + "name": "Get integration by ID", + "description": { + "content": "Returns a single integration by its ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "5dae9f6e-1aac-44dc-92dd-7189fdd295f5", + "name": "Returned the integration.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"url\": \"\",\n \"createdAt\": \"\",\n \"scopes\": [\n \"\",\n \"\"\n ],\n \"client\": {\n \"id\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n },\n \"createdByUser\": {\n \"id\": \"\",\n \"email\": \"\",\n \"displayName\": \"\"\n }\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "b0d5ae71-88fc-4940-b3e1-d023a0c77e0c", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "fe716f11-0539-401b-abf5-3d88f6be4abb", + "name": "Integration with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "5c1a8a0d-2453-4f53-be5b-d7f78e1823a2", + "name": "Delete integration", + "request": { + "name": "Delete integration", + "description": { + "content": "Revokes the integration tokens by integration ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "auth": null + }, + "response": [ + { + "id": "688c88e4-09c2-43ae-8ca9-b792e6d1cbe3", + "name": "Revoked the integration tokens.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "No Content", + "code": 204, + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "c3ca1d3d-eb0c-4310-ad24-7d3320680900", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "e2092fa7-a928-4e04-bce0-8600593fb1d4", + "name": "Integration with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "integrations", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "b9ae17c4-1327-4102-ad27-0a5c19bfb6db", + "name": "Get list of integrations /v1/workspaces/{workspaceId}/integrations", + "request": { + "name": "Get list of integrations", + "description": { + "content": "Returns integrations for the given workspace.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "26282df8-d83f-47f9-b031-bc7fd22b3545", + "name": "Returned the integrations for the given workspace ID.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"url\": \"\",\n \"createdAt\": \"\",\n \"scopes\": [\n \"\",\n \"\"\n ],\n \"client\": {\n \"id\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n },\n \"createdByUser\": {\n \"id\": \"\",\n \"email\": \"\",\n \"displayName\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"url\": \"\",\n \"createdAt\": \"\",\n \"scopes\": [\n \"\",\n \"\"\n ],\n \"client\": {\n \"id\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n },\n \"createdByUser\": {\n \"id\": \"\",\n \"email\": \"\",\n \"displayName\": \"\"\n }\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "f9c106ba-24ae-4562-9892-202c00c1e3b1", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "6e3c8ff9-99ba-43ad-abe1-75c49d61e018", + "name": "Workspace with the given ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "6a084671-ab94-42e7-ba12-2487422ed1b1", + "name": "Revoke integration tokens", + "request": { + "name": "Revoke integration tokens", + "description": { + "content": "Revokes the integration tokens with the given client ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations", + ":clientId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "clientId", + "description": "(Required) " + }, + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "auth": null + }, + "response": [ + { + "id": "bcc082c0-bf04-475a-9300-52e9eefedaea", + "name": "Revoked the integration tokens.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations", + ":clientId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "clientId", + "description": "(Required) " + }, + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "No Content", + "code": 204, + "header": [ + { + "key": "Content-Type", + "value": "text/plain" + } + ], + "body": "", + "cookie": [], + "_postman_previewlanguage": "text" + }, + { + "id": "0f9d9094-f2b5-45c6-8e7a-60be68ceb484", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations", + ":clientId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "clientId", + "description": "(Required) " + }, + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "6e25b73a-6064-4d20-938d-9667cc434e56", + "name": "Integration with the given client ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":workspaceId", + "integrations", + ":clientId" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "clientId", + "description": "(Required) " + }, + { + "disabled": false, + "type": "any", + "value": "", + "key": "workspaceId", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "DELETE", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "b2a6b510-0fb4-45a4-ba36-0693301bcfd9", + "name": "Workspaces", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "96b084d1-fbc4-4055-a3c2-7f1a790e706f", + "name": "Get list of workspaces", + "request": { + "name": "Get list of workspaces", + "description": { + "content": "Returns the list of workspaces the current token can access.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "workspaces" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "cursor", + "value": "" + }, + { + "disabled": true, + "key": "limit", + "value": "100" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "df741ca3-1d96-4ca5-9e8a-8ef99dfb7349", + "name": "Returns the list of workspaces the current token can access.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n }\n ],\n \"pagination\": {\n \"nextCursor\": \"\",\n \"hasMore\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "db6147b5-e6b0-4de3-b931-0d78cf033531", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "cursor", + "value": "" + }, + { + "key": "limit", + "value": "100" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "49d78632-b613-4c57-87c8-58c7fb9b7d72", + "name": "Get workspace", + "request": { + "name": "Get workspace", + "description": { + "content": "Returns the workspace with the given ID.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "workspaces", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "14c1d63b-2ddf-4885-84fa-ed5ce9af8d29", + "name": "Workspace retrieved.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": {\n \"id\": \"\",\n \"type\": \"\",\n \"url\": \"\",\n \"name\": \"\",\n \"createdAt\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "ea0eeb10-d2bf-4816-bf67-28aad0f893b3", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "cbd0fcfb-463f-4cbc-a10e-d06924d445ef", + "name": "Workspace with the specified ID was not found.", + "originalRequest": { + "url": { + "path": [ + "v1", + "workspaces", + ":id" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [ + { + "disabled": false, + "type": "any", + "value": "", + "key": "id", + "description": "(Required) " + } + ] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Not Found", + "code": 404, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "c90da32f-e052-4bf6-8015-800c264c0ee8", + "name": "Regions", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "3fe178ee-efaf-499d-8d6f-df1911fc4fcd", + "name": "Get all regions", + "request": { + "name": "Get all regions", + "description": { + "content": "Returns all available regions across products. Optionally filter by product.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "regions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "disabled": true, + "key": "product", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "7a4e4b6a-3973-4e41-9ff4-663f54040f72", + "name": "Returns all available regions.", + "originalRequest": { + "url": { + "path": [ + "v1", + "regions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "product", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"name\": \"\",\n \"product\": \"\",\n \"status\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"name\": \"\",\n \"product\": \"\",\n \"status\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "32f9b588-f727-4b5a-a273-4e4530e7255d", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "regions" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [ + { + "key": "product", + "value": "" + } + ], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + }, + { + "id": "99a0b550-8896-4c24-9a39-7d2253688282", + "name": "Misc", + "description": { + "content": "", + "type": "text/plain" + }, + "item": [ + { + "id": "59b3116a-b4c9-413c-b3a9-87b67ac20bf7", + "name": "Get Prisma Postgres regions", + "request": { + "name": "Get Prisma Postgres regions", + "description": { + "content": "Returns all available regions for Prisma Postgres.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "regions", + "postgres" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "9a4fcece-cad7-4621-b4c3-0938b431604f", + "name": "Returns all available regions for Prisma Postgres.", + "originalRequest": { + "url": { + "path": [ + "v1", + "regions", + "postgres" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"name\": \"\",\n \"status\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"name\": \"\",\n \"status\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "f67515b2-27b5-4ba9-9267-98c40e2e8974", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "regions", + "postgres" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + }, + { + "id": "ff7804e9-4145-4820-ac21-f573524799fb", + "name": "Get Prisma Accelerate regions", + "request": { + "name": "Get Prisma Accelerate regions", + "description": { + "content": "Returns all available regions for Prisma Accelerate.", + "type": "text/plain" + }, + "url": { + "path": [ + "v1", + "regions", + "accelerate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "auth": null + }, + "response": [ + { + "id": "91eee66f-3238-40e5-9f06-8dfcc528e725", + "name": "Returns all available regions for Prisma Accelerate.", + "originalRequest": { + "url": { + "path": [ + "v1", + "regions", + "accelerate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "OK", + "code": 200, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"data\": [\n {\n \"id\": \"\",\n \"type\": \"\",\n \"name\": \"\"\n },\n {\n \"id\": \"\",\n \"type\": \"\",\n \"name\": \"\"\n }\n ]\n}", + "cookie": [], + "_postman_previewlanguage": "json" + }, + { + "id": "c4506165-3c54-4ec5-a4ab-9f2589861c59", + "name": "Missing or invalid authorization token.", + "originalRequest": { + "url": { + "path": [ + "v1", + "regions", + "accelerate" + ], + "host": [ + "{{baseUrl}}" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "description": { + "content": "Added as a part of security scheme: oauth2", + "type": "text/plain" + }, + "key": "Authorization", + "value": "" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "method": "GET", + "body": {} + }, + "status": "Unauthorized", + "code": 401, + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"error\": {\n \"code\": \"\",\n \"message\": \"\",\n \"hint\": \"\"\n }\n}", + "cookie": [], + "_postman_previewlanguage": "json" + } + ], + "event": [], + "protocolProfileBehavior": { + "disableBodyPruning": true + } + } + ], + "event": [] + } + ], + "event": [], + "variable": [ + { + "type": "string", + "value": "https://api.prisma.io", + "key": "baseUrl" + } + ], + "auth": { + "type": "oauth2", + "oauth2": [ + { + "key": "authUrl", + "value": "https://auth.prisma.io/authorize", + "type": "string" + }, + { + "key": "accessTokenUrl", + "value": "https://auth.prisma.io/token", + "type": "string" + }, + { + "key": "scope", + "value": "workspace:admin", + "type": "string" + }, + { + "key": "grant_type", + "value": "authorization_code", + "type": "string" + } + ] + }, + "info": { + "_postman_id": "ccedc071-f22d-4352-80eb-ede6688a1cd1", + "name": "Prisma Postgres Management API", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", + "description": { + "content": "REST API for managing Prisma Postgres projects, databases, backups, and workspaces.", + "type": "text/plain" + } + } +} \ No newline at end of file diff --git a/apps/docs/scripts/generate-docs.ts b/apps/docs/scripts/generate-docs.ts index 1c7e61f942..5fc71c872e 100644 --- a/apps/docs/scripts/generate-docs.ts +++ b/apps/docs/scripts/generate-docs.ts @@ -1,6 +1,11 @@ -import { generateFiles } from "fumadocs-openapi"; +import { generateFilesOnly } from "fumadocs-openapi"; import matter from "gray-matter"; import { openapi } from "@/lib/openapi"; +import { readdir, readFile, writeFile, rm, mkdir } from "node:fs/promises"; +import { join, resolve, dirname } from "node:path"; +import fg from "fast-glob"; + +const OUTPUT_DIR = "content/docs/management-api/endpoints"; function withDescriptionFirst(data: Record, description: string) { const { title, description: _description, ...rest } = data; @@ -14,131 +19,284 @@ function withDescriptionFirst(data: Record, description: string function stripEmoji(value: string) { return value - .replace(/[\p{Extended_Pictographic}\uFE0F]/gu, "") + .replace(/[\p{Extended_Pictographic}️]/gu, "") .replace(/\s{2,}/g, " ") .trim(); } -void generateFiles({ - input: openapi, - output: "./content/docs/management-api/endpoints", - includeDescription: true, - per: "operation", - groupBy: "tag", - name: (output, document) => { - if (output.type === "operation") { - // @ts-ignore - const operation = document.paths![output.item.path]![output.item.method]!; - - const operationId = operation.operationId || ""; - - const cleanName = operationId - .replace(/V\d+/g, "") - .replace(/([a-z])([A-Z])/g, "$1-$2") - .toLowerCase(); - - return cleanName; - } +function escapeRegExp(s: string) { + return s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); +} - return output.item.name; - }, - beforeWrite(files) { - const operationByFilePath = new Map< - string, - { - path: string; - method: string; - title: string; - description?: string; - } - >(); - - for (const entries of Object.values(this.generatedEntries)) { - for (const entry of entries) { - if (entry.type !== "operation") continue; - operationByFilePath.set(entry.path, { - path: entry.item.path, - method: entry.item.method.toUpperCase(), - title: entry.info.title, - description: entry.info.description, - }); - } - } +// Remove compact single-line redirect entries by source without touching the rest of the file. +// Returns the modified string and the count of lines actually removed. +function removeRedirectLines(raw: string, sources: Set): { result: string; removed: number } { + let removed = 0; + for (const source of sources) { + const pattern = new RegExp( + `[ \\t]*\\{ "source": "${escapeRegExp(source)}",[^\\n]+\\},?\\n?`, + "g", + ); + const next = raw.replace(pattern, ""); + if (next !== raw) removed++; + raw = next; + } + return { result: raw, removed }; +} - for (const file of files) { - const operation = operationByFilePath.get(file.path); - if (!operation) continue; +async function main() { + const cwd = process.cwd(); + const endpointsDir = resolve(cwd, OUTPUT_DIR); + const metaJsonPath = join(endpointsDir, "meta.json"); + const vercelJsonPath = resolve(cwd, "vercel.json"); - const parsed = matter(file.content); - const data = parsed.data as Record; + // Collect all existing MDX files and their URL frontmatter before generating + console.log("Scanning existing endpoint MDX files..."); + const existingMdxFiles = await fg("**/*.mdx", { cwd: endpointsDir, absolute: true }); - let changed = false; + const oldUrlToFile = new Map(); + await Promise.all( + existingMdxFiles.map(async (filePath) => { + const content = await readFile(filePath, "utf-8"); + const { data } = matter(content); + if (typeof data.url === "string") { + oldUrlToFile.set(data.url, filePath); + } + }), + ); + console.log(`Found ${oldUrlToFile.size} existing endpoint URLs`); - const openapiData = - typeof data._openapi === "object" && data._openapi !== null - ? (data._openapi as Record) - : {}; + // Track new URLs populated during beforeWrite + const newUrlToRelPath = new Map(); - if (data._openapi !== openapiData) { - data._openapi = openapiData; - changed = true; + console.log("Generating new endpoint files..."); + const generatedFiles = await generateFilesOnly({ + input: openapi, + includeDescription: true, + per: "operation", + groupBy: "tag", + name(output, document) { + if (output.type === "operation") { + // @ts-ignore + const operation = document.paths![output.item.path]![output.item.method]!; + const operationId = operation.operationId || ""; + const cleanName = operationId + .replace(/V\d+/g, "") + .replace(/([a-z])([A-Z])/g, "$1-$2") + .toLowerCase(); + return cleanName; } + return output.item.name; + }, + beforeWrite(files) { + const operationByFilePath = new Map< + string, + { + path: string; + method: string; + title: string; + description?: string; + } + >(); - if (openapiData.path !== operation.path) { - openapiData.path = operation.path; - changed = true; + for (const entries of Object.values(this.generatedEntries)) { + for (const entry of entries) { + if (entry.type !== "operation") continue; + operationByFilePath.set(entry.path, { + path: entry.item.path, + method: entry.item.method.toUpperCase(), + title: entry.info.title, + description: entry.info.description, + }); + } } - if (openapiData.method !== operation.method) { - openapiData.method = operation.method; - changed = true; - } + for (const file of files) { + const operation = operationByFilePath.get(file.path); + if (!operation) continue; - const normalizedPath = file.path - .replace(/\\/g, "/") - .replace(/\.mdx$/, "") - .replace(/^management-api\/endpoints\//, ""); - const url = `/management-api/endpoints/${normalizedPath}`; + const parsed = matter(file.content); + const data = parsed.data as Record; - if (data.url !== url) { - data.url = url; - changed = true; - } + let changed = false; - const title = - typeof data.title === "string" && data.title.trim().length > 0 - ? data.title.trim() - : operation.title; - const metaTitle = `${operation.method} ${operation.path} | ${title}`; + const openapiData = + typeof data._openapi === "object" && data._openapi !== null + ? (data._openapi as Record) + : {}; - if (data.metaTitle !== metaTitle) { - data.metaTitle = metaTitle; - changed = true; - } + if (data._openapi !== openapiData) { + data._openapi = openapiData; + changed = true; + } - const description = - typeof operation.description === "string" && operation.description.trim().length > 0 - ? stripEmoji(operation.description.trim()) - : `${operation.method} ${operation.path}.`; - const metaDescription = description.startsWith("Management API:") - ? description - : `Management API: ${description}`; - - if (data.description !== description) { - data.description = description; - changed = true; - } + if (openapiData.path !== operation.path) { + openapiData.path = operation.path; + changed = true; + } + + if (openapiData.method !== operation.method) { + openapiData.method = operation.method; + changed = true; + } + + const normalizedPath = file.path + .replace(/\\/g, "/") + .replace(/\.mdx$/, "") + .replace(/^management-api\/endpoints\//, ""); + const url = `/management-api/endpoints/${normalizedPath}`; + + // Capture new URL → relative path mapping (always, not just when changed) + newUrlToRelPath.set(url, file.path.replace(/\\/g, "/")); + + if (data.url !== url) { + data.url = url; + changed = true; + } + + const title = + typeof data.title === "string" && data.title.trim().length > 0 + ? data.title.trim() + : operation.title; + const metaTitle = `${operation.method} ${operation.path} | ${title}`; + + if (data.metaTitle !== metaTitle) { + data.metaTitle = metaTitle; + changed = true; + } + + const description = + typeof operation.description === "string" && operation.description.trim().length > 0 + ? stripEmoji(operation.description.trim()) + : `${operation.method} ${operation.path}.`; + const metaDescription = description.startsWith("Management API:") + ? description + : `Management API: ${description}`; - if (data.metaDescription !== metaDescription) { - data.metaDescription = metaDescription; - changed = true; + if (data.description !== description) { + data.description = description; + changed = true; + } + + if (data.metaDescription !== metaDescription) { + data.metaDescription = metaDescription; + changed = true; + } + + if (!changed) continue; + + file.content = matter.stringify(parsed.content, withDescriptionFirst(data, description), { + lineWidth: -1, + } as Parameters[2]); } + }, + }); + + // Exclude experimental endpoints from the published docs + const filteredFiles = generatedFiles.filter( + (f) => !f.path.replace(/\\/g, "/").startsWith("[experimental]/"), + ); + + // Write generated files to disk + await Promise.all( + filteredFiles.map(async (file) => { + const filePath = join(endpointsDir, file.path); + await mkdir(dirname(filePath), { recursive: true }); + await writeFile(filePath, file.content, "utf-8"); + console.log(`Generated: ${filePath}`); + }), + ); - if (!changed) continue; + // Detect stale MDX files (existed before but not in the new generated set) + const newAbsPaths = new Set( + filteredFiles.map((f) => join(endpointsDir, f.path.replace(/\\/g, "/"))), + ); + const staleFiles = existingMdxFiles.filter((f) => !newAbsPaths.has(f)); - file.content = matter.stringify(parsed.content, withDescriptionFirst(data, description), { - lineWidth: -1, - } as Parameters[2]); + // Sync vercel.json redirects without reformatting the file + { + const removedUrls = [...oldUrlToFile.keys()].filter((url) => !newUrlToRelPath.has(url)); + // Endpoints that were previously redirected but are now live again + const restoredSources = new Set( + [...newUrlToRelPath.keys()].map((url) => `/docs${url}`), + ); + + const toAdd = removedUrls.map((url) => { + const tag = url.split("/")[3]; + const tagStillExists = [...newUrlToRelPath.keys()].some((u) => u.split("/")[3] === tag); + const destination = tagStillExists + ? `/docs/management-api/endpoints/${tag}` + : "/docs/management-api/endpoints"; + return { source: `/docs${url}`, destination }; + }); + + let raw = await readFile(vercelJsonPath, "utf-8"); + + // Remove redirects for endpoints that are live again (restored) or that we're about to re-add + const sourcesToRemove = new Set([ + ...toAdd.map((r) => r.source), // de-dupe before re-inserting + ...[...restoredSources].filter((s) => s.includes("/management-api/endpoints/")), + ]); + const { result: cleaned, removed } = removeRedirectLines(raw, sourcesToRemove); + raw = cleaned; + if (removed > 0) console.log(`Removed ${removed} stale/restored redirects from vercel.json`); + + // Prepend new entries for removed endpoints, compact single-line format + if (toAdd.length > 0) { + const lines = toAdd + .map((r) => ` { "source": "${r.source}", "destination": "${r.destination}", "permanent": true },`) + .join("\n"); + raw = raw.replace(/("redirects"\s*:\s*\[)/, `$1\n${lines}`); + console.log(`Prepended ${toAdd.length} redirects to vercel.json`); } - }, + + if (raw !== cleaned || removed > 0) { + await writeFile(vercelJsonPath, raw, "utf-8"); + } + } + + // Delete stale MDX files + if (staleFiles.length > 0) { + console.log(`Removing ${staleFiles.length} stale MDX files...`); + await Promise.all(staleFiles.map((f) => rm(f))); + } + + // Remove empty tag directories left behind by renamed/removed tags + const dirEntries = await readdir(endpointsDir, { withFileTypes: true }); + await Promise.all( + dirEntries + .filter((d) => d.isDirectory()) + .map(async (d) => { + const dirPath = join(endpointsDir, d.name); + const files = await readdir(dirPath); + if (!files.some((f) => f.endsWith(".mdx"))) { + await rm(dirPath, { recursive: true }); + console.log(`Removed empty directory: ${d.name}`); + } + }), + ); + + // Sync endpoints/meta.json: keep existing order, append new dirs alphabetically, [experimental] last + const afterDirEntries = await readdir(endpointsDir, { withFileTypes: true }); + const currentTagDirs = new Set( + afterDirEntries.filter((d) => d.isDirectory()).map((d) => d.name), + ); + + const currentMeta = JSON.parse(await readFile(metaJsonPath, "utf-8")); + const existingPages: string[] = currentMeta.pages ?? []; + + const kept = existingPages.filter((p) => currentTagDirs.has(p) && p !== "[experimental]"); + const added = [...currentTagDirs] + .filter((d) => !existingPages.includes(d) && d !== "[experimental]") + .sort(); + const experimental = currentTagDirs.has("[experimental]") ? ["[experimental]"] : []; + + currentMeta.pages = [...kept, ...added, ...experimental]; + await writeFile(metaJsonPath, JSON.stringify(currentMeta, null, 2) + "\n", "utf-8"); + console.log(`Updated meta.json pages: ${currentMeta.pages.join(", ")}`); +} + +main().catch((err) => { + console.error("Generation failed:", err); + process.exit(1); }); diff --git a/apps/docs/scripts/generate-postman-collection.ts b/apps/docs/scripts/generate-postman-collection.ts new file mode 100644 index 0000000000..3c7f4edf7b --- /dev/null +++ b/apps/docs/scripts/generate-postman-collection.ts @@ -0,0 +1,114 @@ +import { readFile, writeFile } from "node:fs/promises"; +import { join } from "node:path"; +import { createRequire } from "node:module"; + +// openapi-to-postmanv2 is a CommonJS package; load it via createRequire in this ESM context +// @ts-ignore +const require = createRequire(import.meta.url); + +// eslint-disable-next-line @typescript-eslint/no-require-imports +const Converter = require("openapi-to-postmanv2") as { + convert: ( + input: { type: "json"; data: unknown }, + options: Record, + cb: (err: Error | null, result: { result: boolean; reason?: string; output: Array<{ data: Record }> }) => void, + ) => void; +}; + +async function main() { + const cwd = process.cwd(); + + const cachePath = join(cwd, "cache/openapi.json"); + let spec: unknown; + try { + spec = JSON.parse(await readFile(cachePath, "utf-8")); + } catch { + console.error("Failed to read cache/openapi.json — run `pnpm fetch-openapi` first"); + process.exit(1); + } + + console.log("Converting OpenAPI spec to Postman Collection v2.1..."); + + const collection = await new Promise>((resolve, reject) => { + Converter.convert( + { type: "json", data: spec }, + { + optimizeConversion: false, + requestNameSource: "Fallback", + exampleParametersResolution: "Schema", + folderStrategy: "Tags", + }, + (err, result) => { + if (err) return reject(err); + if (!result.result) return reject(new Error(`Conversion failed: ${result.reason}`)); + resolve(result.output[0].data); + }, + ); + }); + + // Drop the experimental folder entirely + (collection.item as { name?: string }[]) = (collection.item as { name?: string }[]).filter( + (f) => f.name !== "[Experimental]", + ); + + type UrlObj = { raw?: string; path?: string[]; query?: { disabled?: boolean }[] }; + type CollectionItem = { + name?: string; + item?: CollectionItem[]; + request?: { method?: string; url?: UrlObj }; + }; + + // Within each folder, find requests that share a name and append their path to disambiguate. + function deduplicateNames(items: CollectionItem[]) { + for (const item of items) { + if (!item.item) continue; + deduplicateNames(item.item); + + const nameCounts = new Map(); + for (const r of item.item) { + if (r.name) nameCounts.set(r.name, (nameCounts.get(r.name) ?? 0) + 1); + } + + for (const r of item.item) { + if (!r.name || (nameCounts.get(r.name) ?? 0) <= 1) continue; + const path = r.request?.url?.path ?? []; + const pathStr = "/" + path.map((s) => (s.startsWith(":") ? `{${s.slice(1)}}` : s)).join("/"); + r.name = `${r.name} ${pathStr}`; + } + } + } + deduplicateNames((collection.item as CollectionItem[]) ?? []); + + // Disable all query params by default so they're visible but unchecked. + // Users can enable them individually in their API client. + function disableQueryParams(items: CollectionItem[]) { + for (const item of items) { + if (item.item) disableQueryParams(item.item); + const query = item.request?.url?.query; + if (Array.isArray(query)) { + for (const param of query) param.disabled = true; + } + } + } + disableQueryParams((collection.item as CollectionItem[]) ?? []); + + // Pre-configure OAuth2 auth on the collection so importers get it for free + collection.auth = { + type: "oauth2", + oauth2: [ + { key: "authUrl", value: "https://auth.prisma.io/authorize", type: "string" }, + { key: "accessTokenUrl", value: "https://auth.prisma.io/token", type: "string" }, + { key: "scope", value: "workspace:admin", type: "string" }, + { key: "grant_type", value: "authorization_code", type: "string" }, + ], + }; + + const outputPath = join(cwd, "public/prisma-management-api.postman_collection.json"); + await writeFile(outputPath, JSON.stringify(collection, null, 2), "utf-8"); + console.log(`Generated Postman collection: ${outputPath}`); +} + +main().catch((err) => { + console.error("Failed to generate Postman collection:", err); + process.exit(1); +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e3d9768c27..217a3b29ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -242,7 +242,7 @@ importers: version: 1.3.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@fumadocs/base-ui': specifier: 'catalog:' - version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) + version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) '@fumadocs/cli': specifier: 'catalog:' version: 1.3.4(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) @@ -260,16 +260,16 @@ importers: version: 2.8.6 fumadocs-core: specifier: 'catalog:' - version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) fumadocs-mdx: specifier: 'catalog:' - version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) + version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) fumadocs-openapi: specifier: 'catalog:' - version: 10.3.17(35ac6ed76a0a0af52e89afd8526c5f89) + version: 10.3.17(9de11f01189fd90426a917361984bfb1) fumadocs-ui: specifier: 'catalog:' - version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' + version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' lucide-react: specifier: 'catalog:' version: 0.575.0(react@19.2.4) @@ -339,7 +339,7 @@ importers: version: 1.3.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@fumadocs/base-ui': specifier: 'catalog:' - version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) + version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) '@fumadocs/cli': specifier: 'catalog:' version: 1.3.4(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) @@ -375,16 +375,16 @@ importers: version: 4.4.0(dexie@4.4.2)(react@19.2.4) fumadocs-core: specifier: 'catalog:' - version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) fumadocs-mdx: specifier: 'catalog:' - version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) + version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) fumadocs-openapi: specifier: 'catalog:' - version: 10.3.17(35ac6ed76a0a0af52e89afd8526c5f89) + version: 10.3.17(9de11f01189fd90426a917361984bfb1) fumadocs-ui: specifier: 'catalog:' - version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' + version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' jotai: specifier: 'catalog:' version: 2.19.0(@babel/core@7.29.0)(@babel/template@7.28.6)(@types/react@19.2.14)(react@19.2.4) @@ -470,6 +470,9 @@ importers: next-validate-link: specifier: 'catalog:' version: 1.6.4 + openapi-to-postmanv2: + specifier: ^6.0.1 + version: 6.0.1 postcss: specifier: 'catalog:' version: 8.5.8 @@ -499,7 +502,7 @@ importers: version: 1.3.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@fumadocs/base-ui': specifier: 'catalog:' - version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) + version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) '@fumadocs/cli': specifier: 'catalog:' version: 1.3.4(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1) @@ -514,13 +517,13 @@ importers: version: 0.7.1 fumadocs-core: specifier: 'catalog:' - version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) fumadocs-mdx: specifier: 'catalog:' - version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) + version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) fumadocs-ui: specifier: 'catalog:' - version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' + version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' lucide-react: specifier: 'catalog:' version: 0.575.0(react@19.2.4) @@ -596,7 +599,7 @@ importers: version: 1.3.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@fumadocs/base-ui': specifier: 'catalog:' - version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) + version: 16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2) '@mixedbread/sdk': specifier: 'catalog:' version: 0.46.0 @@ -614,13 +617,13 @@ importers: version: 2.8.6 fumadocs-core: specifier: 'catalog:' - version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + version: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) fumadocs-mdx: specifier: 'catalog:' - version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) + version: 14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4) fumadocs-ui: specifier: 'catalog:' - version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' + version: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' html-react-parser: specifier: ^5.2.17 version: 5.2.17(@types/react@19.2.14)(react@19.2.4) @@ -1421,6 +1424,13 @@ packages: cpu: [x64] os: [win32] + '@exodus/schemasafe@1.3.0': + resolution: {integrity: sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==} + + '@faker-js/faker@5.5.3': + resolution: {integrity: sha512-R11tGE6yIFwqpaIqcfkcg7AICXzFg14+5h5v0TfF/9+RMDL6jhzCy/pxHVOfbALGdtVYdt6JdR21tuxEgl34dw==} + deprecated: Please update to a newer version. + '@fastify/otel@0.18.0': resolution: {integrity: sha512-3TASCATfw+ctICSb4ymrv7iCm0qJ0N9CarB+CZ7zIJ7KqNbwI5JjyDL1/sxoC0ccTO1Zyd1iQ+oqncPg5FJXaA==} peerDependencies: @@ -4031,6 +4041,14 @@ packages: resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} engines: {node: '>= 6.0.0'} + ajv-draft-04@1.0.0: + resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} + peerDependencies: + ajv: ^8.5.0 + peerDependenciesMeta: + ajv: + optional: true + ajv-formats@2.1.1: resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} peerDependencies: @@ -4047,10 +4065,18 @@ packages: ajv@8.18.0: resolution: {integrity: sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==} + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + ansi-regex@6.2.2: resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==} engines: {node: '>=12'} + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + ansis@4.2.0: resolution: {integrity: sha512-HqZ5rWlFjGiV0tDm3UxxgNRqsOTniqoKZu0pIAfh7TZQMGuZK+hH0drySty0si0QXj1ieop4+SkSfPZBPPkHig==} engines: {node: '>=14'} @@ -4076,6 +4102,9 @@ packages: resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==} hasBin: true + async@3.2.6: + resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} + babel-plugin-react-compiler@1.0.0: resolution: {integrity: sha512-Ixm8tFfoKKIPYdCCKYTsqv+Fd4IJ0DQqMyEimo+pxUOMUR9cVPlwTrFt9Avu+3cb6Zp3mAzl+t1MrG2fxxKsxw==} @@ -4120,6 +4149,9 @@ packages: resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} engines: {node: '>=8'} + call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==} + callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -4150,6 +4182,10 @@ packages: character-reference-invalid@2.0.1: resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==} + charset@1.0.1: + resolution: {integrity: sha512-6dVyOOYjpfFcL1Y4qChrAoQLRHvj2ziyhcm0QJlhOcAhykL/k1kTUPbeo+87MNRTRdk2OIIsIXbuF3x2wi5EXg==} + engines: {node: '>=4.0.0'} + chevrotain-allstar@0.3.1: resolution: {integrity: sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==} peerDependencies: @@ -4179,6 +4215,10 @@ packages: client-only@0.0.1: resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + clsx@2.1.1: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} @@ -4186,6 +4226,13 @@ packages: collapse-white-space@2.1.0: resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} @@ -4211,6 +4258,12 @@ packages: commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + compute-gcd@1.2.1: + resolution: {integrity: sha512-TwMbxBNz0l71+8Sc4czv13h4kEqnchV9igQZBi6QUaz09dnz13juGnnaWWJTRsP3brxOoxeB4SA2WELLw1hCtg==} + + compute-lcm@1.1.2: + resolution: {integrity: sha512-OFNPdQAXnQhDSKioX8/XYT6sdUlXwpeMjfd6ApxMJfyZ4GxmLR1xvMERctlYhlHwIiz6CSpBc2+qYKjHGZw4TQ==} + compute-scroll-into-view@3.1.1: resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==} @@ -4528,6 +4581,9 @@ packages: electron-to-chromium@1.5.330: resolution: {integrity: sha512-jFNydB5kFtYUobh4IkWUnXeyDbjf/r9gcUEXe1xcrcUxIGfTdzPXA+ld6zBRbwvgIGVzDll/LTIiDztEtckSnA==} + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + empathic@2.0.0: resolution: {integrity: sha512-i6UzDscO/XfAcNYD75CfICkmfLedpyPDdozrLMmQc5ORaQcdMoc21OnlEylMIqI7U8eniKrPMxxtj8k0vhmJhA==} engines: {node: '>=14'} @@ -4558,6 +4614,9 @@ packages: es-toolkit@1.45.1: resolution: {integrity: sha512-/jhoOj/Fx+A+IIyDNOvO3TItGmlMKhtX8ISAHKE90c4b/k1tqaqEZ+uUqfpU8DMnW5cgNJv606zS55jGvza0Xw==} + es6-promise@3.3.1: + resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} + esast-util-from-estree@2.0.0: resolution: {integrity: sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==} @@ -4656,6 +4715,9 @@ packages: fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + fast-safe-stringify@2.1.1: + resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} + fast-string-truncated-width@1.2.1: resolution: {integrity: sha512-Q9acT/+Uu3GwGj+5w/zsGuQjh9O1TyywhIwAxHudtWrgF09nHOPrvTLhQevPbttcxjr/SNN7mJmfOw/B1bXgow==} @@ -4697,6 +4759,10 @@ packages: fflate@0.8.2: resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + file-type@3.9.0: + resolution: {integrity: sha512-RLoqTXE8/vPmMuTI88DAzhMYC99I8BWv7zYP4A1puo5HIjEJ5EX48ighy4ZyKMG9EDXxBgW6e++cn7d1xuFghA==} + engines: {node: '>=0.10.0'} + fill-range@7.1.1: resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} engines: {node: '>=8'} @@ -4865,6 +4931,10 @@ packages: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + get-nonce@1.0.1: resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} engines: {node: '>=6'} @@ -4896,6 +4966,9 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + graphlib@2.1.8: + resolution: {integrity: sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==} + gray-matter@4.0.3: resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==} engines: {node: '>=6.0'} @@ -4964,6 +5037,12 @@ packages: htmlparser2@10.1.0: resolution: {integrity: sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ==} + http-reasons@0.1.0: + resolution: {integrity: sha512-P6kYh0lKZ+y29T2Gqz+RlC9WBLhKe8kDmcJ+A+611jFfxdPsbMRQ5aNmFRM3lENqFkK+HTTL+tlQviAiv0AbLQ==} + + http2-client@1.3.5: + resolution: {integrity: sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==} + https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} @@ -5035,6 +5114,10 @@ packages: resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} engines: {node: '>=0.10.0'} + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -5102,6 +5185,10 @@ packages: resolution: {integrity: sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==} hasBin: true + js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + js-yaml@4.1.1: resolution: {integrity: sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==} hasBin: true @@ -5117,6 +5204,13 @@ packages: json-pointer@0.6.2: resolution: {integrity: sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==} + json-schema-compare@0.2.2: + resolution: {integrity: sha512-c4WYmDKyJXhs7WWvAWm3uIYnfyWFoIp+JEoX34rctVvEkMYCPGhXtvmFFXiffBbxfZsvQ0RNnV5H7GvDF5HCqQ==} + + json-schema-merge-allof@0.8.1: + resolution: {integrity: sha512-CTUKmIlPJbsWfzRRnOXz+0MjIqvnleIXwFTzz+t9T86HnYX/Rozria6ZVGLktAU9e+NygNljveP+yxqtQp/Q4w==} + engines: {node: '>=12.0.0'} + json-schema-traverse@1.0.0: resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} @@ -5220,6 +5314,10 @@ packages: resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==} engines: {node: '>= 12.0.0'} + liquid-json@0.3.1: + resolution: {integrity: sha512-wUayTU8MS827Dam6MxgD72Ui+KOSF+u/eIqpatOtjnvgJ0+mnDq33uC2M7J0tPK+upe/DpUAuK4JUU89iBoNKQ==} + engines: {node: '>=4'} + loader-runner@4.3.1: resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==} engines: {node: '>=6.11.5'} @@ -5234,6 +5332,12 @@ packages: lodash.clonedeep@4.5.0: resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==} + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + lodash@4.17.23: + resolution: {integrity: sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==} + long@5.3.2: resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==} @@ -5470,6 +5574,9 @@ packages: resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} engines: {node: '>= 0.6'} + mime-format@2.0.2: + resolution: {integrity: sha512-Y5ERWVcyh3sby9Fx2U5F1yatiTFjNsqF5NltihTWI9QgNtr5o3dbCZdcKa1l2wyfhnwwoP9HGNxga7LqZLA6gw==} + mime-types@2.1.35: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} @@ -5478,6 +5585,11 @@ packages: resolution: {integrity: sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==} engines: {node: '>=18'} + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} + hasBin: true + minimatch@10.2.5: resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} engines: {node: 18 || 20 || >=22} @@ -5547,6 +5659,10 @@ packages: neo-async@2.6.2: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + neotraverse@0.6.15: + resolution: {integrity: sha512-HZpdkco+JeXq0G+WWpMJ4NsX3pqb5O7eR9uGz3FfoFt+LYzU8iRWp49nJtud6hsDoywM8tIrDo3gjgmOqJA8LA==} + engines: {node: '>= 10'} + next-themes@0.4.6: resolution: {integrity: sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==} peerDependencies: @@ -5577,6 +5693,10 @@ packages: sass: optional: true + node-fetch-h2@2.3.0: + resolution: {integrity: sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==} + engines: {node: 4.x || >=6.0.0} + node-fetch@2.7.0: resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} @@ -5586,6 +5706,9 @@ packages: encoding: optional: true + node-readfiles@0.2.0: + resolution: {integrity: sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==} + node-releases@2.0.36: resolution: {integrity: sha512-TdC8FSgHz8Mwtw9g5L4gR/Sh9XhSP/0DEkQxfEFXOpiul5IiHgHan2VhYYb6agDSfp4KuvltmGApc8HMgUrIkA==} @@ -5593,10 +5716,34 @@ packages: resolution: {integrity: sha512-tt6PvKu4WyzPwWUzy/hvPFqn+uwXO0K1ZHka8az3NnrhWJDmSqI8ncWq0fkL0k/lmmi5tAC11FXwXuh0rFbt1A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + oas-kit-common@1.0.8: + resolution: {integrity: sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==} + + oas-linter@3.2.2: + resolution: {integrity: sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==} + + oas-resolver-browser@2.5.6: + resolution: {integrity: sha512-Jw5elT/kwUJrnGaVuRWe1D7hmnYWB8rfDDjBnpQ+RYY/dzAewGXeTexXzt4fGEo6PUE4eqKqPWF79MZxxvMppA==} + hasBin: true + + oas-resolver@2.5.6: + resolution: {integrity: sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==} + hasBin: true + + oas-schema-walker@1.1.5: + resolution: {integrity: sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==} + + oas-validator@5.0.8: + resolution: {integrity: sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==} + object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} + object-hash@3.0.0: + resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} + engines: {node: '>= 6'} + obug@2.1.1: resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==} @@ -5612,6 +5759,14 @@ packages: openapi-sampler@1.7.2: resolution: {integrity: sha512-OKytvqB5XIaTgA9xtw8W8UTar+uymW2xPVpFN0NihMtuHPdPTGxBEhGnfFnJW5g/gOSIvkP+H0Xh3XhVI9/n7g==} + openapi-to-postmanv2@6.0.1: + resolution: {integrity: sha512-zAjaTwXo07az6jjvZTw4d26QMQsFxZBxTqjj3LQQMDCCuO6+peATQc9bSmAq3QbzvikP+h2WEjTphMcIrcSurg==} + engines: {node: '>=18'} + hasBin: true + + openapi-types@12.1.3: + resolution: {integrity: sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==} + openapi-typescript-helpers@0.1.0: resolution: {integrity: sha512-OKTGPthhivLw/fHz6c3OPtg72vi86qaMlqbJuVJ23qOvQ+53uw1n7HdmkJFibloF7QEjDrDkzJiOJuockM/ljw==} @@ -5665,6 +5820,9 @@ packages: parse5@7.3.0: resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==} + path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + path-data-parser@0.1.0: resolution: {integrity: sha512-NOnmBpt5Y2RWbuv0LMzsayp3lVylAHLPUTut412ZA3l+C4uw4ZVkQbjShYCQ8TCpUMdPapr4YjUqLYD6v68j+w==} @@ -5762,6 +5920,14 @@ packages: posthog-js@1.364.4: resolution: {integrity: sha512-T71zr06gH5YcrjS7c+sdzqfZKMxqqXC/a0w++zMQIPbL1ejvF9PdfUi0Kyd6Sy78Ocbb2smobdzBh8vXLwC+lQ==} + postman-collection@5.3.0: + resolution: {integrity: sha512-PMa5vRheqDFfS1bkRg8WBidWxunRA80sT5YNLP27YC5+ycyfiLMCwPnqQd1zfvxkGk04Pr9UronWmmgsbpsVyQ==} + engines: {node: '>=18'} + + postman-url-encoder@3.0.8: + resolution: {integrity: sha512-EOgUMBazo7JNP4TDrd64TsooCiWzzo4143Ws8E8WYGEpn2PKpq+S4XRTDhuRTYHm3VKOpUZs7ZYZq7zSDuesqA==} + engines: {node: '>=10'} + preact@10.29.0: resolution: {integrity: sha512-wSAGyk2bYR1c7t3SZ3jHcM6xy0lcBcDel6lODcs9ME6Th++Dx2KU+6D3HD8wMMKGA8Wpw7OMd3/4RGzYRpzwRg==} @@ -5782,6 +5948,10 @@ packages: proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + quansync@1.0.0: resolution: {integrity: sha512-5xZacEEufv3HSTPQuchrvV6soaiACMFnq1H8wkVioctoH3TRha9Sz66lOxRwPK/qZj7HPiSveih9yAyh98gvqA==} @@ -5929,6 +6099,9 @@ packages: redux@5.0.1: resolution: {integrity: sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==} + reftools@1.1.9: + resolution: {integrity: sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==} + regex-recursion@6.0.2: resolution: {integrity: sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==} @@ -5974,6 +6147,10 @@ packages: remend@1.3.0: resolution: {integrity: sha512-iIhggPkhW3hFImKtB10w0dz4EZbs28mV/dmbcYVonWEJ6UGHHpP+bFZnTh6GNWJONg5m+U56JrL+8IxZRdgWjw==} + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + require-from-string@2.0.2: resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} engines: {node: '>=0.10.0'} @@ -6076,6 +6253,11 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true + semver@7.7.1: + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} + hasBin: true + semver@7.7.4: resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} engines: {node: '>=10'} @@ -6097,6 +6279,24 @@ packages: resolution: {integrity: sha512-eAVKTMedR5ckPo4xne/PjYQYrU3qx78gtJZ+sHlXEg5IHhhoQhMfZVzetTYuaJS0L2Ef3AcCRzCHV8T0WI6nIQ==} engines: {node: '>=20'} + should-equal@2.0.0: + resolution: {integrity: sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==} + + should-format@3.0.3: + resolution: {integrity: sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==} + + should-type-adaptors@1.1.0: + resolution: {integrity: sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==} + + should-type@1.4.0: + resolution: {integrity: sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==} + + should-util@1.0.1: + resolution: {integrity: sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==} + + should@13.2.3: + resolution: {integrity: sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==} + sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -6135,9 +6335,17 @@ packages: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + stringify-entities@4.0.4: resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + strip-bom-string@1.0.0: resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} engines: {node: '>=0.10.0'} @@ -6176,6 +6384,10 @@ packages: peerDependencies: react: '>=17.0' + swagger2openapi@7.0.8: + resolution: {integrity: sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==} + hasBin: true + swr@2.4.1: resolution: {integrity: sha512-2CC6CiKQtEwaEeNiqWTAw9PGykW8SR5zZX8MZk6TeAvEAnVS7Visz8WzphqgtQ8v2xz/4Q5K+j+SeMaKXeeQIA==} peerDependencies: @@ -6400,10 +6612,30 @@ packages: resolution: {integrity: sha512-0/A9rDy9P7cJ+8w1c9WD9V//9Wj15Ce2MPz8Ri6032usz+NfePxx5AcN3bN+r6ZL6jEo066/yNYB3tn4pQEx+A==} hasBin: true + uuid@8.3.2: + resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} + deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028). + hasBin: true + uuid@9.0.1: resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} hasBin: true + validate.io-array@1.0.6: + resolution: {integrity: sha512-DeOy7CnPEziggrOO5CZhVKJw6S3Yi7e9e65R1Nl/RTN1vTQKnzjfvks0/8kQ40FP/dsjRAOd4hxmJ7uLa6vxkg==} + + validate.io-function@1.0.2: + resolution: {integrity: sha512-LlFybRJEriSuBnUhQyG5bwglhh50EpTL2ul23MPIuR1odjO7XaMLFV8vHGwp7AZciFxtYOeiSCT5st+XSPONiQ==} + + validate.io-integer-array@1.0.0: + resolution: {integrity: sha512-mTrMk/1ytQHtCY0oNO3dztafHYyGU88KL+jRxWuzfOmQb+4qqnWmI+gykvGp8usKZOM0H7keJHEbRaFiYA0VrA==} + + validate.io-integer@1.0.5: + resolution: {integrity: sha512-22izsYSLojN/P6bppBqhgUDjCkr5RY2jd+N2a3DCAUey8ydvrZ/OkGvFPR7qfOpwR2LC5p4Ngzxz36g5Vgr/hQ==} + + validate.io-number@1.0.3: + resolution: {integrity: sha512-kRAyotcbNaSYoDnXvb4MHg/0a1egJdLwS6oJ38TJY7aw9n93Fl/3blIXdyYvPOp55CNxywooG/3BcrwNrBpcSg==} + vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -6481,6 +6713,10 @@ packages: engines: {node: '>= 8'} hasBin: true + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + xdg-basedir@5.1.0: resolution: {integrity: sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==} engines: {node: '>=12'} @@ -6493,9 +6729,17 @@ packages: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + yaml@1.10.2: + resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} + engines: {node: '>= 6'} + yaml@2.8.3: resolution: {integrity: sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==} engines: {node: '>= 14.6'} @@ -6505,6 +6749,14 @@ packages: resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} engines: {node: '>=10'} + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -7073,6 +7325,10 @@ snapshots: '@esbuild/win32-x64@0.27.4': optional: true + '@exodus/schemasafe@1.3.0': {} + + '@faker-js/faker@5.5.3': {} + '@fastify/otel@0.18.0(@opentelemetry/api@1.9.1)': dependencies: '@opentelemetry/api': 1.9.1 @@ -7118,12 +7374,12 @@ snapshots: dependencies: '@formatjs/fast-memoize': 3.1.1 - '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)': + '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)': dependencies: '@base-ui/react': 1.3.0(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) '@fumadocs/tailwind': 0.0.2(tailwindcss@4.2.2) class-variance-authority: 0.7.1 - fumadocs-core: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + fumadocs-core: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) lucide-react: 0.570.0(react@19.2.4) motion: 12.38.0(react-dom@19.2.4(react@19.2.4))(react@19.2.4) next-themes: 0.4.6(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -9429,6 +9685,10 @@ snapshots: transitivePeerDependencies: - supports-color + ajv-draft-04@1.0.0(ajv@8.18.0): + optionalDependencies: + ajv: 8.18.0 + ajv-formats@2.1.1(ajv@8.18.0): optionalDependencies: ajv: 8.18.0 @@ -9445,8 +9705,14 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 + ansi-regex@5.0.1: {} + ansi-regex@6.2.2: {} + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + ansis@4.2.0: {} argparse@1.0.10: @@ -9469,6 +9735,8 @@ snapshots: astring@1.9.0: {} + async@3.2.6: {} + babel-plugin-react-compiler@1.0.0: dependencies: '@babel/types': 7.29.0 @@ -9508,6 +9776,8 @@ snapshots: cac@6.7.14: {} + call-me-maybe@1.0.2: {} + callsites@3.1.0: {} caniuse-lite@1.0.30001784: {} @@ -9528,6 +9798,8 @@ snapshots: character-reference-invalid@2.0.1: {} + charset@1.0.1: {} + chevrotain-allstar@0.3.1(chevrotain@11.1.2): dependencies: chevrotain: 11.1.2 @@ -9561,10 +9833,22 @@ snapshots: client-only@0.0.1: {} + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + clsx@2.1.1: {} collapse-white-space@2.1.0: {} + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.4: {} + comma-separated-tokens@2.0.3: {} commander@14.0.3: {} @@ -9582,6 +9866,19 @@ snapshots: commondir@1.0.1: {} + compute-gcd@1.2.1: + dependencies: + validate.io-array: 1.0.6 + validate.io-function: 1.0.2 + validate.io-integer-array: 1.0.0 + + compute-lcm@1.1.2: + dependencies: + compute-gcd: 1.2.1 + validate.io-array: 1.0.6 + validate.io-function: 1.0.2 + validate.io-integer-array: 1.0.0 + compute-scroll-into-view@3.1.1: {} confbox@0.1.8: {} @@ -9960,6 +10257,8 @@ snapshots: electron-to-chromium@1.5.330: {} + emoji-regex@8.0.0: {} + empathic@2.0.0: {} enhanced-resolve@5.20.1: @@ -9981,6 +10280,8 @@ snapshots: es-toolkit@1.45.1: {} + es6-promise@3.3.1: {} + esast-util-from-estree@2.0.0: dependencies: '@types/estree-jsx': 1.0.5 @@ -10111,6 +10412,8 @@ snapshots: fast-json-stable-stringify@2.1.0: {} + fast-safe-stringify@2.1.1: {} + fast-string-truncated-width@1.2.1: {} fast-string-width@1.1.0: @@ -10149,6 +10452,8 @@ snapshots: fflate@0.8.2: {} + file-type@3.9.0: {} + fill-range@7.1.1: dependencies: to-regex-range: 5.0.1 @@ -10188,7 +10493,7 @@ snapshots: fsevents@2.3.3: optional: true - fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6): + fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6): dependencies: '@formatjs/intl-localematcher': 0.8.2 '@orama/orama': 3.1.18 @@ -10228,14 +10533,14 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-mdx@14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4): + fumadocs-mdx@14.2.9(@types/mdast@4.0.4)(@types/mdx@2.0.13)(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(mdast-util-directive@3.1.0)(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react@19.2.4): dependencies: '@mdx-js/mdx': 3.1.1 '@standard-schema/spec': 1.1.0 chokidar: 5.0.0 esbuild: 0.27.4 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + fumadocs-core: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) js-yaml: 4.1.1 mdast-util-mdx: 3.0.0 mdast-util-to-markdown: 2.1.2 @@ -10258,7 +10563,7 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-openapi@10.3.17(35ac6ed76a0a0af52e89afd8526c5f89): + fumadocs-openapi@10.3.17(9de11f01189fd90426a917361984bfb1): dependencies: '@fumari/json-schema-ts': 0.0.2 '@fumari/stf': 1.0.3(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -10271,8 +10576,8 @@ snapshots: ajv: 8.18.0 class-variance-authority: 0.7.1 dereference-json-schema: 0.2.2 - fumadocs-core: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) - fumadocs-ui: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@babel/core@7.29.0)(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' + fumadocs-core: 16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6) + fumadocs-ui: '@fumadocs/base-ui@16.6.3(@types/react@19.2.14)(fumadocs-core@16.6.3(@mdx-js/mdx@3.1.1)(@mixedbread/sdk@0.46.0)(@types/estree-jsx@1.0.5)(@types/hast@3.0.4)(@types/mdast@4.0.4)(@types/react@19.2.14)(lucide-react@0.575.0(react@19.2.4))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(zod@4.3.6))(next@16.1.6(@opentelemetry/api@1.9.1)(@playwright/test@1.59.0)(babel-plugin-react-compiler@1.0.0)(react-dom@19.2.4(react@19.2.4))(react@19.2.4))(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(tailwindcss@4.2.2)' github-slugger: 2.0.0 hast-util-to-jsx-runtime: 2.3.6 js-yaml: 4.1.1 @@ -10296,6 +10601,8 @@ snapshots: gensync@1.0.0-beta.2: {} + get-caller-file@2.0.5: {} + get-nonce@1.0.1: {} get-tsconfig@4.13.7: @@ -10324,6 +10631,10 @@ snapshots: graceful-fs@4.2.11: {} + graphlib@2.1.8: + dependencies: + lodash: 4.17.21 + gray-matter@4.0.3: dependencies: js-yaml: 3.14.2 @@ -10481,6 +10792,10 @@ snapshots: domutils: 3.2.2 entities: 7.0.1 + http-reasons@0.1.0: {} + + http2-client@1.3.5: {} + https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 @@ -10544,6 +10859,8 @@ snapshots: is-extglob@2.1.1: {} + is-fullwidth-code-point@3.0.0: {} + is-glob@4.0.3: dependencies: is-extglob: 2.1.1 @@ -10593,6 +10910,10 @@ snapshots: argparse: 1.0.10 esprima: 4.0.1 + js-yaml@4.1.0: + dependencies: + argparse: 2.0.1 + js-yaml@4.1.1: dependencies: argparse: 2.0.1 @@ -10605,6 +10926,16 @@ snapshots: dependencies: foreach: 2.0.6 + json-schema-compare@0.2.2: + dependencies: + lodash: 4.17.21 + + json-schema-merge-allof@0.8.1: + dependencies: + compute-lcm: 1.1.2 + json-schema-compare: 0.2.2 + lodash: 4.17.21 + json-schema-traverse@1.0.0: {} json5@2.2.3: {} @@ -10678,6 +11009,8 @@ snapshots: lightningcss-win32-arm64-msvc: 1.32.0 lightningcss-win32-x64-msvc: 1.32.0 + liquid-json@0.3.1: {} + loader-runner@4.3.1: {} locate-path@6.0.0: @@ -10688,6 +11021,10 @@ snapshots: lodash.clonedeep@4.5.0: {} + lodash@4.17.21: {} + + lodash@4.17.23: {} + long@5.3.2: {} longest-streak@3.1.0: {} @@ -11216,6 +11553,10 @@ snapshots: mime-db@1.54.0: {} + mime-format@2.0.2: + dependencies: + charset: 1.0.1 + mime-types@2.1.35: dependencies: mime-db: 1.52.0 @@ -11224,6 +11565,8 @@ snapshots: dependencies: mime-db: 1.54.0 + mime@3.0.0: {} + minimatch@10.2.5: dependencies: brace-expansion: 5.0.5 @@ -11275,6 +11618,8 @@ snapshots: neo-async@2.6.2: {} + neotraverse@0.6.15: {} + next-themes@0.4.6(react-dom@19.2.4(react@19.2.4))(react@19.2.4): dependencies: react: 19.2.4 @@ -11319,16 +11664,66 @@ snapshots: - '@babel/core' - babel-plugin-macros + node-fetch-h2@2.3.0: + dependencies: + http2-client: 1.3.5 + node-fetch@2.7.0: dependencies: whatwg-url: 5.0.0 + node-readfiles@0.2.0: + dependencies: + es6-promise: 3.3.1 + node-releases@2.0.36: {} npm-to-yarn@3.0.1: {} + oas-kit-common@1.0.8: + dependencies: + fast-safe-stringify: 2.1.1 + + oas-linter@3.2.2: + dependencies: + '@exodus/schemasafe': 1.3.0 + should: 13.2.3 + yaml: 1.10.2 + + oas-resolver-browser@2.5.6: + dependencies: + node-fetch-h2: 2.3.0 + oas-kit-common: 1.0.8 + path-browserify: 1.0.1 + reftools: 1.1.9 + yaml: 1.10.2 + yargs: 17.7.2 + + oas-resolver@2.5.6: + dependencies: + node-fetch-h2: 2.3.0 + oas-kit-common: 1.0.8 + reftools: 1.1.9 + yaml: 1.10.2 + yargs: 17.7.2 + + oas-schema-walker@1.1.5: {} + + oas-validator@5.0.8: + dependencies: + call-me-maybe: 1.0.2 + oas-kit-common: 1.0.8 + oas-linter: 3.2.2 + oas-resolver: 2.5.6 + oas-schema-walker: 1.1.5 + reftools: 1.1.9 + should: 13.2.3 + yaml: 1.10.2 + object-assign@4.1.1: {} + object-hash@3.0.0: {} + obug@2.1.1: {} oniguruma-parser@0.12.1: {} @@ -11349,6 +11744,31 @@ snapshots: fast-xml-parser: 5.5.9 json-pointer: 0.6.2 + openapi-to-postmanv2@6.0.1: + dependencies: + ajv: 8.18.0 + ajv-draft-04: 1.0.0(ajv@8.18.0) + ajv-formats: 2.1.1(ajv@8.18.0) + async: 3.2.6 + commander: 2.20.3 + graphlib: 2.1.8 + js-yaml: 4.1.0 + json-pointer: 0.6.2 + json-schema-merge-allof: 0.8.1 + lodash: 4.17.21 + neotraverse: 0.6.15 + oas-resolver-browser: 2.5.6 + object-hash: 3.0.0 + openapi-types: 12.1.3 + path-browserify: 1.0.1 + postman-collection: 5.3.0 + swagger2openapi: 7.0.8 + yaml: 1.10.2 + transitivePeerDependencies: + - encoding + + openapi-types@12.1.3: {} + openapi-typescript-helpers@0.1.0: {} oxc-parser@0.121.0(@emnapi/core@1.9.1)(@emnapi/runtime@1.9.1): @@ -11485,6 +11905,8 @@ snapshots: dependencies: entities: 6.0.1 + path-browserify@1.0.1: {} + path-data-parser@0.1.0: {} path-exists@4.0.0: {} @@ -11584,6 +12006,24 @@ snapshots: query-selector-shadow-dom: 1.0.1 web-vitals: 5.2.0 + postman-collection@5.3.0: + dependencies: + '@faker-js/faker': 5.5.3 + file-type: 3.9.0 + http-reasons: 0.1.0 + iconv-lite: 0.6.3 + liquid-json: 0.3.1 + lodash: 4.17.23 + mime: 3.0.0 + mime-format: 2.0.2 + postman-url-encoder: 3.0.8 + semver: 7.7.1 + uuid: 8.3.2 + + postman-url-encoder@3.0.8: + dependencies: + punycode: 2.3.1 + preact@10.29.0: {} progress@2.0.3: {} @@ -11613,6 +12053,8 @@ snapshots: proxy-from-env@1.1.0: {} + punycode@2.3.1: {} + quansync@1.0.0: {} query-selector-shadow-dom@1.0.1: {} @@ -11765,6 +12207,8 @@ snapshots: redux@5.0.1: {} + reftools@1.1.9: {} + regex-recursion@6.0.2: dependencies: regex-utilities: 2.3.0 @@ -11859,6 +12303,8 @@ snapshots: remend@1.3.0: {} + require-directory@2.1.1: {} + require-from-string@2.0.2: {} require-in-the-middle@8.0.1: @@ -12016,6 +12462,8 @@ snapshots: semver@6.3.1: {} + semver@7.7.1: {} + semver@7.7.4: {} sharp@0.34.5: @@ -12066,6 +12514,32 @@ snapshots: '@shikijs/vscode-textmate': 10.0.2 '@types/hast': 3.0.4 + should-equal@2.0.0: + dependencies: + should-type: 1.4.0 + + should-format@3.0.3: + dependencies: + should-type: 1.4.0 + should-type-adaptors: 1.1.0 + + should-type-adaptors@1.1.0: + dependencies: + should-type: 1.4.0 + should-util: 1.0.1 + + should-type@1.4.0: {} + + should-util@1.0.1: {} + + should@13.2.3: + dependencies: + should-equal: 2.0.0 + should-format: 3.0.3 + should-type: 1.4.0 + should-type-adaptors: 1.1.0 + should-util: 1.0.1 + sisteransi@1.0.5: {} smol-toml@1.6.1: {} @@ -12112,11 +12586,21 @@ snapshots: transitivePeerDependencies: - supports-color + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + stringify-entities@4.0.4: dependencies: character-entities-html4: 2.1.0 character-entities-legacy: 3.0.0 + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + strip-bom-string@1.0.0: {} strnum@2.2.2: {} @@ -12146,6 +12630,22 @@ snapshots: dependencies: react: 19.2.4 + swagger2openapi@7.0.8: + dependencies: + call-me-maybe: 1.0.2 + node-fetch: 2.7.0 + node-fetch-h2: 2.3.0 + node-readfiles: 0.2.0 + oas-kit-common: 1.0.8 + oas-resolver: 2.5.6 + oas-schema-walker: 1.1.5 + oas-validator: 5.0.8 + reftools: 1.1.9 + yaml: 1.10.2 + yargs: 17.7.2 + transitivePeerDependencies: + - encoding + swr@2.4.1(react@19.2.4): dependencies: dequal: 2.0.3 @@ -12354,8 +12854,25 @@ snapshots: uuid@11.1.0: {} + uuid@8.3.2: {} + uuid@9.0.1: {} + validate.io-array@1.0.6: {} + + validate.io-function@1.0.2: {} + + validate.io-integer-array@1.0.0: + dependencies: + validate.io-array: 1.0.6 + validate.io-integer: 1.0.5 + + validate.io-integer@1.0.5: + dependencies: + validate.io-number: 1.0.3 + + validate.io-number@1.0.3: {} + vary@1.1.2: {} vaul@1.1.2(@types/react-dom@19.2.3(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.2.4(react@19.2.4))(react@19.2.4): @@ -12470,6 +12987,12 @@ snapshots: dependencies: isexe: 2.0.0 + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + xdg-basedir@5.1.0: {} xml-js@1.6.11: @@ -12478,12 +13001,28 @@ snapshots: xtend@4.0.2: {} + y18n@5.0.8: {} + yallist@3.1.1: {} + yaml@1.10.2: {} + yaml@2.8.3: {} yargs-parser@20.2.9: {} + yargs-parser@21.1.1: {} + + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + yocto-queue@0.1.0: {} zod@4.3.6: {}