diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 799ecb8d..4cf29a90 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -63,6 +63,36 @@ jobs: - run: pnpm typecheck + # Verde por padrão: só fica vermelho quando um content type do Strapi muda e + # strapi-contract.json fica para trás. Informativo porque um PR sem relação + # com o Strapi não deveria travar por isso — mas, diferente do typecheck, + # aqui vermelho significa que algo aconteceu de fato. + strapi-contract: + name: Strapi contract (informational) + runs-on: ubuntu-latest + timeout-minutes: 10 + continue-on-error: true + steps: + - uses: actions/checkout@v6 + + - uses: jdx/mise-action@v4 + with: + cache: true + + - name: Resolve pnpm store path + id: pnpm-store + run: echo "path=$(pnpm store path --silent)" >> "$GITHUB_OUTPUT" + + - uses: actions/cache@v5 + with: + path: ${{ steps.pnpm-store.outputs.path }} + key: pnpm-store-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} + restore-keys: pnpm-store-${{ runner.os }}- + + - run: pnpm install --frozen-lockfile + + - run: pnpm strapi:contract --check + lint: name: Lint (informational) runs-on: ubuntu-latest diff --git a/app/types/strapi-api.ts b/app/types/strapi-api.ts deleted file mode 100644 index f49ac71b..00000000 --- a/app/types/strapi-api.ts +++ /dev/null @@ -1,13868 +0,0 @@ -/** - * This file was auto-generated by openapi-typescript. - * Do not make direct changes to the file. - */ - -export interface paths { - "/ameciclistas": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["ameciclista/get/ameciclistas"]; - put?: never; - post: operations["ameciclista/post/ameciclistas"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/ameciclistas/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["ameciclista/get/ameciclistas_by_id"]; - put: operations["ameciclista/put/ameciclistas_by_id"]; - post?: never; - delete: operations["ameciclista/delete/ameciclistas_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/clippings": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["clipping/get/clippings"]; - put?: never; - post: operations["clipping/post/clippings"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/clippings/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["clipping/get/clippings_by_id"]; - put: operations["clipping/put/clippings_by_id"]; - post?: never; - delete: operations["clipping/delete/clippings_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/clipping-medias": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["clipping-media/get/clipping_medias"]; - put?: never; - post: operations["clipping-media/post/clipping_medias"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/clipping-medias/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["clipping-media/get/clipping_medias_by_id"]; - put: operations["clipping-media/put/clipping_medias_by_id"]; - post?: never; - delete: operations["clipping-media/delete/clipping_medias_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/contagem": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["contagem/get/contagem"]; - put: operations["contagem/put/contagem"]; - post?: never; - delete: operations["contagem/delete/contagem"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/documents": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["document/get/documents"]; - put?: never; - post: operations["document/post/documents"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/documents/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["document/get/documents_by_id"]; - put: operations["document/put/documents_by_id"]; - post?: never; - delete: operations["document/delete/documents_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/documento": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["documento/get/documento"]; - put: operations["documento/put/documento"]; - post?: never; - delete: operations["documento/delete/documento"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/faqs": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["faq/get/faqs"]; - put?: never; - post: operations["faq/post/faqs"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/faqs/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["faq/get/faqs_by_id"]; - put: operations["faq/put/faqs_by_id"]; - post?: never; - delete: operations["faq/delete/faqs_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/faq-tags": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["faq-tag/get/faq_tags"]; - put?: never; - post: operations["faq-tag/post/faq_tags"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/faq-tags/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["faq-tag/get/faq_tags_by_id"]; - put: operations["faq-tag/put/faq_tags_by_id"]; - post?: never; - delete: operations["faq-tag/delete/faq_tags_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/home": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["home/get/home"]; - put: operations["home/put/home"]; - post?: never; - delete: operations["home/delete/home"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/ideciclo": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["ideciclo/get/ideciclo"]; - put: operations["ideciclo/put/ideciclo"]; - post?: never; - delete: operations["ideciclo/delete/ideciclo"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/paginas-da-plataformas": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["paginas-da-plataforma/get/paginas_da_plataformas"]; - put?: never; - post: operations["paginas-da-plataforma/post/paginas_da_plataformas"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/paginas-da-plataformas/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["paginas-da-plataforma/get/paginas_da_plataformas_by_id"]; - put: operations["paginas-da-plataforma/put/paginas_da_plataformas_by_id"]; - post?: never; - delete: operations["paginas-da-plataforma/delete/paginas_da_plataformas_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/partners": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["partner/get/partners"]; - put?: never; - post: operations["partner/post/partners"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/partners/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["partner/get/partners_by_id"]; - put: operations["partner/put/partners_by_id"]; - post?: never; - delete: operations["partner/delete/partners_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/perfil": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["perfil/get/perfil"]; - put: operations["perfil/put/perfil"]; - post?: never; - delete: operations["perfil/delete/perfil"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/plataforma-de-dado": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["plataforma-de-dado/get/plataforma_de_dado"]; - put: operations["plataforma-de-dado/put/plataforma_de_dado"]; - post?: never; - delete: operations["plataforma-de-dado/delete/plataforma_de_dado"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/posts": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["post/get/posts"]; - put?: never; - post: operations["post/post/posts"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/posts/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["post/get/posts_by_id"]; - put: operations["post/put/posts_by_id"]; - post?: never; - delete: operations["post/delete/posts_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/products": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["product/get/products"]; - put?: never; - post: operations["product/post/products"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/products/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["product/get/products_by_id"]; - put: operations["product/put/products_by_id"]; - post?: never; - delete: operations["product/delete/products_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/projects": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["project/get/projects"]; - put?: never; - post: operations["project/post/projects"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/projects/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["project/get/projects_by_id"]; - put: operations["project/put/projects_by_id"]; - post?: never; - delete: operations["project/delete/projects_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/proposals": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["proposal/get/proposals"]; - put?: never; - post: operations["proposal/post/proposals"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/proposals/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["proposal/get/proposals_by_id"]; - put: operations["proposal/put/proposals_by_id"]; - post?: never; - delete: operations["proposal/delete/proposals_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/quem-somo": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["quem-somo/get/quem_somo"]; - put: operations["quem-somo/put/quem_somo"]; - post?: never; - delete: operations["quem-somo/delete/quem_somo"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/workgroups": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["workgroup/get/workgroups"]; - put?: never; - post: operations["workgroup/post/workgroups"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/workgroups/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["workgroup/get/workgroups_by_id"]; - put: operations["workgroup/put/workgroups_by_id"]; - post?: never; - delete: operations["workgroup/delete/workgroups_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/content-type-builder/content-types": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["content-type-builder/get/content_type_builder_content_types"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/content-type-builder/content-types/{uid}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["content-type-builder/get/content_type_builder_content_types_by_uid"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/content-type-builder/components": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["content-type-builder/get/content_type_builder_components"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/content-type-builder/components/{uid}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["content-type-builder/get/content_type_builder_components_by_uid"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/email": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["email/post/email"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/upload": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["upload/post/upload"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/upload/files": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["upload/get/upload_files"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/upload/files/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["upload/get/upload_files_by_id"]; - put?: never; - post?: never; - delete: operations["upload/delete/upload_files_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/i18n/locales": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["i18n/get/i18n_locales"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/connect/(.*)": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/connect_____"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/local": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_local"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/local/register": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_local_register"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/{provider}/callback": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/auth_by_provider_callback"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/forgot-password": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_forgot_password"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/reset-password": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_reset_password"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/email-confirmation": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/auth_email_confirmation"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/send-email-confirmation": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_send_email_confirmation"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/change-password": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_change_password"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/refresh": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_refresh"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/auth/logout": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post: operations["users-permissions/post/auth_logout"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users/count": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users_count"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users"]; - put?: never; - post: operations["users-permissions/post/users"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users/me": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users_me"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users_by_id"]; - put: operations["users-permissions/put/users_by_id"]; - post?: never; - delete: operations["users-permissions/delete/users_by_id"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users-permissions/roles/{id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users_permissions_roles_by_id"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users-permissions/roles": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users_permissions_roles"]; - put?: never; - post: operations["users-permissions/post/users_permissions_roles"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users-permissions/roles/{role}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put: operations["users-permissions/put/users_permissions_roles_by_role"]; - post?: never; - delete: operations["users-permissions/delete/users_permissions_roles_by_role"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/users-permissions/permissions": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get: operations["users-permissions/get/users_permissions_permissions"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; -} -export type webhooks = Record; -export interface components { - schemas: { - PluginUploadFileDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name: string; - /** @description A text field */ - alternativeText?: string; - /** @description A text field */ - caption?: string; - /** @description A JSON field */ - focalPoint?: unknown; - /** @description An integer field */ - width?: number; - /** @description An integer field */ - height?: number; - /** @description A JSON field */ - formats?: unknown; - /** @description A string field */ - hash: string; - /** @description A string field */ - ext?: string; - /** @description A string field */ - mime: string; - /** @description A decimal field */ - size: number; - /** @description A text field */ - url: string; - /** @description A text field */ - previewUrl?: string; - /** @description A string field */ - provider: string; - /** @description A JSON field */ - provider_metadata?: unknown; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.007Z - */ - publishedAt: string; - related: unknown; - }; - ProductsProdutosEntry: { - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A text field */ - description?: string; - /** @description A media field */ - image?: components["schemas"]["PluginUploadFileDocument"]; - }; - LinksLinksEntry: { - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - }; - StepsDestaquesEntry: { - /** @description A string field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - link?: string; - /** @description A media field */ - image?: components["schemas"]["PluginUploadFileDocument"]; - }; - ApiWorkgroupWorkgroupDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.023Z - */ - publishedAt: string; - /** @description A media field */ - icon?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - ApiPartnerPartnerDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.024Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - ApiClippingMediaClippingMediaDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.027Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - ApiClippingClippingDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.027Z - */ - publishedAt: string; - /** @description A media field */ - print?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - backup_media?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - project?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - clipping_medias?: components["schemas"]["ApiClippingMediaClippingMediaDocument"][]; - }; - ApiProjectProjectDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: boolean | null; - /** @description A boolean field */ - showTitle?: boolean | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.021Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - gallery?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A component field */ - products?: components["schemas"]["ProductsProdutosEntry"][]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A component field */ - steps?: components["schemas"]["StepsDestaquesEntry"][]; - /** @description A relational field */ - workgroup?: components["schemas"]["ApiWorkgroupWorkgroupDocument"]; - /** @description A relational field */ - partners?: components["schemas"]["ApiPartnerPartnerDocument"][]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - CountsContagensEntry: { - /** @description A string field */ - count_id?: string; - /** @description A string field */ - place?: string; - /** @description A text field */ - description?: string; - /** @description A date field */ - date?: string; - /** @description A string field */ - latitude?: string; - /** @description A string field */ - longitude?: string; - /** @description A media field */ - pictures?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - csv?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - report?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - ArchivesArquivosDeApoioEntry: { - /** @description A string field */ - filename?: string; - /** @description A text field */ - description?: string; - /** @description A date field */ - release_date?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "books" | "studies" | "reports" | "statements" | "legal" | "others"; - /** @description A media field */ - file?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - image?: components["schemas"]["PluginUploadFileDocument"]; - }; - ArchivesDocumentosDisponobilizadosEntry: Record; - ApiFaqFaqDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.065Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: components["schemas"]["ApiFaqTagFaqTagDocument"][]; - }; - ApiFaqTagFaqTagDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.065Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: components["schemas"]["ApiFaqFaqDocument"][]; - }; - ApiProductProductDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description An integer field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.079Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - TitledBoxesExplanationBoxEntry: { - /** @description A string field */ - title?: string; - /** @description A richtext field */ - description?: string; - }; - ApiDocumentDocumentDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.088Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - ApiPaginasDaPlataformaPaginasDaPlataformaDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.089Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - titledBox?: components["schemas"]["TitledBoxesExplanationBoxEntry"][]; - /** @description A relational field */ - documentos?: components["schemas"]["ApiDocumentDocumentDocument"][]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPaginasDaPlataformaPaginasDaPlataformaDocument"][]; - }; - PartnersParceirosEntry: { - /** @description A string field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - link?: string; - /** @description A media field */ - image?: components["schemas"]["PluginUploadFileDocument"][]; - }; - ApiPostPostDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.113Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPostPostDocument"][]; - }; - ApiProposalProposalDocument: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.148Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiProposalProposalDocument"][]; - }; - }; - responses: never; - parameters: never; - requestBodies: never; - headers: never; - pathItems: never; -} -export type $defs = Record; -export interface operations { - "ameciclista/get/ameciclistas": { - parameters: { - query?: { - fields?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | "media" | "media"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.005Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ameciclista/post/ameciclistas": { - parameters: { - query?: { - fields?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.012Z - */ - publishedAt: string; - /** @description A media field */ - media?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.013Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ameciclista/get/ameciclistas_by_id": { - parameters: { - query?: { - fields?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.009Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ameciclista/put/ameciclistas_by_id": { - parameters: { - query?: { - fields?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.014Z - */ - publishedAt?: string; - /** @description A media field */ - media?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.015Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ameciclista/delete/ameciclistas_by_id": { - parameters: { - query?: { - fields?: ("name" | "bio" | "role" | "botmember" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A text field */ - bio?: string; - /** - * @description An enum field - * @enum {string} - */ - role?: "ameciclista" | "concelhofiscal" | "coordenacao"; - /** - * @description A boolean field - * @default false - */ - botmember: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.016Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping/get/clippings": { - parameters: { - query?: { - fields?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("print" | "backup_media" | "project" | "clipping_medias") | ("print" | "backup_media" | "project" | "clipping_medias")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.019Z - */ - publishedAt: string; - /** @description A media field */ - print?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - backup_media?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - project?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - clipping_medias?: components["schemas"]["ApiClippingMediaClippingMediaDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping/post/clippings": { - parameters: { - query?: { - fields?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("print" | "backup_media" | "project" | "clipping_medias") | ("print" | "backup_media" | "project" | "clipping_medias")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.030Z - */ - publishedAt: string; - /** @description A media field */ - print?: unknown[]; - /** @description A media field */ - backup_media?: unknown[]; - /** - * Format: uuid - * @description A relational field - */ - project?: string; - /** @description A relational field */ - clipping_medias?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.031Z - */ - publishedAt: string; - /** @description A media field */ - print?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - backup_media?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - project?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - clipping_medias?: components["schemas"]["ApiClippingMediaClippingMediaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping/get/clippings_by_id": { - parameters: { - query?: { - fields?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("print" | "backup_media" | "project" | "clipping_medias") | ("print" | "backup_media" | "project" | "clipping_medias")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.029Z - */ - publishedAt: string; - /** @description A media field */ - print?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - backup_media?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - project?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - clipping_medias?: components["schemas"]["ApiClippingMediaClippingMediaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping/put/clippings_by_id": { - parameters: { - query?: { - fields?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("print" | "backup_media" | "project" | "clipping_medias") | ("print" | "backup_media" | "project" | "clipping_medias")[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.032Z - */ - publishedAt?: string; - /** @description A media field */ - print?: unknown[]; - /** @description A media field */ - backup_media?: unknown[]; - /** - * Format: uuid - * @description A relational field - */ - project?: string; - /** @description A relational field */ - clipping_medias?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.032Z - */ - publishedAt: string; - /** @description A media field */ - print?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - backup_media?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - project?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - clipping_medias?: components["schemas"]["ApiClippingMediaClippingMediaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping/delete/clippings_by_id": { - parameters: { - query?: { - fields?: ("title" | "link" | "date" | "text" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("print" | "backup_media" | "project" | "clipping_medias") | ("print" | "backup_media" | "project" | "clipping_medias")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - link?: string; - /** @description A date field */ - date?: string; - /** @description A richtext field */ - text?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.033Z - */ - publishedAt: string; - /** @description A media field */ - print?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A media field */ - backup_media?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - project?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - clipping_medias?: components["schemas"]["ApiClippingMediaClippingMediaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping-media/get/clipping_medias": { - parameters: { - query?: { - fields?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("logo" | "clippings") | ("logo" | "clippings")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.038Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping-media/post/clipping_medias": { - parameters: { - query?: { - fields?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "clippings") | ("logo" | "clippings")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.040Z - */ - publishedAt: string; - /** @description A media field */ - logo?: unknown; - /** @description A relational field */ - clippings?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.041Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping-media/get/clipping_medias_by_id": { - parameters: { - query?: { - fields?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "clippings") | ("logo" | "clippings")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.039Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping-media/put/clipping_medias_by_id": { - parameters: { - query?: { - fields?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "clippings") | ("logo" | "clippings")[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.041Z - */ - publishedAt?: string; - /** @description A media field */ - logo?: unknown; - /** @description A relational field */ - clippings?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.042Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "clipping-media/delete/clipping_medias_by_id": { - parameters: { - query?: { - fields?: ("name" | "url" | "type" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "clippings") | ("logo" | "clippings")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "blog" | "independente" | "jornal" | "revista" | "podcast" | "portal" | "televisao" | "radio" | "redessociais" | "outros"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.043Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "contagem/get/contagem": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("counts" | "cover" | "archives") | ("counts" | "cover" | "archives")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** @description A string field */ - methodology?: string; - /** @description A string field */ - overal_report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.046Z - */ - publishedAt: string; - /** @description A component field */ - counts?: components["schemas"]["CountsContagensEntry"][]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesArquivosDeApoioEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "contagem/put/contagem": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("counts" | "cover" | "archives") | ("counts" | "cover" | "archives")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** @description A string field */ - methodology?: string; - /** @description A string field */ - overal_report?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.048Z - */ - publishedAt?: string; - /** @description A component field */ - counts?: unknown[]; - /** @description A media field */ - cover?: unknown; - /** @description A component field */ - archives?: unknown[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** @description A string field */ - methodology?: string; - /** @description A string field */ - overal_report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.048Z - */ - publishedAt: string; - /** @description A component field */ - counts?: components["schemas"]["CountsContagensEntry"][]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesArquivosDeApoioEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "contagem/delete/contagem": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("counts" | "cover" | "archives") | ("counts" | "cover" | "archives")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** @description A string field */ - methodology?: string; - /** @description A string field */ - overal_report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.049Z - */ - publishedAt: string; - /** @description A component field */ - counts?: components["schemas"]["CountsContagensEntry"][]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesArquivosDeApoioEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "document/get/documents": { - parameters: { - query?: { - fields?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | "cover" | "cover"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.051Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "document/post/documents": { - parameters: { - query?: { - fields?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.054Z - */ - publishedAt: string; - /** @description A media field */ - cover?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.056Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "document/get/documents_by_id": { - parameters: { - query?: { - fields?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.053Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "document/put/documents_by_id": { - parameters: { - query?: { - fields?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.057Z - */ - publishedAt?: string; - /** @description A media field */ - cover?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.057Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "document/delete/documents_by_id": { - parameters: { - query?: { - fields?: ("title" | "url" | "type" | "release_date" | "description" | "isOurs" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** - * @description An enum field - * @enum {string} - */ - type?: "studies" | "books" | "other"; - /** @description A date field */ - release_date?: string; - /** @description A text field */ - description?: string; - /** - * @description A boolean field - * @default true - */ - isOurs: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.058Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "documento/get/documento": { - parameters: { - query?: { - fields?: ("description" | "objectives" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "archives") | ("cover" | "archives")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objectives?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.059Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesDocumentosDisponobilizadosEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "documento/put/documento": { - parameters: { - query?: { - fields?: ("description" | "objectives" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "archives") | ("cover" | "archives")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - description?: string; - /** @description A text field */ - objectives?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.060Z - */ - publishedAt?: string; - /** @description A media field */ - cover?: unknown; - /** @description A component field */ - archives?: unknown[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objectives?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.061Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesDocumentosDisponobilizadosEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "documento/delete/documento": { - parameters: { - query?: { - fields?: ("description" | "objectives" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "archives") | ("cover" | "archives")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objectives?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.061Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesDocumentosDisponobilizadosEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq/get/faqs": { - parameters: { - query?: { - fields?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | "faq_tags" | "faq_tags"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.064Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: components["schemas"]["ApiFaqTagFaqTagDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq/post/faqs": { - parameters: { - query?: { - fields?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faq_tags" | "faq_tags"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.067Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.068Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: components["schemas"]["ApiFaqTagFaqTagDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq/get/faqs_by_id": { - parameters: { - query?: { - fields?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faq_tags" | "faq_tags"[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.066Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: components["schemas"]["ApiFaqTagFaqTagDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq/put/faqs_by_id": { - parameters: { - query?: { - fields?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faq_tags" | "faq_tags"[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.068Z - */ - publishedAt?: string; - /** @description A relational field */ - faq_tags?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.069Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: components["schemas"]["ApiFaqTagFaqTagDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq/delete/faqs_by_id": { - parameters: { - query?: { - fields?: ("title" | "description" | "answer" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faq_tags" | "faq_tags"[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - title?: string; - /** @description A text field */ - description?: string; - /** @description A richtext field */ - answer?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.070Z - */ - publishedAt: string; - /** @description A relational field */ - faq_tags?: components["schemas"]["ApiFaqTagFaqTagDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq-tag/get/faq_tags": { - parameters: { - query?: { - fields?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | "faqs" | "faqs"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.071Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: components["schemas"]["ApiFaqFaqDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq-tag/post/faq_tags": { - parameters: { - query?: { - fields?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faqs" | "faqs"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.075Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.075Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: components["schemas"]["ApiFaqFaqDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq-tag/get/faq_tags_by_id": { - parameters: { - query?: { - fields?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faqs" | "faqs"[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.074Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: components["schemas"]["ApiFaqFaqDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq-tag/put/faq_tags_by_id": { - parameters: { - query?: { - fields?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faqs" | "faqs"[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.076Z - */ - publishedAt?: string; - /** @description A relational field */ - faqs?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.076Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: components["schemas"]["ApiFaqFaqDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "faq-tag/delete/faq_tags_by_id": { - parameters: { - query?: { - fields?: ("title" | "slug" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "faqs" | "faqs"[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - slug?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.077Z - */ - publishedAt: string; - /** @description A relational field */ - faqs?: components["schemas"]["ApiFaqFaqDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "home/get/home": { - parameters: { - query?: { - fields?: ("participation_url" | "donate_url" | "association_url" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("banner" | "projects" | "products") | ("banner" | "projects" | "products")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - participation_url?: string; - /** @description A string field */ - donate_url?: string; - /** @description A string field */ - association_url?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.078Z - */ - publishedAt: string; - /** @description A media field */ - banner?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - products?: components["schemas"]["ApiProductProductDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "home/put/home": { - parameters: { - query?: { - fields?: ("participation_url" | "donate_url" | "association_url" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("banner" | "projects" | "products") | ("banner" | "projects" | "products")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - participation_url?: string; - /** @description A string field */ - donate_url?: string; - /** @description A string field */ - association_url?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.079Z - */ - publishedAt?: string; - /** @description A media field */ - banner?: unknown; - /** - * Format: uuid - * @description A relational field - */ - projects?: string; - /** - * Format: uuid - * @description A relational field - */ - products?: string; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - participation_url?: string; - /** @description A string field */ - donate_url?: string; - /** @description A string field */ - association_url?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.080Z - */ - publishedAt: string; - /** @description A media field */ - banner?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - products?: components["schemas"]["ApiProductProductDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "home/delete/home": { - parameters: { - query?: { - fields?: ("participation_url" | "donate_url" | "association_url" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("banner" | "projects" | "products") | ("banner" | "projects" | "products")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - participation_url?: string; - /** @description A string field */ - donate_url?: string; - /** @description A string field */ - association_url?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.082Z - */ - publishedAt: string; - /** @description A media field */ - banner?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"]; - /** @description A relational field */ - products?: components["schemas"]["ApiProductProductDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ideciclo/get/ideciclo": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "archives") | ("cover" | "archives")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.083Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesArquivosDeApoioEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ideciclo/put/ideciclo": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "archives") | ("cover" | "archives")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology?: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.084Z - */ - publishedAt?: string; - /** @description A media field */ - cover?: unknown; - /** @description A component field */ - archives?: unknown[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.085Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesArquivosDeApoioEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "ideciclo/delete/ideciclo": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "archives") | ("cover" | "archives")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.085Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - archives?: components["schemas"]["ArchivesArquivosDeApoioEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "paginas-da-plataforma/get/paginas_da_plataformas": { - parameters: { - query?: { - fields?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale") | ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("cover" | "titledBox" | "documentos" | "localizations") | ("cover" | "titledBox" | "documentos" | "localizations")[]; - locale?: string; - status?: "draft" | "published"; - hasPublishedVersion?: boolean | ("true" | "false"); - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.087Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - titledBox?: components["schemas"]["TitledBoxesExplanationBoxEntry"][]; - /** @description A relational field */ - documentos?: components["schemas"]["ApiDocumentDocumentDocument"][]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPaginasDaPlataformaPaginasDaPlataformaDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "paginas-da-plataforma/post/paginas_da_plataformas": { - parameters: { - query?: { - fields?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("cover" | "titledBox" | "documentos" | "localizations") | ("cover" | "titledBox" | "documentos" | "localizations")[]; - locale?: string; - status?: "draft" | "published"; - hasPublishedVersion?: boolean | ("true" | "false"); - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.093Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: unknown; - /** @description A component field */ - titledBox?: unknown[]; - /** @description A relational field */ - documentos?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.094Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - titledBox?: components["schemas"]["TitledBoxesExplanationBoxEntry"][]; - /** @description A relational field */ - documentos?: components["schemas"]["ApiDocumentDocumentDocument"][]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPaginasDaPlataformaPaginasDaPlataformaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "paginas-da-plataforma/get/paginas_da_plataformas_by_id": { - parameters: { - query?: { - fields?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("cover" | "titledBox" | "documentos" | "localizations") | ("cover" | "titledBox" | "documentos" | "localizations")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale") | ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - locale?: string; - status?: "draft" | "published"; - hasPublishedVersion?: boolean | ("true" | "false"); - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.092Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - titledBox?: components["schemas"]["TitledBoxesExplanationBoxEntry"][]; - /** @description A relational field */ - documentos?: components["schemas"]["ApiDocumentDocumentDocument"][]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPaginasDaPlataformaPaginasDaPlataformaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "paginas-da-plataforma/put/paginas_da_plataformas_by_id": { - parameters: { - query?: { - fields?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("cover" | "titledBox" | "documentos" | "localizations") | ("cover" | "titledBox" | "documentos" | "localizations")[]; - locale?: string; - status?: "draft" | "published"; - hasPublishedVersion?: boolean | ("true" | "false"); - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.095Z - */ - publishedAt?: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover?: unknown; - /** @description A component field */ - titledBox?: unknown[]; - /** @description A relational field */ - documentos?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.095Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - titledBox?: components["schemas"]["TitledBoxesExplanationBoxEntry"][]; - /** @description A relational field */ - documentos?: components["schemas"]["ApiDocumentDocumentDocument"][]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPaginasDaPlataformaPaginasDaPlataformaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "paginas-da-plataforma/delete/paginas_da_plataformas_by_id": { - parameters: { - query?: { - fields?: ("title" | "methodology" | "report" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("cover" | "titledBox" | "documentos" | "localizations") | ("cover" | "titledBox" | "documentos" | "localizations")[]; - filters?: { - [key: string]: unknown; - }; - locale?: string; - status?: "draft" | "published"; - hasPublishedVersion?: boolean | ("true" | "false"); - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A richtext field */ - methodology?: string; - /** @description A richtext field */ - report?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.096Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - cover: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - titledBox?: components["schemas"]["TitledBoxesExplanationBoxEntry"][]; - /** @description A relational field */ - documentos?: components["schemas"]["ApiDocumentDocumentDocument"][]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPaginasDaPlataformaPaginasDaPlataformaDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "partner/get/partners": { - parameters: { - query?: { - fields?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("logo" | "projects") | ("logo" | "projects")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.098Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "partner/post/partners": { - parameters: { - query?: { - fields?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "projects") | ("logo" | "projects")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.102Z - */ - publishedAt: string; - /** @description A media field */ - logo?: unknown[]; - /** @description A relational field */ - projects?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.102Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "partner/get/partners_by_id": { - parameters: { - query?: { - fields?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "projects") | ("logo" | "projects")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.101Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "partner/put/partners_by_id": { - parameters: { - query?: { - fields?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "projects") | ("logo" | "projects")[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.103Z - */ - publishedAt?: string; - /** @description A media field */ - logo?: unknown[]; - /** @description A relational field */ - projects?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.103Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "partner/delete/partners_by_id": { - parameters: { - query?: { - fields?: ("name" | "url" | "sponsor" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("logo" | "projects") | ("logo" | "projects")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - url?: string; - /** - * @description A boolean field - * @default true - */ - sponsor: boolean | null; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.104Z - */ - publishedAt: string; - /** @description A media field */ - logo?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "perfil/get/perfil": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.105Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "perfil/put/perfil": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology?: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.106Z - */ - publishedAt?: string; - /** @description A media field */ - cover?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.107Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "perfil/delete/perfil": { - parameters: { - query?: { - fields?: ("description" | "objective" | "methodology" | "overal_report" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "cover" | "cover"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A text field */ - objective?: string; - /** - * @description A richtext field - * @default Breve - */ - methodology: string; - /** - * @description A richtext field - * @default Breve - */ - overal_report: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.108Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "plataforma-de-dado/get/plataforma_de_dado": { - parameters: { - query?: { - fields?: ("description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "partners") | ("cover" | "partners")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.109Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - partners?: components["schemas"]["PartnersParceirosEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "plataforma-de-dado/put/plataforma_de_dado": { - parameters: { - query?: { - fields?: ("description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "partners") | ("cover" | "partners")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - description?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.110Z - */ - publishedAt?: string; - /** @description A media field */ - cover?: unknown; - /** @description A component field */ - partners?: unknown[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.111Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - partners?: components["schemas"]["PartnersParceirosEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "plataforma-de-dado/delete/plataforma_de_dado": { - parameters: { - query?: { - fields?: ("description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("cover" | "partners") | ("cover" | "partners")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - description?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.111Z - */ - publishedAt: string; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - partners?: components["schemas"]["PartnersParceirosEntry"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "post/get/posts": { - parameters: { - query?: { - fields?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale") | ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("featuredImage" | "localizations") | ("featuredImage" | "localizations")[]; - locale?: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.113Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPostPostDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "post/post/posts": { - parameters: { - query?: { - fields?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("featuredImage" | "localizations") | ("featuredImage" | "localizations")[]; - locale?: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.117Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.118Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPostPostDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "post/get/posts_by_id": { - parameters: { - query?: { - fields?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("featuredImage" | "localizations") | ("featuredImage" | "localizations")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale") | ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - locale?: string; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.114Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPostPostDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "post/put/posts_by_id": { - parameters: { - query?: { - fields?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("featuredImage" | "localizations") | ("featuredImage" | "localizations")[]; - locale?: string; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - subtitle?: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.119Z - */ - publishedAt?: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.119Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPostPostDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "post/delete/posts_by_id": { - parameters: { - query?: { - fields?: ("title" | "subtitle" | "category" | "body" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | ("featuredImage" | "localizations") | ("featuredImage" | "localizations")[]; - filters?: { - [key: string]: unknown; - }; - locale?: string; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A string field */ - subtitle: string; - /** - * @description An enum field - * @enum {string} - */ - category?: "LOA"; - /** @description A richtext field */ - body: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.120Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A media field */ - featuredImage: components["schemas"]["PluginUploadFileDocument"]; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiPostPostDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "product/get/products": { - parameters: { - query?: { - fields?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | "media" | "media"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description An integer field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.122Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "product/post/products": { - parameters: { - query?: { - fields?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description A float field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.125Z - */ - publishedAt: string; - /** @description A media field */ - media?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description An integer field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.127Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "product/get/products_by_id": { - parameters: { - query?: { - fields?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt") | ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description An integer field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.124Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "product/put/products_by_id": { - parameters: { - query?: { - fields?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description A float field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.128Z - */ - publishedAt?: string; - /** @description A media field */ - media?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description An integer field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.128Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "product/delete/products_by_id": { - parameters: { - query?: { - fields?: ("title" | "url" | "desc" | "units" | "value" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | "media" | "media"[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title?: string; - /** @description A string field */ - url?: string; - /** @description A text field */ - desc?: string; - /** @description An integer field */ - units?: number; - /** @description A decimal field */ - value?: number; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.129Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "project/get/projects": { - parameters: { - query?: { - fields?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings") | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: boolean | null; - /** @description A boolean field */ - showTitle?: boolean | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.132Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - gallery?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A component field */ - products?: components["schemas"]["ProductsProdutosEntry"][]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A component field */ - steps?: components["schemas"]["StepsDestaquesEntry"][]; - /** @description A relational field */ - workgroup?: components["schemas"]["ApiWorkgroupWorkgroupDocument"]; - /** @description A relational field */ - partners?: components["schemas"]["ApiPartnerPartnerDocument"][]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "project/post/projects": { - parameters: { - query?: { - fields?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings") | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** @description A boolean field */ - showTitle?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.138Z - */ - publishedAt: string; - /** @description A media field */ - media?: unknown; - /** @description A media field */ - cover?: unknown; - /** @description A media field */ - gallery?: unknown[]; - /** @description A component field */ - products?: unknown[]; - /** @description A component field */ - Links?: unknown[]; - /** @description A component field */ - steps?: unknown[]; - /** - * Format: uuid - * @description A relational field - */ - workgroup?: string; - /** @description A relational field */ - partners?: string[]; - /** @description A relational field */ - clippings?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: boolean | null; - /** @description A boolean field */ - showTitle?: boolean | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.139Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - gallery?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A component field */ - products?: components["schemas"]["ProductsProdutosEntry"][]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A component field */ - steps?: components["schemas"]["StepsDestaquesEntry"][]; - /** @description A relational field */ - workgroup?: components["schemas"]["ApiWorkgroupWorkgroupDocument"]; - /** @description A relational field */ - partners?: components["schemas"]["ApiPartnerPartnerDocument"][]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "project/get/projects_by_id": { - parameters: { - query?: { - fields?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings") | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: boolean | null; - /** @description A boolean field */ - showTitle?: boolean | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.136Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - gallery?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A component field */ - products?: components["schemas"]["ProductsProdutosEntry"][]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A component field */ - steps?: components["schemas"]["StepsDestaquesEntry"][]; - /** @description A relational field */ - workgroup?: components["schemas"]["ApiWorkgroupWorkgroupDocument"]; - /** @description A relational field */ - partners?: components["schemas"]["ApiPartnerPartnerDocument"][]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "project/put/projects_by_id": { - parameters: { - query?: { - fields?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings") | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings")[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** @description A boolean field */ - showTitle?: ("0" | "1" | "t" | "true" | "f" | "false") | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description?: unknown[]; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.141Z - */ - publishedAt?: string; - /** @description A media field */ - media?: unknown; - /** @description A media field */ - cover?: unknown; - /** @description A media field */ - gallery?: unknown[]; - /** @description A component field */ - products?: unknown[]; - /** @description A component field */ - Links?: unknown[]; - /** @description A component field */ - steps?: unknown[]; - /** - * Format: uuid - * @description A relational field - */ - workgroup?: string; - /** @description A relational field */ - partners?: string[]; - /** @description A relational field */ - clippings?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: boolean | null; - /** @description A boolean field */ - showTitle?: boolean | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.141Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - gallery?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A component field */ - products?: components["schemas"]["ProductsProdutosEntry"][]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A component field */ - steps?: components["schemas"]["StepsDestaquesEntry"][]; - /** @description A relational field */ - workgroup?: components["schemas"]["ApiWorkgroupWorkgroupDocument"]; - /** @description A relational field */ - partners?: components["schemas"]["ApiPartnerPartnerDocument"][]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "project/delete/projects_by_id": { - parameters: { - query?: { - fields?: ("name" | "project_status" | "startDate" | "endDate" | "isHighlighted" | "showTitle" | "bikeCulture" | "instArticulation" | "politicIncidence" | "goal" | "description" | "slug" | "long_description" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings") | ("media" | "cover" | "gallery" | "products" | "Links" | "steps" | "workgroup" | "partners" | "clippings")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** - * @description An enum field - * @enum {string} - */ - project_status?: "ongoing" | "finished" | "paused"; - /** @description A date field */ - startDate?: string; - /** @description A date field */ - endDate?: string; - /** @description A boolean field */ - isHighlighted?: boolean | null; - /** @description A boolean field */ - showTitle?: boolean | null; - /** - * @description An enum field - * @enum {string} - */ - bikeCulture?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - instArticulation?: "low" | "medium" | "high"; - /** - * @description An enum field - * @enum {string} - */ - politicIncidence?: "low" | "medium" | "high"; - /** @description A text field */ - goal?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - slug?: string; - /** @description A blocks field */ - long_description: unknown[]; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.145Z - */ - publishedAt: string; - /** @description A media field */ - media?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A media field */ - gallery?: components["schemas"]["PluginUploadFileDocument"][]; - /** @description A component field */ - products?: components["schemas"]["ProductsProdutosEntry"][]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A component field */ - steps?: components["schemas"]["StepsDestaquesEntry"][]; - /** @description A relational field */ - workgroup?: components["schemas"]["ApiWorkgroupWorkgroupDocument"]; - /** @description A relational field */ - partners?: components["schemas"]["ApiPartnerPartnerDocument"][]; - /** @description A relational field */ - clippings?: components["schemas"]["ApiClippingClippingDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "proposal/get/proposals": { - parameters: { - query?: { - fields?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale") | ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | "localizations" | "localizations"[]; - locale?: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.147Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiProposalProposalDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "proposal/post/proposals": { - parameters: { - query?: { - fields?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | "localizations" | "localizations"[]; - locale?: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.150Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.150Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiProposalProposalDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "proposal/get/proposals_by_id": { - parameters: { - query?: { - fields?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | "localizations" | "localizations"[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale") | ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - locale?: string; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.149Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiProposalProposalDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "proposal/put/proposals_by_id": { - parameters: { - query?: { - fields?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | "localizations" | "localizations"[]; - locale?: string; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - title?: string; - /** @description A text field */ - text?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.150Z - */ - publishedAt?: string; - /** @description A string field */ - locale?: string; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.152Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiProposalProposalDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "proposal/delete/proposals_by_id": { - parameters: { - query?: { - fields?: ("title" | "text" | "createdAt" | "updatedAt" | "publishedAt" | "locale")[]; - populate?: "*" | "localizations" | "localizations"[]; - filters?: { - [key: string]: unknown; - }; - locale?: string; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - title: string; - /** @description A text field */ - text: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.153Z - */ - publishedAt: string; - /** @description A string field */ - locale?: string; - /** @description A relational field */ - readonly localizations?: components["schemas"]["ApiProposalProposalDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "quem-somo/get/quem_somo": { - parameters: { - query?: { - fields?: ("definition" | "objective" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("links" | "cover") | ("links" | "cover")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - definition?: string; - /** @description A text field */ - objective?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.154Z - */ - publishedAt: string; - /** @description A component field */ - links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "quem-somo/put/quem_somo": { - parameters: { - query?: { - fields?: ("definition" | "objective" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("links" | "cover") | ("links" | "cover")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A text field */ - definition?: string; - /** @description A text field */ - objective?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.155Z - */ - publishedAt?: string; - /** @description A component field */ - links?: unknown[]; - /** @description A media field */ - cover?: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - definition?: string; - /** @description A text field */ - objective?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.156Z - */ - publishedAt: string; - /** @description A component field */ - links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "quem-somo/delete/quem_somo": { - parameters: { - query?: { - fields?: ("definition" | "objective" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("links" | "cover") | ("links" | "cover")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A text field */ - definition?: string; - /** @description A text field */ - objective?: string; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.156Z - */ - publishedAt: string; - /** @description A component field */ - links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A media field */ - cover?: components["schemas"]["PluginUploadFileDocument"]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "workgroup/get/workgroups": { - parameters: { - query?: { - fields?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[]; - filters?: { - [key: string]: unknown; - }; - _q?: string; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - sort?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - populate?: "*" | ("icon" | "Links" | "projects") | ("icon" | "Links" | "projects")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.158Z - */ - publishedAt: string; - /** @description A media field */ - icon?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "workgroup/post/workgroups": { - parameters: { - query?: { - fields?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("icon" | "Links" | "projects") | ("icon" | "Links" | "projects")[]; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.162Z - */ - publishedAt: string; - /** @description A media field */ - icon?: unknown; - /** @description A component field */ - Links?: unknown[]; - /** @description A relational field */ - projects?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.163Z - */ - publishedAt: string; - /** @description A media field */ - icon?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "workgroup/get/workgroups_by_id": { - parameters: { - query?: { - fields?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("icon" | "Links" | "projects") | ("icon" | "Links" | "projects")[]; - filters?: { - [key: string]: unknown; - }; - sort?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt") | ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.161Z - */ - publishedAt: string; - /** @description A media field */ - icon?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "workgroup/put/workgroups_by_id": { - parameters: { - query?: { - fields?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("icon" | "Links" | "projects") | ("icon" | "Links" | "projects")[]; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - data: { - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.164Z - */ - publishedAt?: string; - /** @description A media field */ - icon?: unknown; - /** @description A component field */ - Links?: unknown[]; - /** @description A relational field */ - projects?: string[]; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.164Z - */ - publishedAt: string; - /** @description A media field */ - icon?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "workgroup/delete/workgroups_by_id": { - parameters: { - query?: { - fields?: ("name" | "telegram_id" | "description" | "folder_url" | "telegram_url" | "directive" | "createdAt" | "updatedAt" | "publishedAt")[]; - populate?: "*" | ("icon" | "Links" | "projects") | ("icon" | "Links" | "projects")[]; - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - /** - * Format: uuid - * @description The document ID, represented by a UUID - */ - documentId: string; - id: string | number; - /** @description A string field */ - name?: string; - /** @description A string field */ - telegram_id?: string; - /** @description A text field */ - description?: string; - /** @description A string field */ - folder_url?: string; - /** @description A string field */ - telegram_url?: string; - /** - * @description An enum field - * @enum {string} - */ - directive?: "articular" | "incidir" | "cultuar" | "fortalecer"; - /** @description A datetime field */ - createdAt?: string; - /** @description A datetime field */ - updatedAt?: string; - /** - * @description A datetime field - * @default 2026-04-23T17:37:27.165Z - */ - publishedAt: string; - /** @description A media field */ - icon?: components["schemas"]["PluginUploadFileDocument"]; - /** @description A component field */ - Links?: components["schemas"]["LinksLinksEntry"][]; - /** @description A relational field */ - projects?: components["schemas"]["ApiProjectProjectDocument"][]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "content-type-builder/get/content_type_builder_content_types": { - parameters: { - query: { - kind: "collectionType" | "singleType"; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - uid: string; - plugin?: string; - apiID: string; - schema: { - displayName: string; - singularName: string; - pluralName: string; - description: string; - draftAndPublish: boolean; - /** @enum {string} */ - kind: "collectionType" | "singleType"; - collectionName?: string; - attributes: { - [key: string]: { - /** @constant */ - type: "media"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - multiple: boolean; - required?: boolean; - allowedTypes?: string[]; - } | { - /** @constant */ - type: "relation"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - relation: string; - target: string; - targetAttribute: string | null; - autoPopulate?: boolean; - mappedBy?: string; - inversedBy?: string; - } | { - /** @constant */ - type: "component"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - component: string; - repeatable: boolean; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "dynamiczone"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - components: string[]; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "uid"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - targetField?: string; - } | { - type: string; - required?: boolean; - unique?: boolean; - default?: unknown; - min?: number | string; - max?: number | string; - minLength?: number; - maxLength?: number; - enum?: string[]; - regex?: string; - private?: boolean; - configurable?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - }; - }; - visible: boolean; - restrictRelationsTo: string[] | null; - pluginOptions?: { - [key: string]: unknown; - }; - options?: { - [key: string]: unknown; - }; - reviewWorkflows?: boolean; - populateCreatorFields?: boolean; - comment?: string; - version?: string; - }; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "content-type-builder/get/content_type_builder_content_types_by_uid": { - parameters: { - query?: never; - header?: never; - path: { - uid: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - uid: string; - plugin?: string; - apiID: string; - schema: { - displayName: string; - singularName: string; - pluralName: string; - description: string; - draftAndPublish: boolean; - /** @enum {string} */ - kind: "collectionType" | "singleType"; - collectionName?: string; - attributes: { - [key: string]: { - /** @constant */ - type: "media"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - multiple: boolean; - required?: boolean; - allowedTypes?: string[]; - } | { - /** @constant */ - type: "relation"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - relation: string; - target: string; - targetAttribute: string | null; - autoPopulate?: boolean; - mappedBy?: string; - inversedBy?: string; - } | { - /** @constant */ - type: "component"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - component: string; - repeatable: boolean; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "dynamiczone"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - components: string[]; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "uid"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - targetField?: string; - } | { - type: string; - required?: boolean; - unique?: boolean; - default?: unknown; - min?: number | string; - max?: number | string; - minLength?: number; - maxLength?: number; - enum?: string[]; - regex?: string; - private?: boolean; - configurable?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - }; - }; - visible: boolean; - restrictRelationsTo: string[] | null; - pluginOptions?: { - [key: string]: unknown; - }; - options?: { - [key: string]: unknown; - }; - reviewWorkflows?: boolean; - populateCreatorFields?: boolean; - comment?: string; - version?: string; - }; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "content-type-builder/get/content_type_builder_components": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - uid: string; - category: string; - apiId: string; - schema: { - displayName: string; - description: string; - icon?: string; - connection?: string; - collectionName?: string; - attributes: { - [key: string]: { - /** @constant */ - type: "media"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - multiple: boolean; - required?: boolean; - allowedTypes?: string[]; - } | { - /** @constant */ - type: "relation"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - relation: string; - target: string; - targetAttribute: string | null; - autoPopulate?: boolean; - mappedBy?: string; - inversedBy?: string; - } | { - /** @constant */ - type: "component"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - component: string; - repeatable: boolean; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "dynamiczone"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - components: string[]; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "uid"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - targetField?: string; - } | { - type: string; - required?: boolean; - unique?: boolean; - default?: unknown; - min?: number | string; - max?: number | string; - minLength?: number; - maxLength?: number; - enum?: string[]; - regex?: string; - private?: boolean; - configurable?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - }; - }; - pluginOptions?: { - [key: string]: unknown; - }; - }; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "content-type-builder/get/content_type_builder_components_by_uid": { - parameters: { - query?: never; - header?: never; - path: { - uid: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - data: { - uid: string; - category: string; - apiId: string; - schema: { - displayName: string; - description: string; - icon?: string; - connection?: string; - collectionName?: string; - attributes: { - [key: string]: { - /** @constant */ - type: "media"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - multiple: boolean; - required?: boolean; - allowedTypes?: string[]; - } | { - /** @constant */ - type: "relation"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - relation: string; - target: string; - targetAttribute: string | null; - autoPopulate?: boolean; - mappedBy?: string; - inversedBy?: string; - } | { - /** @constant */ - type: "component"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - component: string; - repeatable: boolean; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "dynamiczone"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - components: string[]; - required?: boolean; - min?: number; - max?: number; - } | { - /** @constant */ - type: "uid"; - /** @constant */ - configurable?: false; - private?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - targetField?: string; - } | { - type: string; - required?: boolean; - unique?: boolean; - default?: unknown; - min?: number | string; - max?: number | string; - minLength?: number; - maxLength?: number; - enum?: string[]; - regex?: string; - private?: boolean; - configurable?: boolean; - pluginOptions?: { - [key: string]: unknown; - }; - }; - }; - pluginOptions?: { - [key: string]: unknown; - }; - }; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "email/post/email": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - from?: string; - to: string; - cc?: string; - bcc?: string; - replyTo?: string; - subject: string; - text: string; - html?: string; - } & { - [key: string]: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": Record; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "upload/post/upload": { - parameters: { - query?: { - id?: number; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - /** Format: uuid */ - documentId: string; - name: string; - alternativeText?: string | null; - caption?: string | null; - width?: number; - height?: number; - formats?: { - [key: string]: unknown; - }; - hash: string; - ext?: string; - mime: string; - size: number; - url: string; - previewUrl?: string | null; - folder?: number; - folderPath: string; - provider: string; - provider_metadata?: { - [key: string]: unknown; - } | null; - createdAt: string; - updatedAt: string; - createdBy?: number; - updatedBy?: number; - } | { - id: number; - /** Format: uuid */ - documentId: string; - name: string; - alternativeText?: string | null; - caption?: string | null; - width?: number; - height?: number; - formats?: { - [key: string]: unknown; - }; - hash: string; - ext?: string; - mime: string; - size: number; - url: string; - previewUrl?: string | null; - folder?: number; - folderPath: string; - provider: string; - provider_metadata?: { - [key: string]: unknown; - } | null; - createdAt: string; - updatedAt: string; - createdBy?: number; - updatedBy?: number; - }[]; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "upload/get/upload_files": { - parameters: { - query?: { - fields?: string | string[]; - populate?: "*" | string | string[] | { - [key: string]: unknown; - }; - sort?: string | string[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - /** Format: uuid */ - documentId: string; - name: string; - alternativeText?: string | null; - caption?: string | null; - width?: number; - height?: number; - formats?: { - [key: string]: unknown; - }; - hash: string; - ext?: string; - mime: string; - size: number; - url: string; - previewUrl?: string | null; - folder?: number; - folderPath: string; - provider: string; - provider_metadata?: { - [key: string]: unknown; - } | null; - createdAt: string; - updatedAt: string; - createdBy?: number; - updatedBy?: number; - }[]; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "upload/get/upload_files_by_id": { - parameters: { - query?: { - fields?: string | string[]; - populate?: "*" | string | string[] | { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: number; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - /** Format: uuid */ - documentId: string; - name: string; - alternativeText?: string | null; - caption?: string | null; - width?: number; - height?: number; - formats?: { - [key: string]: unknown; - }; - hash: string; - ext?: string; - mime: string; - size: number; - url: string; - previewUrl?: string | null; - folder?: number; - folderPath: string; - provider: string; - provider_metadata?: { - [key: string]: unknown; - } | null; - createdAt: string; - updatedAt: string; - createdBy?: number; - updatedBy?: number; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "upload/delete/upload_files_by_id": { - parameters: { - query?: never; - header?: never; - path: { - id: number; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - /** Format: uuid */ - documentId: string; - name: string; - alternativeText?: string | null; - caption?: string | null; - width?: number; - height?: number; - formats?: { - [key: string]: unknown; - }; - hash: string; - ext?: string; - mime: string; - size: number; - url: string; - previewUrl?: string | null; - folder?: number; - folderPath: string; - provider: string; - provider_metadata?: { - [key: string]: unknown; - } | null; - createdAt: string; - updatedAt: string; - createdBy?: number; - updatedBy?: number; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "i18n/get/i18n_locales": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - /** Format: uuid */ - documentId: string; - name: string; - code: string; - createdAt: string; - updatedAt: string; - publishedAt: string | null; - isDefault: boolean; - }[]; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/connect_____": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_local": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - identifier: string; - password: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - jwt: string; - refreshToken?: string; - user: { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_local_register": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - username: string; - /** Format: email */ - email: string; - password: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - jwt: string; - refreshToken?: string; - user: { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - } | { - user: { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/auth_by_provider_callback": { - parameters: { - query?: never; - header?: never; - path: { - provider: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - jwt: string; - refreshToken?: string; - user: { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_forgot_password": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - /** Format: email */ - email: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - ok: boolean; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_reset_password": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - code: string; - password: string; - passwordConfirmation: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - jwt: string; - refreshToken?: string; - user: { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/auth_email_confirmation": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_send_email_confirmation": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - /** Format: email */ - email: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - email: string; - sent: boolean; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_change_password": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - currentPassword: string; - password: string; - passwordConfirmation: string; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - jwt: string; - refreshToken?: string; - user: { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_refresh": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/auth_logout": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users_count": { - parameters: { - query?: { - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": number; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users": { - parameters: { - query?: { - fields?: string | string[]; - populate?: "*" | string | string[] | { - [key: string]: unknown; - }; - sort?: string | string[] | { - [key: string]: "asc" | "desc"; - } | { - [key: string]: "asc" | "desc"; - }[]; - pagination?: { - /** @description Include total count in response */ - withCount?: boolean; - } & ({ - /** @description Page number (1-based) */ - page: number; - /** @description Number of entries per page */ - pageSize: number; - } | { - /** @description Number of entries to skip */ - start: number; - /** @description Maximum number of entries to return */ - limit: number; - }); - filters?: { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }[]; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/users": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - username: string; - /** Format: email */ - email: string; - password: string; - role?: number; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users_me": { - parameters: { - query?: { - fields?: string | string[]; - populate?: "*" | string | string[] | { - [key: string]: unknown; - }; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users_by_id": { - parameters: { - query?: { - fields?: string | string[]; - populate?: "*" | string | string[] | { - [key: string]: unknown; - }; - }; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/put/users_by_id": { - parameters: { - query?: never; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - username?: string; - /** Format: email */ - email?: string; - password?: string; - role?: number; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/delete/users_by_id": { - parameters: { - query?: never; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - id: number; - documentId: string; - username: string; - email: string; - provider: string; - confirmed: boolean; - blocked: boolean; - role?: number | { - id: number; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - }; - createdAt: string; - updatedAt: string; - publishedAt: string; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users_permissions_roles_by_id": { - parameters: { - query?: never; - header?: never; - path: { - id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - role: { - id: number; - documentId: string; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - publishedAt: string; - nb_users?: number; - permissions?: { - [key: string]: { - controllers: { - [key: string]: { - [key: string]: { - enabled: boolean; - policy: string; - }; - }; - }; - }; - }; - users?: unknown[]; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users_permissions_roles": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - roles: { - id: number; - documentId: string; - name: string; - description: string | null; - type: string; - createdAt: string; - updatedAt: string; - publishedAt: string; - nb_users?: number; - permissions?: { - [key: string]: { - controllers: { - [key: string]: { - [key: string]: { - enabled: boolean; - policy: string; - }; - }; - }; - }; - }; - users?: unknown[]; - }[]; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/post/users_permissions_roles": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - name: string; - description?: string; - type: string; - permissions?: { - [key: string]: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - ok: boolean; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/put/users_permissions_roles_by_role": { - parameters: { - query?: never; - header?: never; - path: { - role: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": { - name?: string; - description?: string; - type?: string; - permissions?: { - [key: string]: unknown; - }; - }; - }; - }; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - ok: boolean; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/delete/users_permissions_roles_by_role": { - parameters: { - query?: never; - header?: never; - path: { - role: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - ok: boolean; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; - "users-permissions/get/users_permissions_permissions": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description OK */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": { - permissions: { - [key: string]: { - controllers: { - [key: string]: { - [key: string]: { - enabled: boolean; - policy: string; - }; - }; - }; - }; - }; - }; - }; - }; - /** @description Bad request */ - 400: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Unauthorized */ - 401: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Forbidden */ - 403: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Not found */ - 404: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Internal server error */ - 500: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - }; -} diff --git a/package.json b/package.json index 80d95e01..1832b358 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "deploy:staging": "CLOUDFLARE_ENV=staging vite build && wrangler deploy", "lint": "oxlint", "typecheck": "tsc", - "gen:strapi-types": "openapi-typescript ./specification.json -o ./app/types/strapi-api.ts" + "strapi:contract": "node scripts/check-strapi-contract.mjs" }, "dependencies": { "@fullcalendar/core": "7.0.0-rc.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1aa5ff4..25060caf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,7 +34,7 @@ importers: version: 1.130.17(@tanstack/react-query@5.100.1(react@18.3.1))(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@tanstack/router-core@1.168.15)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-start': specifier: ^1.167.13 - version: 1.167.43(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + version: 1.167.43(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) '@turf/bbox': specifier: ^7.2.0 version: 7.3.5 @@ -116,7 +116,7 @@ importers: devDependencies: '@cloudflare/vite-plugin': specifier: ^1.0.0 - version: 1.33.1(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))(workerd@1.20260421.1)(wrangler@4.84.1) + version: 1.33.1(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))(workerd@1.20260421.1)(wrangler@4.84.1) '@rsbuild/core': specifier: ^2.0.2 version: 2.0.2 @@ -125,7 +125,7 @@ importers: version: 0.5.19(tailwindcss@4.2.4) '@tailwindcss/vite': specifier: ^4.2.4 - version: 4.2.4(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + version: 4.2.4(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) '@types/react': specifier: ^18.2.20 version: 18.3.28 @@ -137,7 +137,7 @@ importers: version: 7.7.20 '@vitejs/plugin-react': specifier: ^4.3.0 - version: 4.7.0(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + version: 4.7.0(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) openapi-typescript: specifier: ^7.13.0 version: 7.13.0(typescript@5.9.3) @@ -155,10 +155,10 @@ importers: version: 11.0.5 vite: specifier: ^7.3.1 - version: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + version: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) vite-tsconfig-paths: specifier: ^4.2.1 - version: 4.3.2(typescript@5.9.3)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + version: 4.3.2(typescript@5.9.3)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) wrangler: specifier: ^4.84.1 version: 4.84.1 @@ -3728,6 +3728,11 @@ packages: yaml-ast-parser@0.0.43: resolution: {integrity: sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==} + yaml@2.9.0: + resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==} + engines: {node: '>= 14.6'} + hasBin: true + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -3887,12 +3892,12 @@ snapshots: optionalDependencies: workerd: 1.20260421.1 - '@cloudflare/vite-plugin@1.33.1(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))(workerd@1.20260421.1)(wrangler@4.84.1)': + '@cloudflare/vite-plugin@1.33.1(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))(workerd@1.20260421.1)(wrangler@4.84.1)': dependencies: '@cloudflare/unenv-preset': 2.16.0(unenv@2.0.0-rc.24)(workerd@1.20260421.1) miniflare: 4.20260421.0 unenv: 2.0.0-rc.24 - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) wrangler: 4.84.1 ws: 8.18.0 transitivePeerDependencies: @@ -5398,12 +5403,12 @@ snapshots: postcss-selector-parser: 6.0.10 tailwindcss: 4.2.4 - '@tailwindcss/vite@4.2.4(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))': + '@tailwindcss/vite@4.2.4(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))': dependencies: '@tailwindcss/node': 4.2.4 '@tailwindcss/oxide': 4.2.4 tailwindcss: 4.2.4 - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) '@tanstack/history@1.161.6': {} @@ -5439,7 +5444,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@tanstack/react-start-rsc@0.0.22(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))': + '@tanstack/react-start-rsc@0.0.22(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))': dependencies: '@tanstack/react-router': 1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-start-server': 1.166.41(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -5447,7 +5452,7 @@ snapshots: '@tanstack/router-utils': 1.161.7 '@tanstack/start-client-core': 1.167.17 '@tanstack/start-fn-stubs': 1.161.6 - '@tanstack/start-plugin-core': 1.168.0(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + '@tanstack/start-plugin-core': 1.168.0(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) '@tanstack/start-server-core': 1.167.19 '@tanstack/start-storage-context': 1.166.29 pathe: 2.0.3 @@ -5475,20 +5480,20 @@ snapshots: transitivePeerDependencies: - crossws - '@tanstack/react-start@1.167.43(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))': + '@tanstack/react-start@1.167.43(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))': dependencies: '@tanstack/react-router': 1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/react-start-client': 1.166.40(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@tanstack/react-start-rsc': 0.0.22(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + '@tanstack/react-start-rsc': 0.0.22(@rsbuild/core@2.0.2)(@rspack/core@2.0.0(@swc/helpers@0.5.21))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) '@tanstack/react-start-server': 1.166.41(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@tanstack/router-utils': 1.161.7 '@tanstack/start-client-core': 1.167.17 - '@tanstack/start-plugin-core': 1.168.0(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + '@tanstack/start-plugin-core': 1.168.0(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) '@tanstack/start-server-core': 1.167.19 pathe: 2.0.3 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) optionalDependencies: '@rsbuild/core': 2.0.2 transitivePeerDependencies: @@ -5526,7 +5531,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@tanstack/router-plugin@1.167.23(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))': + '@tanstack/router-plugin@1.167.23(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))': dependencies: '@babel/core': 7.29.0 '@babel/plugin-syntax-jsx': 7.28.6(@babel/core@7.29.0) @@ -5544,7 +5549,7 @@ snapshots: optionalDependencies: '@rsbuild/core': 2.0.2 '@tanstack/react-router': 1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) transitivePeerDependencies: - supports-color @@ -5571,7 +5576,7 @@ snapshots: '@tanstack/start-fn-stubs@1.161.6': {} - '@tanstack/start-plugin-core@1.168.0(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))': + '@tanstack/start-plugin-core@1.168.0(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))': dependencies: '@babel/code-frame': 7.27.1 '@babel/core': 7.29.0 @@ -5579,7 +5584,7 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.40 '@tanstack/router-core': 1.168.15 '@tanstack/router-generator': 1.166.33 - '@tanstack/router-plugin': 1.167.23(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + '@tanstack/router-plugin': 1.167.23(@rsbuild/core@2.0.2)(@tanstack/react-router@1.168.23(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) '@tanstack/router-utils': 1.161.7 '@tanstack/start-client-core': 1.167.17 '@tanstack/start-server-core': 1.167.19 @@ -5592,8 +5597,8 @@ snapshots: srvx: 0.11.15 tinyglobby: 0.2.16 ufo: 1.6.3 - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) - vitefu: 1.1.3(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) + vitefu: 1.1.3(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)) xmlbuilder2: 4.0.3 zod: 3.25.76 optionalDependencies: @@ -5728,7 +5733,7 @@ snapshots: optionalDependencies: maplibre-gl: 5.24.0 - '@vitejs/plugin-react@4.7.0(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0))': + '@vitejs/plugin-react@4.7.0(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0))': dependencies: '@babel/core': 7.29.0 '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/core@7.29.0) @@ -5736,7 +5741,7 @@ snapshots: '@rolldown/pluginutils': 1.0.0-beta.27 '@types/babel__core': 7.20.5 react-refresh: 0.17.0 - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) transitivePeerDependencies: - supports-color @@ -7352,18 +7357,18 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite-tsconfig-paths@4.3.2(typescript@5.9.3)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)): + vite-tsconfig-paths@4.3.2(typescript@5.9.3)(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)): dependencies: debug: 4.4.3(supports-color@10.2.2) globrex: 0.1.2 tsconfck: 3.1.6(typescript@5.9.3) optionalDependencies: - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) transitivePeerDependencies: - supports-color - typescript - vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0): + vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0): dependencies: esbuild: 0.27.7 fdir: 6.5.0(picomatch@4.0.4) @@ -7376,10 +7381,11 @@ snapshots: jiti: 2.6.1 lightningcss: 1.32.0 tsx: 4.21.0 + yaml: 2.9.0 - vitefu@1.1.3(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)): + vitefu@1.1.3(vite@7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0)): optionalDependencies: - vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0) + vite: 7.3.2(jiti@2.6.1)(lightningcss@1.32.0)(tsx@4.21.0)(yaml@2.9.0) webpack-virtual-modules@0.6.2: {} @@ -7426,6 +7432,9 @@ snapshots: yaml-ast-parser@0.0.43: {} + yaml@2.9.0: + optional: true + yargs-parser@21.1.1: {} youch-core@0.3.3: diff --git a/scripts/check-strapi-contract.mjs b/scripts/check-strapi-contract.mjs new file mode 100644 index 00000000..90a2591c --- /dev/null +++ b/scripts/check-strapi-contract.mjs @@ -0,0 +1,65 @@ +/** + * Snapshot do contrato de content types do Strapi, para detectar mudanças. + * + * pnpm strapi:contract # atualiza o snapshot + * pnpm strapi:contract --check # falha se divergir (CI) + * STRAPI_SPEC_URL=http://localhost:1337/api/openapi.json pnpm strapi:contract + * + * Guarda só `components.schemas` da spec OpenAPI. Os 64 paths ficam de fora + * porque mudam por motivos que não nos afetam (rotas internas de auth, upload) + * e porque a spec do Strapi 5 é experimental e sai com defeitos justamente + * neles — `/auth/sessions/{sessionId}` declara um parâmetro que não define. + * + * Deliberadamente NÃO geramos tipos nem schemas Zod a partir daqui. A spec + * erra o formato da chave primária: declara `documentId` como uuid, e o + * Strapi 5 emite cuid (`erndppywooar0fq6v99l2y5m`). Nenhum documento real + * passaria numa validação derivada dela. O snapshot serve para revisão + * humana — mostra no PR o que mudou no contrato, e alguém decide se algum + * schema escrito à mão em app/queries/ precisa acompanhar. + */ + +import { readFileSync, writeFileSync, existsSync } from "node:fs"; + +const SPEC_URL = + process.env.STRAPI_SPEC_URL ?? "https://strapi.ameciclo.org/api/openapi.json"; +const OUT = "strapi-contract.json"; +const check = process.argv.includes("--check"); + +const res = await fetch(SPEC_URL); +if (!res.ok) { + console.error(`Falha ao buscar a spec: ${res.status} ${SPEC_URL}`); + process.exit(1); +} + +const spec = await res.json(); +const schemas = spec.components?.schemas; + +if (!schemas || Object.keys(schemas).length === 0) { + console.error("A spec não trouxe components.schemas — abortando."); + process.exit(1); +} + +// Ordena as chaves para o snapshot não oscilar com a ordem que a API devolve. +const sorted = Object.fromEntries( + Object.keys(schemas) + .sort() + .map((k) => [k, schemas[k]]) +); +const snapshot = JSON.stringify(sorted, null, 2) + "\n"; +const count = Object.keys(sorted).length; + +if (check) { + const current = existsSync(OUT) ? readFileSync(OUT, "utf8") : ""; + if (current !== snapshot) { + console.error( + `\n${OUT} está desatualizado em relação a ${SPEC_URL}.\n` + + `Rode \`pnpm strapi:contract\`, revise o diff e verifique se algum\n` + + `schema Zod em app/queries/ precisa acompanhar a mudança.` + ); + process.exit(1); + } + console.log(`${OUT} está em dia (${count} schemas).`); +} else { + writeFileSync(OUT, snapshot); + console.log(`${OUT} atualizado a partir de ${SPEC_URL} (${count} schemas).`); +} diff --git a/specification.json b/specification.json deleted file mode 100644 index dbddb0ed..00000000 --- a/specification.json +++ /dev/null @@ -1,30503 +0,0 @@ -{ - "openapi": "3.1.0", - "x-powered-by": "strapi", - "x-strapi-version": "5.39.0", - "info": { - "title": "strapi", - "description": "API documentation for strapi v0.1.0", - "version": "0.1.0" - }, - "paths": { - "/ameciclistas": { - "get": { - "operationId": "ameciclista/get/ameciclistas", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.005Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "botmember", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ameciclista" - ] - }, - "post": { - "operationId": "ameciclista/post/ameciclistas", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.013Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "botmember", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ameciclista" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.012Z", - "type": "string" - }, - "media": { - "description": "A media field" - } - }, - "required": [ - "botmember", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/ameciclistas/{id}": { - "get": { - "operationId": "ameciclista/get/ameciclistas_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.009Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "botmember", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ameciclista" - ] - }, - "put": { - "operationId": "ameciclista/put/ameciclistas_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.015Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "botmember", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ameciclista" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.014Z", - "type": "string" - }, - "media": { - "description": "A media field" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "ameciclista/delete/ameciclistas_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "bio", - "role", - "botmember", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "bio": { - "description": "A text field", - "type": "string" - }, - "role": { - "description": "An enum field", - "type": "string", - "enum": [ - "ameciclista", - "concelhofiscal", - "coordenacao" - ] - }, - "botmember": { - "description": "A boolean field", - "default": false, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.016Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "botmember", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ameciclista" - ] - } - }, - "/clippings": { - "get": { - "operationId": "clipping/get/clippings", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.019Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "project": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping" - ] - }, - "post": { - "operationId": "clipping/post/clippings", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.031Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "project": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.030Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": {} - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": {} - }, - "project": { - "description": "A relational field", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/clippings/{id}": { - "get": { - "operationId": "clipping/get/clippings_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.029Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "project": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping" - ] - }, - "put": { - "operationId": "clipping/put/clippings_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.032Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "project": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.032Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": {} - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": {} - }, - "project": { - "description": "A relational field", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "clipping/delete/clippings_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "print", - "backup_media", - "project", - "clipping_medias" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "link", - "date", - "text", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.033Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "project": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping" - ] - } - }, - "/clipping-medias": { - "get": { - "operationId": "clipping-media/get/clipping_medias", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.038Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping-media" - ] - }, - "post": { - "operationId": "clipping-media/post/clipping_medias", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.041Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping-media" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.040Z", - "type": "string" - }, - "logo": { - "description": "A media field" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/clipping-medias/{id}": { - "get": { - "operationId": "clipping-media/get/clipping_medias_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.039Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping-media" - ] - }, - "put": { - "operationId": "clipping-media/put/clipping_medias_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.042Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping-media" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.041Z", - "type": "string" - }, - "logo": { - "description": "A media field" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "clipping-media/delete/clipping_medias_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.043Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "clipping-media" - ] - } - }, - "/contagem": { - "get": { - "operationId": "contagem/get/contagem", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "counts", - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "counts", - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A string field", - "type": "string" - }, - "overal_report": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.046Z", - "type": "string" - }, - "counts": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/CountsContagensEntry" - } - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesArquivosDeApoioEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "contagem" - ] - }, - "put": { - "operationId": "contagem/put/contagem", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "counts", - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "counts", - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A string field", - "type": "string" - }, - "overal_report": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.048Z", - "type": "string" - }, - "counts": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/CountsContagensEntry" - } - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesArquivosDeApoioEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "contagem" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A string field", - "type": "string" - }, - "overal_report": { - "description": "A string field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.048Z", - "type": "string" - }, - "counts": { - "description": "A component field", - "type": "array", - "items": {} - }, - "cover": { - "description": "A media field" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": {} - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "contagem/delete/contagem", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "counts", - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "counts", - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A string field", - "type": "string" - }, - "overal_report": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.049Z", - "type": "string" - }, - "counts": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/CountsContagensEntry" - } - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesArquivosDeApoioEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "contagem" - ] - } - }, - "/documents": { - "get": { - "operationId": "document/get/documents", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.051Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "isOurs", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "document" - ] - }, - "post": { - "operationId": "document/post/documents", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.056Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "isOurs", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "document" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.054Z", - "type": "string" - }, - "cover": { - "description": "A media field" - } - }, - "required": [ - "isOurs", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/documents/{id}": { - "get": { - "operationId": "document/get/documents_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.053Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "isOurs", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "document" - ] - }, - "put": { - "operationId": "document/put/documents_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.057Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "isOurs", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "document" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.057Z", - "type": "string" - }, - "cover": { - "description": "A media field" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "document/delete/documents_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "type", - "release_date", - "description", - "isOurs", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.058Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "isOurs", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "document" - ] - } - }, - "/documento": { - "get": { - "operationId": "documento/get/documento", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objectives", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "description", - "objectives", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objectives": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.059Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesDocumentosDisponobilizadosEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "documento" - ] - }, - "put": { - "operationId": "documento/put/documento", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objectives", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objectives": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.061Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesDocumentosDisponobilizadosEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "documento" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "description": { - "description": "A text field", - "type": "string" - }, - "objectives": { - "description": "A text field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.060Z", - "type": "string" - }, - "cover": { - "description": "A media field" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": {} - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "documento/delete/documento", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objectives", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objectives": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.061Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesDocumentosDisponobilizadosEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "documento" - ] - } - }, - "/faqs": { - "get": { - "operationId": "faq/get/faqs", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faq_tags" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faq_tags" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.064Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq" - ] - }, - "post": { - "operationId": "faq/post/faqs", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faq_tags" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faq_tags" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.068Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.067Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/faqs/{id}": { - "get": { - "operationId": "faq/get/faqs_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faq_tags" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faq_tags" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.066Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq" - ] - }, - "put": { - "operationId": "faq/put/faqs_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faq_tags" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faq_tags" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.069Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.068Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "faq/delete/faqs_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faq_tags" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faq_tags" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "description", - "answer", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.070Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq" - ] - } - }, - "/faq-tags": { - "get": { - "operationId": "faq-tag/get/faq_tags", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faqs" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faqs" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.071Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqFaqDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq-tag" - ] - }, - "post": { - "operationId": "faq-tag/post/faq_tags", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faqs" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faqs" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.075Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqFaqDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq-tag" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.075Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/faq-tags/{id}": { - "get": { - "operationId": "faq-tag/get/faq_tags_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faqs" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faqs" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.074Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqFaqDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq-tag" - ] - }, - "put": { - "operationId": "faq-tag/put/faq_tags_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faqs" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faqs" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.076Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqFaqDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq-tag" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.076Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "faq-tag/delete/faq_tags_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "faqs" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "faqs" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "slug", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.077Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqFaqDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "faq-tag" - ] - } - }, - "/home": { - "get": { - "operationId": "home/get/home", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "participation_url", - "donate_url", - "association_url", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "banner", - "projects", - "products" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "banner", - "projects", - "products" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "participation_url", - "donate_url", - "association_url", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "participation_url": { - "description": "A string field", - "type": "string" - }, - "donate_url": { - "description": "A string field", - "type": "string" - }, - "association_url": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.078Z", - "type": "string" - }, - "banner": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "projects": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "products": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProductProductDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "home" - ] - }, - "put": { - "operationId": "home/put/home", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "participation_url", - "donate_url", - "association_url", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "banner", - "projects", - "products" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "banner", - "projects", - "products" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "participation_url": { - "description": "A string field", - "type": "string" - }, - "donate_url": { - "description": "A string field", - "type": "string" - }, - "association_url": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.080Z", - "type": "string" - }, - "banner": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "projects": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "products": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProductProductDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "home" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "participation_url": { - "description": "A string field", - "type": "string" - }, - "donate_url": { - "description": "A string field", - "type": "string" - }, - "association_url": { - "description": "A string field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.079Z", - "type": "string" - }, - "banner": { - "description": "A media field" - }, - "projects": { - "description": "A relational field", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "products": { - "description": "A relational field", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "home/delete/home", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "participation_url", - "donate_url", - "association_url", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "banner", - "projects", - "products" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "banner", - "projects", - "products" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "participation_url": { - "description": "A string field", - "type": "string" - }, - "donate_url": { - "description": "A string field", - "type": "string" - }, - "association_url": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.082Z", - "type": "string" - }, - "banner": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "projects": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "products": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProductProductDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "home" - ] - } - }, - "/ideciclo": { - "get": { - "operationId": "ideciclo/get/ideciclo", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.083Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesArquivosDeApoioEntry" - } - } - }, - "required": [ - "documentId", - "id", - "methodology", - "overal_report", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ideciclo" - ] - }, - "put": { - "operationId": "ideciclo/put/ideciclo", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.085Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesArquivosDeApoioEntry" - } - } - }, - "required": [ - "documentId", - "id", - "methodology", - "overal_report", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ideciclo" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.084Z", - "type": "string" - }, - "cover": { - "description": "A media field" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": {} - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "ideciclo/delete/ideciclo", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "archives" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "archives" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.085Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "archives": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ArchivesArquivosDeApoioEntry" - } - } - }, - "required": [ - "documentId", - "id", - "methodology", - "overal_report", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "ideciclo" - ] - } - }, - "/paginas-da-plataformas": { - "get": { - "operationId": "paginas-da-plataforma/get/paginas_da_plataformas", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Fetch documents based on their status. Default to \"published\" if not specified.", - "type": "string", - "enum": [ - "draft", - "published" - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "hasPublishedVersion", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filter documents by whether they have a published version. Use with status=draft to find documents that have never been published", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "string", - "enum": [ - "true", - "false" - ] - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.087Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" - } - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiDocumentDocumentDocument" - } - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "paginas-da-plataforma" - ] - }, - "post": { - "operationId": "paginas-da-plataforma/post/paginas_da_plataformas", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Fetch documents based on their status. Default to \"published\" if not specified.", - "type": "string", - "enum": [ - "draft", - "published" - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "hasPublishedVersion", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filter documents by whether they have a published version. Use with status=draft to find documents that have never been published", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "string", - "enum": [ - "true", - "false" - ] - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.094Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" - } - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiDocumentDocumentDocument" - } - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "paginas-da-plataforma" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.093Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": {} - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/paginas-da-plataformas/{id}": { - "get": { - "operationId": "paginas-da-plataforma/get/paginas_da_plataformas_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Fetch documents based on their status. Default to \"published\" if not specified.", - "type": "string", - "enum": [ - "draft", - "published" - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "hasPublishedVersion", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filter documents by whether they have a published version. Use with status=draft to find documents that have never been published", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "string", - "enum": [ - "true", - "false" - ] - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.092Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" - } - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiDocumentDocumentDocument" - } - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "paginas-da-plataforma" - ] - }, - "put": { - "operationId": "paginas-da-plataforma/put/paginas_da_plataformas_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Fetch documents based on their status. Default to \"published\" if not specified.", - "type": "string", - "enum": [ - "draft", - "published" - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "hasPublishedVersion", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filter documents by whether they have a published version. Use with status=draft to find documents that have never been published", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "string", - "enum": [ - "true", - "false" - ] - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.095Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" - } - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiDocumentDocumentDocument" - } - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "paginas-da-plataforma" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.095Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": {} - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "paginas-da-plataforma/delete/paginas_da_plataformas_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "titledBox", - "documentos", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "methodology", - "report", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "status", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Fetch documents based on their status. Default to \"published\" if not specified.", - "type": "string", - "enum": [ - "draft", - "published" - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "hasPublishedVersion", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filter documents by whether they have a published version. Use with status=draft to find documents that have never been published", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "string", - "enum": [ - "true", - "false" - ] - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.096Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" - } - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiDocumentDocumentDocument" - } - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "paginas-da-plataforma" - ] - } - }, - "/partners": { - "get": { - "operationId": "partner/get/partners", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.098Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "sponsor", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "partner" - ] - }, - "post": { - "operationId": "partner/post/partners", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.102Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "sponsor", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "partner" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.102Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": {} - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "sponsor", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/partners/{id}": { - "get": { - "operationId": "partner/get/partners_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.101Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "sponsor", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "partner" - ] - }, - "put": { - "operationId": "partner/put/partners_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.103Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "sponsor", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "partner" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.103Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": {} - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "partner/delete/partners_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "logo", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "logo", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "url", - "sponsor", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.104Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "sponsor", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "partner" - ] - } - }, - "/perfil": { - "get": { - "operationId": "perfil/get/perfil", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.105Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "methodology", - "overal_report", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "perfil" - ] - }, - "put": { - "operationId": "perfil/put/perfil", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.107Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "methodology", - "overal_report", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "perfil" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.106Z", - "type": "string" - }, - "cover": { - "description": "A media field" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "perfil/delete/perfil", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "objective", - "methodology", - "overal_report", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "overal_report": { - "description": "A richtext field", - "default": "Breve", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.108Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "methodology", - "overal_report", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "perfil" - ] - } - }, - "/plataforma-de-dado": { - "get": { - "operationId": "plataforma-de-dado/get/plataforma_de_dado", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "partners" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "partners" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.109Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "partners": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PartnersParceirosEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "plataforma-de-dado" - ] - }, - "put": { - "operationId": "plataforma-de-dado/put/plataforma_de_dado", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "partners" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "partners" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.111Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "partners": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PartnersParceirosEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "plataforma-de-dado" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "description": { - "description": "A text field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.110Z", - "type": "string" - }, - "cover": { - "description": "A media field" - }, - "partners": { - "description": "A component field", - "type": "array", - "items": {} - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "plataforma-de-dado/delete/plataforma_de_dado", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "cover", - "partners" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "cover", - "partners" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "description": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.111Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "partners": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PartnersParceirosEntry" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "plataforma-de-dado" - ] - } - }, - "/posts": { - "get": { - "operationId": "post/get/posts", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.113Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPostPostDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "post" - ] - }, - "post": { - "operationId": "post/post/posts", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.118Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPostPostDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "post" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.117Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field" - } - }, - "required": [ - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/posts/{id}": { - "get": { - "operationId": "post/get/posts_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.114Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPostPostDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "post" - ] - }, - "put": { - "operationId": "post/put/posts_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.119Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPostPostDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "post" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.119Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "post/delete/posts_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "featuredImage", - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "subtitle", - "category", - "body", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.120Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPostPostDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "post" - ] - } - }, - "/products": { - "get": { - "operationId": "product/get/products", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.122Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "product" - ] - }, - "post": { - "operationId": "product/post/products", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.127Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "product" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "A float field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.125Z", - "type": "string" - }, - "media": { - "description": "A media field" - } - }, - "required": [ - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/products/{id}": { - "get": { - "operationId": "product/get/products_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.124Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "product" - ] - }, - "put": { - "operationId": "product/put/products_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.128Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "product" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "A float field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.128Z", - "type": "string" - }, - "media": { - "description": "A media field" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "product/delete/products_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "url", - "desc", - "units", - "value", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.129Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "product" - ] - } - }, - "/projects": { - "get": { - "operationId": "project/get/projects", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.132Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "products": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ProductsProdutosEntry" - } - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "steps": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/StepsDestaquesEntry" - } - }, - "workgroup": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPartnerPartnerDocument" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "long_description", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "project" - ] - }, - "post": { - "operationId": "project/post/projects", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.139Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "products": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ProductsProdutosEntry" - } - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "steps": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/StepsDestaquesEntry" - } - }, - "workgroup": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPartnerPartnerDocument" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "long_description", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "project" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.138Z", - "type": "string" - }, - "media": { - "description": "A media field" - }, - "cover": { - "description": "A media field" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": {} - }, - "products": { - "description": "A component field", - "type": "array", - "items": {} - }, - "Links": { - "description": "A component field", - "type": "array", - "items": {} - }, - "steps": { - "description": "A component field", - "type": "array", - "items": {} - }, - "workgroup": { - "description": "A relational field", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "long_description", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/projects/{id}": { - "get": { - "operationId": "project/get/projects_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.136Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "products": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ProductsProdutosEntry" - } - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "steps": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/StepsDestaquesEntry" - } - }, - "workgroup": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPartnerPartnerDocument" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "long_description", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "project" - ] - }, - "put": { - "operationId": "project/put/projects_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.141Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "products": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ProductsProdutosEntry" - } - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "steps": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/StepsDestaquesEntry" - } - }, - "workgroup": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPartnerPartnerDocument" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "long_description", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "project" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "string", - "enum": [ - "0", - "1", - "t", - "true", - "f", - "false" - ] - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.141Z", - "type": "string" - }, - "media": { - "description": "A media field" - }, - "cover": { - "description": "A media field" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": {} - }, - "products": { - "description": "A component field", - "type": "array", - "items": {} - }, - "Links": { - "description": "A component field", - "type": "array", - "items": {} - }, - "steps": { - "description": "A component field", - "type": "array", - "items": {} - }, - "workgroup": { - "description": "A relational field", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "project/delete/projects_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "media", - "cover", - "gallery", - "products", - "Links", - "steps", - "workgroup", - "partners", - "clippings" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "project_status", - "startDate", - "endDate", - "isHighlighted", - "showTitle", - "bikeCulture", - "instArticulation", - "politicIncidence", - "goal", - "description", - "slug", - "long_description", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.145Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "products": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ProductsProdutosEntry" - } - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "steps": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/StepsDestaquesEntry" - } - }, - "workgroup": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPartnerPartnerDocument" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "long_description", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "project" - ] - } - }, - "/proposals": { - "get": { - "operationId": "proposal/get/proposals", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.147Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProposalProposalDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "text", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "proposal" - ] - }, - "post": { - "operationId": "proposal/post/proposals", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.150Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProposalProposalDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "text", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "proposal" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.150Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - } - }, - "required": [ - "title", - "text", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/proposals/{id}": { - "get": { - "operationId": "proposal/get/proposals_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.149Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProposalProposalDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "text", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "proposal" - ] - }, - "put": { - "operationId": "proposal/put/proposals_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.152Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProposalProposalDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "text", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "proposal" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.150Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "proposal/delete/proposals_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "localizations" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "localizations" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "title", - "text", - "createdAt", - "updatedAt", - "publishedAt", - "locale" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "locale", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select a locale", - "type": "string" - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.153Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProposalProposalDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "text", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "proposal" - ] - } - }, - "/quem-somo": { - "get": { - "operationId": "quem-somo/get/quem_somo", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "definition", - "objective", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "links", - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "links", - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "definition", - "objective", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "definition": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.154Z", - "type": "string" - }, - "links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "quem-somo" - ] - }, - "put": { - "operationId": "quem-somo/put/quem_somo", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "definition", - "objective", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "links", - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "links", - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "definition": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.156Z", - "type": "string" - }, - "links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "quem-somo" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "definition": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.155Z", - "type": "string" - }, - "links": { - "description": "A component field", - "type": "array", - "items": {} - }, - "cover": { - "description": "A media field" - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "quem-somo/delete/quem_somo", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "definition", - "objective", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "links", - "cover" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "links", - "cover" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "definition": { - "description": "A text field", - "type": "string" - }, - "objective": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.156Z", - "type": "string" - }, - "links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "quem-somo" - ] - } - }, - "/workgroups": { - "get": { - "operationId": "workgroup/get/workgroups", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "_q", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.158Z", - "type": "string" - }, - "icon": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "workgroup" - ] - }, - "post": { - "operationId": "workgroup/post/workgroups", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.163Z", - "type": "string" - }, - "icon": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "workgroup" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.162Z", - "type": "string" - }, - "icon": { - "description": "A media field" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": {} - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "required": [ - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/workgroups/{id}": { - "get": { - "operationId": "workgroup/get/workgroups_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the result", - "anyOf": [ - { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - { - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.161Z", - "type": "string" - }, - "icon": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "workgroup" - ] - }, - "put": { - "operationId": "workgroup/put/workgroups_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.164Z", - "type": "string" - }, - "icon": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "workgroup" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.164Z", - "type": "string" - }, - "icon": { - "description": "A media field" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": {} - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - } - }, - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "workgroup/delete/workgroups_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "The fields to return, this doesn't include populatable fields like relations, components, files, or dynamic zones", - "readOnly": true, - "type": "array", - "items": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - } - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "description": "Populate all the first level relations, components, files, and dynamic zones for the entry", - "readOnly": true, - "type": "string", - "const": "*" - }, - { - "description": "Populate a single relation, component, file, or dynamic zone", - "readOnly": true, - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - }, - { - "description": "Populate a selection of multiple relations, components, files, or dynamic zones", - "type": "array", - "items": { - "type": "string", - "enum": [ - "icon", - "Links", - "projects" - ] - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Filters to apply to the query", - "type": "object", - "propertyNames": { - "type": "string", - "enum": [ - "name", - "telegram_id", - "description", - "folder_url", - "telegram_url", - "directive", - "createdAt", - "updatedAt", - "publishedAt" - ] - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.165Z", - "type": "string" - }, - "icon": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "workgroup" - ] - } - }, - "/content-type-builder/content-types": { - "get": { - "operationId": "content-type-builder/get/content_type_builder_content_types", - "parameters": [ - { - "name": "kind", - "in": "query", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string", - "enum": [ - "collectionType", - "singleType" - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "uid": { - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - }, - "plugin": { - "type": "string" - }, - "apiID": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "singularName": { - "type": "string" - }, - "pluralName": { - "type": "string" - }, - "description": { - "type": "string" - }, - "draftAndPublish": { - "type": "boolean" - }, - "kind": { - "type": "string", - "enum": [ - "collectionType", - "singleType" - ] - }, - "collectionName": { - "type": "string" - }, - "attributes": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "media" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "multiple": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "allowedTypes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type", - "multiple" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "relation" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "relation": { - "type": "string" - }, - "target": { - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - }, - "targetAttribute": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "autoPopulate": { - "type": "boolean" - }, - "mappedBy": { - "type": "string" - }, - "inversedBy": { - "type": "string" - } - }, - "required": [ - "type", - "relation", - "target", - "targetAttribute" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "component" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "component": { - "type": "string" - }, - "repeatable": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "component", - "repeatable" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "dynamiczone" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "components": { - "type": "array", - "items": { - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - } - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "components" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "uid" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "targetField": { - "type": "string" - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "unique": { - "type": "boolean" - }, - "default": {}, - "min": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "max": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minLength": { - "type": "number" - }, - "maxLength": { - "type": "number" - }, - "enum": { - "type": "array", - "items": { - "type": "string" - } - }, - "regex": { - "type": "string" - }, - "private": { - "type": "boolean" - }, - "configurable": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "type" - ], - "additionalProperties": false - } - ] - } - }, - "visible": { - "type": "boolean" - }, - "restrictRelationsTo": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "options": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "reviewWorkflows": { - "type": "boolean" - }, - "populateCreatorFields": { - "type": "boolean" - }, - "comment": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "displayName", - "singularName", - "pluralName", - "description", - "draftAndPublish", - "kind", - "attributes", - "visible", - "restrictRelationsTo" - ], - "additionalProperties": false - } - }, - "required": [ - "uid", - "apiID", - "schema" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "content-type-builder" - ] - } - }, - "/content-type-builder/content-types/{uid}": { - "get": { - "operationId": "content-type-builder/get/content_type_builder_content_types_by_uid", - "parameters": [ - { - "name": "uid", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "uid": { - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - }, - "plugin": { - "type": "string" - }, - "apiID": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "singularName": { - "type": "string" - }, - "pluralName": { - "type": "string" - }, - "description": { - "type": "string" - }, - "draftAndPublish": { - "type": "boolean" - }, - "kind": { - "type": "string", - "enum": [ - "collectionType", - "singleType" - ] - }, - "collectionName": { - "type": "string" - }, - "attributes": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "media" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "multiple": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "allowedTypes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type", - "multiple" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "relation" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "relation": { - "type": "string" - }, - "target": { - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - }, - "targetAttribute": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "autoPopulate": { - "type": "boolean" - }, - "mappedBy": { - "type": "string" - }, - "inversedBy": { - "type": "string" - } - }, - "required": [ - "type", - "relation", - "target", - "targetAttribute" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "component" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "component": { - "type": "string" - }, - "repeatable": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "component", - "repeatable" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "dynamiczone" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "components": { - "type": "array", - "items": { - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - } - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "components" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "uid" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "targetField": { - "type": "string" - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "unique": { - "type": "boolean" - }, - "default": {}, - "min": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "max": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minLength": { - "type": "number" - }, - "maxLength": { - "type": "number" - }, - "enum": { - "type": "array", - "items": { - "type": "string" - } - }, - "regex": { - "type": "string" - }, - "private": { - "type": "boolean" - }, - "configurable": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "type" - ], - "additionalProperties": false - } - ] - } - }, - "visible": { - "type": "boolean" - }, - "restrictRelationsTo": { - "anyOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "null" - } - ] - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "options": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "reviewWorkflows": { - "type": "boolean" - }, - "populateCreatorFields": { - "type": "boolean" - }, - "comment": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "required": [ - "displayName", - "singularName", - "pluralName", - "description", - "draftAndPublish", - "kind", - "attributes", - "visible", - "restrictRelationsTo" - ], - "additionalProperties": false - } - }, - "required": [ - "uid", - "apiID", - "schema" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "content-type-builder" - ] - } - }, - "/content-type-builder/components": { - "get": { - "operationId": "content-type-builder/get/content_type_builder_components", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "uid": { - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - }, - "category": { - "type": "string" - }, - "apiId": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "description": { - "type": "string" - }, - "icon": { - "type": "string" - }, - "connection": { - "type": "string" - }, - "collectionName": { - "type": "string" - }, - "attributes": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "media" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "multiple": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "allowedTypes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type", - "multiple" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "relation" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "relation": { - "type": "string" - }, - "target": { - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - }, - "targetAttribute": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "autoPopulate": { - "type": "boolean" - }, - "mappedBy": { - "type": "string" - }, - "inversedBy": { - "type": "string" - } - }, - "required": [ - "type", - "relation", - "target", - "targetAttribute" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "component" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "component": { - "type": "string" - }, - "repeatable": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "component", - "repeatable" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "dynamiczone" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "components": { - "type": "array", - "items": { - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - } - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "components" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "uid" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "targetField": { - "type": "string" - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "unique": { - "type": "boolean" - }, - "default": {}, - "min": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "max": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minLength": { - "type": "number" - }, - "maxLength": { - "type": "number" - }, - "enum": { - "type": "array", - "items": { - "type": "string" - } - }, - "regex": { - "type": "string" - }, - "private": { - "type": "boolean" - }, - "configurable": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "type" - ], - "additionalProperties": false - } - ] - } - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "displayName", - "description", - "attributes" - ], - "additionalProperties": false - } - }, - "required": [ - "uid", - "category", - "apiId", - "schema" - ], - "additionalProperties": false - } - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "content-type-builder" - ] - } - }, - "/content-type-builder/components/{uid}": { - "get": { - "operationId": "content-type-builder/get/content_type_builder_components_by_uid", - "parameters": [ - { - "name": "uid", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "uid": { - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - }, - "category": { - "type": "string" - }, - "apiId": { - "type": "string" - }, - "schema": { - "type": "object", - "properties": { - "displayName": { - "type": "string" - }, - "description": { - "type": "string" - }, - "icon": { - "type": "string" - }, - "connection": { - "type": "string" - }, - "collectionName": { - "type": "string" - }, - "attributes": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "anyOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "media" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "multiple": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "allowedTypes": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "required": [ - "type", - "multiple" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "relation" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "relation": { - "type": "string" - }, - "target": { - "type": "string", - "pattern": "^((strapi|admin)::[\\w-]+|(api|plugin)::[\\w-]+\\.[\\w-]+)$" - }, - "targetAttribute": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "autoPopulate": { - "type": "boolean" - }, - "mappedBy": { - "type": "string" - }, - "inversedBy": { - "type": "string" - } - }, - "required": [ - "type", - "relation", - "target", - "targetAttribute" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "component" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "component": { - "type": "string" - }, - "repeatable": { - "type": "boolean" - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "component", - "repeatable" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "dynamiczone" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "components": { - "type": "array", - "items": { - "type": "string", - "pattern": "^[\\w-]+\\.[\\w-]+$" - } - }, - "required": { - "type": "boolean" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - } - }, - "required": [ - "type", - "components" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "const": "uid" - }, - "configurable": { - "type": "boolean", - "const": false - }, - "private": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "targetField": { - "type": "string" - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string" - }, - "required": { - "type": "boolean" - }, - "unique": { - "type": "boolean" - }, - "default": {}, - "min": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "max": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "minLength": { - "type": "number" - }, - "maxLength": { - "type": "number" - }, - "enum": { - "type": "array", - "items": { - "type": "string" - } - }, - "regex": { - "type": "string" - }, - "private": { - "type": "boolean" - }, - "configurable": { - "type": "boolean" - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "type" - ], - "additionalProperties": false - } - ] - } - }, - "pluginOptions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "displayName", - "description", - "attributes" - ], - "additionalProperties": false - } - }, - "required": [ - "uid", - "category", - "apiId", - "schema" - ], - "additionalProperties": false - } - }, - "required": [ - "data" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "content-type-builder" - ] - } - }, - "/email": { - "post": { - "operationId": "email/post/email", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": {}, - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "email" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "from": { - "type": "string" - }, - "to": { - "type": "string" - }, - "cc": { - "type": "string" - }, - "bcc": { - "type": "string" - }, - "replyTo": { - "type": "string" - }, - "subject": { - "type": "string" - }, - "text": { - "type": "string" - }, - "html": { - "type": "string" - } - }, - "required": [ - "to", - "subject", - "text" - ], - "additionalProperties": { - "type": "string" - } - } - } - } - } - } - }, - "/upload": { - "post": { - "operationId": "upload/post/upload", - "parameters": [ - { - "name": "id", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "type": "object", - "properties": { - "id": { - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "documentId": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "name": { - "type": "string" - }, - "alternativeText": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "width": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "height": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "formats": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "hash": { - "type": "string" - }, - "ext": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "size": { - "type": "number" - }, - "url": { - "type": "string" - }, - "previewUrl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "folder": { - "type": "number" - }, - "folderPath": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "provider_metadata": { - "anyOf": [ - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "createdBy": { - "type": "number" - }, - "updatedBy": { - "type": "number" - } - }, - "required": [ - "id", - "documentId", - "name", - "hash", - "mime", - "size", - "url", - "folderPath", - "provider", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - }, - { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "documentId": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "name": { - "type": "string" - }, - "alternativeText": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "width": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "height": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "formats": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "hash": { - "type": "string" - }, - "ext": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "size": { - "type": "number" - }, - "url": { - "type": "string" - }, - "previewUrl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "folder": { - "type": "number" - }, - "folderPath": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "provider_metadata": { - "anyOf": [ - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "createdBy": { - "type": "number" - }, - "updatedBy": { - "type": "number" - } - }, - "required": [ - "id", - "documentId", - "name", - "hash", - "mime", - "size", - "url", - "folderPath", - "provider", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - } - ] - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "upload" - ] - } - }, - "/upload/files": { - "get": { - "operationId": "upload/get/upload_files", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select specific fields to return in the response", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Specify which relations to populate in the response", - "anyOf": [ - { - "type": "string", - "const": "*" - }, - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the results by specified fields", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Apply filters to the query", - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "documentId": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "name": { - "type": "string" - }, - "alternativeText": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "width": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "height": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "formats": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "hash": { - "type": "string" - }, - "ext": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "size": { - "type": "number" - }, - "url": { - "type": "string" - }, - "previewUrl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "folder": { - "type": "number" - }, - "folderPath": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "provider_metadata": { - "anyOf": [ - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "createdBy": { - "type": "number" - }, - "updatedBy": { - "type": "number" - } - }, - "required": [ - "id", - "documentId", - "name", - "hash", - "mime", - "size", - "url", - "folderPath", - "provider", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "upload" - ] - } - }, - "/upload/files/{id}": { - "get": { - "operationId": "upload/get/upload_files_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select specific fields to return in the response", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Specify which relations to populate in the response", - "anyOf": [ - { - "type": "string", - "const": "*" - }, - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "documentId": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "name": { - "type": "string" - }, - "alternativeText": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "width": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "height": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "formats": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "hash": { - "type": "string" - }, - "ext": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "size": { - "type": "number" - }, - "url": { - "type": "string" - }, - "previewUrl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "folder": { - "type": "number" - }, - "folderPath": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "provider_metadata": { - "anyOf": [ - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "createdBy": { - "type": "number" - }, - "updatedBy": { - "type": "number" - } - }, - "required": [ - "id", - "documentId", - "name", - "hash", - "mime", - "size", - "url", - "folderPath", - "provider", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "upload" - ] - }, - "delete": { - "operationId": "upload/delete/upload_files_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "documentId": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "name": { - "type": "string" - }, - "alternativeText": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "caption": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "width": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "height": { - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "formats": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "hash": { - "type": "string" - }, - "ext": { - "type": "string" - }, - "mime": { - "type": "string" - }, - "size": { - "type": "number" - }, - "url": { - "type": "string" - }, - "previewUrl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "folder": { - "type": "number" - }, - "folderPath": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "provider_metadata": { - "anyOf": [ - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "createdBy": { - "type": "number" - }, - "updatedBy": { - "type": "number" - } - }, - "required": [ - "id", - "documentId", - "name", - "hash", - "mime", - "size", - "url", - "folderPath", - "provider", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "upload" - ] - } - }, - "/i18n/locales": { - "get": { - "operationId": "i18n/get/i18n_locales", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "documentId": { - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "name": { - "type": "string" - }, - "code": { - "type": "string", - "minLength": 2, - "maxLength": 2 - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "isDefault": { - "type": "boolean" - } - }, - "required": [ - "id", - "documentId", - "name", - "code", - "createdAt", - "updatedAt", - "publishedAt", - "isDefault" - ], - "additionalProperties": false - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "i18n" - ] - } - }, - "/connect/(.*)": { - "get": { - "operationId": "users-permissions/get/connect_____", - "parameters": [], - "responses": { - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/auth/local": { - "post": { - "operationId": "users-permissions/post/auth_local", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "jwt": { - "type": "string" - }, - "refreshToken": { - "type": "string" - }, - "user": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "jwt", - "user" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "identifier": { - "type": "string" - }, - "password": { - "type": "string" - } - }, - "required": [ - "identifier", - "password" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/auth/local/register": { - "post": { - "operationId": "users-permissions/post/auth_local_register", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "anyOf": [ - { - "type": "object", - "properties": { - "jwt": { - "type": "string" - }, - "refreshToken": { - "type": "string" - }, - "user": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "jwt", - "user" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "user": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "user" - ], - "additionalProperties": false - } - ] - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string", - "format": "email", - "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$" - }, - "password": { - "type": "string" - } - }, - "required": [ - "username", - "email", - "password" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/auth/{provider}/callback": { - "get": { - "operationId": "users-permissions/get/auth_by_provider_callback", - "parameters": [ - { - "name": "provider", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "jwt": { - "type": "string" - }, - "refreshToken": { - "type": "string" - }, - "user": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "jwt", - "user" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/auth/forgot-password": { - "post": { - "operationId": "users-permissions/post/auth_forgot_password", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "ok": { - "type": "boolean" - } - }, - "required": [ - "ok" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$" - } - }, - "required": [ - "email" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/auth/reset-password": { - "post": { - "operationId": "users-permissions/post/auth_reset_password", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "jwt": { - "type": "string" - }, - "refreshToken": { - "type": "string" - }, - "user": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "jwt", - "user" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "password": { - "type": "string" - }, - "passwordConfirmation": { - "type": "string" - } - }, - "required": [ - "code", - "password", - "passwordConfirmation" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/auth/email-confirmation": { - "get": { - "operationId": "users-permissions/get/auth_email_confirmation", - "parameters": [], - "responses": { - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/auth/send-email-confirmation": { - "post": { - "operationId": "users-permissions/post/auth_send_email_confirmation", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "email": { - "type": "string" - }, - "sent": { - "type": "boolean" - } - }, - "required": [ - "email", - "sent" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "email": { - "type": "string", - "format": "email", - "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$" - } - }, - "required": [ - "email" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/auth/change-password": { - "post": { - "operationId": "users-permissions/post/auth_change_password", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "jwt": { - "type": "string" - }, - "refreshToken": { - "type": "string" - }, - "user": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "jwt", - "user" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "currentPassword": { - "type": "string" - }, - "password": { - "type": "string" - }, - "passwordConfirmation": { - "type": "string" - } - }, - "required": [ - "currentPassword", - "password", - "passwordConfirmation" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/auth/refresh": { - "post": { - "operationId": "users-permissions/post/auth_refresh", - "parameters": [], - "responses": { - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/auth/logout": { - "post": { - "operationId": "users-permissions/post/auth_logout", - "parameters": [], - "responses": { - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/users/count": { - "get": { - "operationId": "users-permissions/get/users_count", - "parameters": [ - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Apply filters to the query", - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "number" - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/users": { - "get": { - "operationId": "users-permissions/get/users", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select specific fields to return in the response", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Specify which relations to populate in the response", - "anyOf": [ - { - "type": "string", - "const": "*" - }, - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "sort", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Sort the results by specified fields", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - }, - { - "type": "array", - "items": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "string", - "enum": [ - "asc", - "desc" - ] - } - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "pagination", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Pagination parameters", - "allOf": [ - { - "type": "object", - "properties": { - "withCount": { - "description": "Include total count in response", - "type": "boolean" - } - }, - "additionalProperties": false - }, - { - "anyOf": [ - { - "description": "Page-based pagination", - "type": "object", - "properties": { - "page": { - "description": "Page number (1-based)", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - }, - "pageSize": { - "description": "Number of entries per page", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "page", - "pageSize" - ], - "additionalProperties": false - }, - { - "description": "Offset-based pagination", - "type": "object", - "properties": { - "start": { - "description": "Number of entries to skip", - "type": "integer", - "minimum": 0, - "maximum": 9007199254740991 - }, - "limit": { - "description": "Maximum number of entries to return", - "type": "integer", - "exclusiveMinimum": 0, - "maximum": 9007199254740991 - } - }, - "required": [ - "start", - "limit" - ], - "additionalProperties": false - } - ] - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "filters", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Apply filters to the query", - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - }, - "post": { - "operationId": "users-permissions/post/users", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string", - "format": "email", - "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$" - }, - "password": { - "type": "string" - }, - "role": { - "type": "number" - } - }, - "required": [ - "username", - "email", - "password" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/users/me": { - "get": { - "operationId": "users-permissions/get/users_me", - "parameters": [ - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select specific fields to return in the response", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Specify which relations to populate in the response", - "anyOf": [ - { - "type": "string", - "const": "*" - }, - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/users/{id}": { - "get": { - "operationId": "users-permissions/get/users_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - }, - { - "name": "fields", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Select specific fields to return in the response", - "anyOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ] - }, - "x-strapi-serialize": "querystring" - }, - { - "name": "populate", - "in": "query", - "required": false, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "description": "Specify which relations to populate in the response", - "anyOf": [ - { - "type": "string", - "const": "*" - }, - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - ] - }, - "x-strapi-serialize": "querystring" - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - }, - "put": { - "operationId": "users-permissions/put/users_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string", - "format": "email", - "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$" - }, - "password": { - "type": "string" - }, - "role": { - "type": "number" - } - }, - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "users-permissions/delete/users_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "provider": { - "type": "string" - }, - "confirmed": { - "type": "boolean" - }, - "blocked": { - "type": "boolean" - }, - "role": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - } - }, - "required": [ - "id", - "name", - "description", - "type", - "createdAt", - "updatedAt" - ], - "additionalProperties": false - } - ] - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - } - }, - "required": [ - "id", - "documentId", - "username", - "email", - "provider", - "confirmed", - "blocked", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/users-permissions/roles/{id}": { - "get": { - "operationId": "users-permissions/get/users_permissions_roles_by_id", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "role": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - }, - "nb_users": { - "type": "number" - }, - "permissions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "properties": { - "controllers": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "policy": { - "type": "string" - } - }, - "required": [ - "enabled", - "policy" - ], - "additionalProperties": false - } - } - } - }, - "required": [ - "controllers" - ], - "additionalProperties": false - } - }, - "users": { - "type": "array", - "items": {} - } - }, - "required": [ - "id", - "documentId", - "name", - "description", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - }, - "required": [ - "role" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/users-permissions/roles": { - "get": { - "operationId": "users-permissions/get/users_permissions_roles", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "roles": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "documentId": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] - }, - "type": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "publishedAt": { - "type": "string" - }, - "nb_users": { - "type": "number" - }, - "permissions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "properties": { - "controllers": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "policy": { - "type": "string" - } - }, - "required": [ - "enabled", - "policy" - ], - "additionalProperties": false - } - } - } - }, - "required": [ - "controllers" - ], - "additionalProperties": false - } - }, - "users": { - "type": "array", - "items": {} - } - }, - "required": [ - "id", - "documentId", - "name", - "description", - "type", - "createdAt", - "updatedAt", - "publishedAt" - ], - "additionalProperties": false - } - } - }, - "required": [ - "roles" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - }, - "post": { - "operationId": "users-permissions/post/users_permissions_roles", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "ok": { - "type": "boolean" - } - }, - "required": [ - "ok" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "type": "string" - }, - "permissions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "required": [ - "name", - "type" - ], - "additionalProperties": false - } - } - } - } - } - }, - "/users-permissions/roles/{role}": { - "put": { - "operationId": "users-permissions/put/users_permissions_roles_by_role", - "parameters": [ - { - "name": "role", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "ok": { - "type": "boolean" - } - }, - "required": [ - "ok" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "type": { - "type": "string" - }, - "permissions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": {} - } - }, - "additionalProperties": false - } - } - } - } - }, - "delete": { - "operationId": "users-permissions/delete/users_permissions_roles_by_role", - "parameters": [ - { - "name": "role", - "in": "path", - "required": true, - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "ok": { - "type": "boolean" - } - }, - "required": [ - "ok" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - }, - "/users-permissions/permissions": { - "get": { - "operationId": "users-permissions/get/users_permissions_permissions", - "parameters": [], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "permissions": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "properties": { - "controllers": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "propertyNames": { - "type": "string" - }, - "additionalProperties": { - "type": "object", - "properties": { - "enabled": { - "type": "boolean" - }, - "policy": { - "type": "string" - } - }, - "required": [ - "enabled", - "policy" - ], - "additionalProperties": false - } - } - } - }, - "required": [ - "controllers" - ], - "additionalProperties": false - } - } - }, - "required": [ - "permissions" - ], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "Bad request" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "404": { - "description": "Not found" - }, - "500": { - "description": "Internal server error" - } - }, - "tags": [ - "users-permissions" - ] - } - } - }, - "components": { - "schemas": { - "PluginUploadFileDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "alternativeText": { - "description": "A text field", - "type": "string" - }, - "caption": { - "description": "A text field", - "type": "string" - }, - "focalPoint": { - "description": "A JSON field" - }, - "width": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "height": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "formats": { - "description": "A JSON field" - }, - "hash": { - "description": "A string field", - "type": "string" - }, - "ext": { - "description": "A string field", - "type": "string" - }, - "mime": { - "description": "A string field", - "type": "string" - }, - "size": { - "description": "A decimal field", - "type": "number" - }, - "url": { - "description": "A text field", - "type": "string" - }, - "previewUrl": { - "description": "A text field", - "type": "string" - }, - "provider": { - "description": "A string field", - "type": "string" - }, - "provider_metadata": { - "description": "A JSON field" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.007Z", - "type": "string" - }, - "related": {} - }, - "required": [ - "documentId", - "id", - "name", - "hash", - "mime", - "size", - "url", - "provider", - "publishedAt", - "related" - ], - "additionalProperties": false, - "id": "PluginUploadFileDocument" - }, - "ProductsProdutosEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "image": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "additionalProperties": false, - "id": "ProductsProdutosEntry" - }, - "LinksLinksEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - } - }, - "additionalProperties": false, - "id": "LinksLinksEntry" - }, - "StepsDestaquesEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "image": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "additionalProperties": false, - "id": "StepsDestaquesEntry" - }, - "ApiWorkgroupWorkgroupDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "telegram_id": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "folder_url": { - "description": "A string field", - "type": "string" - }, - "telegram_url": { - "description": "A string field", - "type": "string" - }, - "directive": { - "description": "An enum field", - "type": "string", - "enum": [ - "articular", - "incidir", - "cultuar", - "fortalecer" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.023Z", - "type": "string" - }, - "icon": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiWorkgroupWorkgroupDocument" - }, - "ApiPartnerPartnerDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "sponsor": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.024Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "projects": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProjectProjectDocument" - } - } - }, - "required": [ - "documentId", - "id", - "sponsor", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiPartnerPartnerDocument" - }, - "ApiClippingMediaClippingMediaDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "blog", - "independente", - "jornal", - "revista", - "podcast", - "portal", - "televisao", - "radio", - "redessociais", - "outros" - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.027Z", - "type": "string" - }, - "logo": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiClippingMediaClippingMediaDocument" - }, - "ApiClippingClippingDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "text": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.027Z", - "type": "string" - }, - "print": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "backup_media": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "project": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiProjectProjectDocument" - }, - "clipping_medias": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiClippingClippingDocument" - }, - "ApiProjectProjectDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "name": { - "description": "A string field", - "type": "string" - }, - "project_status": { - "description": "An enum field", - "type": "string", - "enum": [ - "ongoing", - "finished", - "paused" - ] - }, - "startDate": { - "description": "A date field", - "type": "string" - }, - "endDate": { - "description": "A date field", - "type": "string" - }, - "isHighlighted": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "showTitle": { - "description": "A boolean field", - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "bikeCulture": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "instArticulation": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "politicIncidence": { - "description": "An enum field", - "type": "string", - "enum": [ - "low", - "medium", - "high" - ] - }, - "goal": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "long_description": { - "description": "A blocks field", - "type": "array", - "items": {} - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.021Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "gallery": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "products": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ProductsProdutosEntry" - } - }, - "Links": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/LinksLinksEntry" - } - }, - "steps": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/StepsDestaquesEntry" - } - }, - "workgroup": { - "description": "A relational field", - "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" - }, - "partners": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPartnerPartnerDocument" - } - }, - "clippings": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiClippingClippingDocument" - } - } - }, - "required": [ - "documentId", - "id", - "long_description", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiProjectProjectDocument" - }, - "CountsContagensEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "count_id": { - "description": "A string field", - "type": "string" - }, - "place": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "date": { - "description": "A date field", - "type": "string" - }, - "latitude": { - "description": "A string field", - "type": "string" - }, - "longitude": { - "description": "A string field", - "type": "string" - }, - "pictures": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "csv": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "report": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "additionalProperties": false, - "id": "CountsContagensEntry" - }, - "ArchivesArquivosDeApoioEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "filename": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "books", - "studies", - "reports", - "statements", - "legal", - "others" - ] - }, - "file": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "image": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "additionalProperties": false, - "id": "ArchivesArquivosDeApoioEntry" - }, - "ArchivesDocumentosDisponobilizadosEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": {}, - "additionalProperties": false, - "id": "ArchivesDocumentosDisponobilizadosEntry" - }, - "ApiFaqFaqDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A text field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "answer": { - "description": "A richtext field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.065Z", - "type": "string" - }, - "faq_tags": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiFaqFaqDocument" - }, - "ApiFaqTagFaqTagDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "slug": { - "description": "A string field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.065Z", - "type": "string" - }, - "faqs": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiFaqFaqDocument" - } - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiFaqTagFaqTagDocument" - }, - "ApiProductProductDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "desc": { - "description": "A text field", - "type": "string" - }, - "units": { - "description": "An integer field", - "type": "integer", - "minimum": -9007199254740991, - "maximum": 9007199254740991 - }, - "value": { - "description": "A decimal field", - "type": "number" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.079Z", - "type": "string" - }, - "media": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiProductProductDocument" - }, - "TitledBoxesExplanationBoxEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A richtext field", - "type": "string" - } - }, - "additionalProperties": false, - "id": "TitledBoxesExplanationBoxEntry" - }, - "ApiDocumentDocumentDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "url": { - "description": "A string field", - "type": "string" - }, - "type": { - "description": "An enum field", - "type": "string", - "enum": [ - "studies", - "books", - "other" - ] - }, - "release_date": { - "description": "A date field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "isOurs": { - "description": "A boolean field", - "default": true, - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.088Z", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - }, - "required": [ - "documentId", - "id", - "isOurs", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiDocumentDocumentDocument" - }, - "ApiPaginasDaPlataformaPaginasDaPlataformaDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "methodology": { - "description": "A richtext field", - "type": "string" - }, - "report": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.089Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "cover": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "titledBox": { - "description": "A component field", - "type": "array", - "items": { - "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" - } - }, - "documentos": { - "description": "A relational field", - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiDocumentDocumentDocument" - } - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "publishedAt", - "cover" - ], - "additionalProperties": false, - "id": "ApiPaginasDaPlataformaPaginasDaPlataformaDocument" - }, - "PartnersParceirosEntry": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "title": { - "description": "A string field", - "type": "string" - }, - "description": { - "description": "A text field", - "type": "string" - }, - "link": { - "description": "A string field", - "type": "string" - }, - "image": { - "description": "A media field", - "type": "array", - "items": { - "$ref": "#/components/schemas/PluginUploadFileDocument" - } - } - }, - "additionalProperties": false, - "id": "PartnersParceirosEntry" - }, - "ApiPostPostDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "subtitle": { - "description": "A string field", - "type": "string" - }, - "category": { - "description": "An enum field", - "type": "string", - "enum": [ - "LOA" - ] - }, - "body": { - "description": "A richtext field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.113Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "featuredImage": { - "description": "A media field", - "$ref": "#/components/schemas/PluginUploadFileDocument" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiPostPostDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "subtitle", - "body", - "publishedAt", - "featuredImage" - ], - "additionalProperties": false, - "id": "ApiPostPostDocument" - }, - "ApiProposalProposalDocument": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "type": "object", - "properties": { - "documentId": { - "description": "The document ID, represented by a UUID", - "type": "string", - "format": "uuid", - "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" - }, - "id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - } - ] - }, - "title": { - "description": "A string field", - "type": "string" - }, - "text": { - "description": "A text field", - "type": "string" - }, - "createdAt": { - "description": "A datetime field", - "type": "string" - }, - "updatedAt": { - "description": "A datetime field", - "type": "string" - }, - "publishedAt": { - "description": "A datetime field", - "default": "2026-04-23T17:37:27.148Z", - "type": "string" - }, - "locale": { - "description": "A string field", - "type": "string" - }, - "localizations": { - "description": "A relational field", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/components/schemas/ApiProposalProposalDocument" - } - } - }, - "required": [ - "documentId", - "id", - "title", - "text", - "publishedAt" - ], - "additionalProperties": false, - "id": "ApiProposalProposalDocument" - } - } - } -} \ No newline at end of file diff --git a/strapi-contract.json b/strapi-contract.json new file mode 100644 index 00000000..13dabe77 --- /dev/null +++ b/strapi-contract.json @@ -0,0 +1,1334 @@ +{ + "ApiClippingClippingDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "link": { + "description": "A string field", + "type": "string" + }, + "date": { + "description": "A date field", + "type": "string" + }, + "text": { + "description": "A richtext field", + "type": "string" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.506Z", + "type": "string" + }, + "print": { + "description": "A media field", + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "backup_media": { + "description": "A media field", + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "project": { + "description": "A relational field", + "$ref": "#/components/schemas/ApiProjectProjectDocument" + }, + "clipping_medias": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiClippingMediaClippingMediaDocument" + } + } + }, + "required": [ + "documentId", + "id", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiClippingClippingDocument" + }, + "ApiClippingMediaClippingMediaDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "name": { + "description": "A string field", + "type": "string" + }, + "url": { + "description": "A string field", + "type": "string" + }, + "type": { + "description": "An enum field", + "type": "string", + "enum": [ + "blog", + "independente", + "jornal", + "revista", + "podcast", + "portal", + "televisao", + "radio", + "redessociais", + "outros" + ] + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.508Z", + "type": "string" + }, + "logo": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "clippings": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiClippingClippingDocument" + } + } + }, + "required": [ + "documentId", + "id", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiClippingMediaClippingMediaDocument" + }, + "ApiDocumentDocumentDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "url": { + "description": "A string field", + "type": "string" + }, + "type": { + "description": "An enum field", + "type": "string", + "enum": [ + "studies", + "books", + "other" + ] + }, + "release_date": { + "description": "A date field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "isOurs": { + "description": "A boolean field", + "default": true, + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.644Z", + "type": "string" + }, + "cover": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "required": [ + "documentId", + "id", + "isOurs", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiDocumentDocumentDocument" + }, + "ApiFaqFaqDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A text field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "answer": { + "description": "A richtext field", + "type": "string" + }, + "slug": { + "description": "A string field", + "type": "string" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.594Z", + "type": "string" + }, + "faq_tags": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiFaqTagFaqTagDocument" + } + } + }, + "required": [ + "documentId", + "id", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiFaqFaqDocument" + }, + "ApiFaqTagFaqTagDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "slug": { + "description": "A string field", + "type": "string" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.593Z", + "type": "string" + }, + "faqs": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiFaqFaqDocument" + } + } + }, + "required": [ + "documentId", + "id", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiFaqTagFaqTagDocument" + }, + "ApiPaginasDaPlataformaPaginasDaPlataformaDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "methodology": { + "description": "A richtext field", + "type": "string" + }, + "report": { + "description": "A richtext field", + "type": "string" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.645Z", + "type": "string" + }, + "locale": { + "description": "A string field", + "type": "string" + }, + "cover": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "titledBox": { + "description": "A component field", + "type": "array", + "items": { + "$ref": "#/components/schemas/TitledBoxesExplanationBoxEntry" + } + }, + "documentos": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiDocumentDocumentDocument" + } + }, + "localizations": { + "description": "A relational field", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiPaginasDaPlataformaPaginasDaPlataformaDocument" + } + } + }, + "required": [ + "documentId", + "id", + "title", + "publishedAt", + "cover" + ], + "additionalProperties": false, + "id": "ApiPaginasDaPlataformaPaginasDaPlataformaDocument" + }, + "ApiPartnerPartnerDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "name": { + "description": "A string field", + "type": "string" + }, + "url": { + "description": "A string field", + "type": "string" + }, + "sponsor": { + "description": "A boolean field", + "default": true, + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.504Z", + "type": "string" + }, + "logo": { + "description": "A media field", + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "projects": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiProjectProjectDocument" + } + } + }, + "required": [ + "documentId", + "id", + "sponsor", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiPartnerPartnerDocument" + }, + "ApiPostPostDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "subtitle": { + "description": "A string field", + "type": "string" + }, + "category": { + "description": "An enum field", + "type": "string", + "enum": [ + "LOA" + ] + }, + "body": { + "description": "A richtext field", + "type": "string" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.688Z", + "type": "string" + }, + "locale": { + "description": "A string field", + "type": "string" + }, + "featuredImage": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "localizations": { + "description": "A relational field", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiPostPostDocument" + } + } + }, + "required": [ + "documentId", + "id", + "title", + "subtitle", + "body", + "publishedAt", + "featuredImage" + ], + "additionalProperties": false, + "id": "ApiPostPostDocument" + }, + "ApiProductProductDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "url": { + "description": "A string field", + "type": "string" + }, + "desc": { + "description": "A text field", + "type": "string" + }, + "units": { + "description": "An integer field", + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "value": { + "description": "A decimal field", + "type": "number" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.620Z", + "type": "string" + }, + "media": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "required": [ + "documentId", + "id", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiProductProductDocument" + }, + "ApiProjectProjectDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "name": { + "description": "A string field", + "type": "string" + }, + "project_status": { + "description": "An enum field", + "type": "string", + "enum": [ + "ongoing", + "finished", + "paused" + ] + }, + "startDate": { + "description": "A date field", + "type": "string" + }, + "endDate": { + "description": "A date field", + "type": "string" + }, + "isHighlighted": { + "description": "A boolean field", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "showTitle": { + "description": "A boolean field", + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, + "bikeCulture": { + "description": "An enum field", + "type": "string", + "enum": [ + "low", + "medium", + "high" + ] + }, + "instArticulation": { + "description": "An enum field", + "type": "string", + "enum": [ + "low", + "medium", + "high" + ] + }, + "politicIncidence": { + "description": "An enum field", + "type": "string", + "enum": [ + "low", + "medium", + "high" + ] + }, + "goal": { + "description": "A text field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "slug": { + "description": "A string field", + "type": "string" + }, + "long_description": { + "description": "A blocks field", + "type": "array", + "items": {} + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.493Z", + "type": "string" + }, + "media": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "cover": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "gallery": { + "description": "A media field", + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "products": { + "description": "A component field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ProductsProdutosEntry" + } + }, + "Links": { + "description": "A component field", + "type": "array", + "items": { + "$ref": "#/components/schemas/LinksLinksEntry" + } + }, + "steps": { + "description": "A component field", + "type": "array", + "items": { + "$ref": "#/components/schemas/StepsDestaquesEntry" + } + }, + "workgroup": { + "description": "A relational field", + "$ref": "#/components/schemas/ApiWorkgroupWorkgroupDocument" + }, + "partners": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiPartnerPartnerDocument" + } + }, + "clippings": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiClippingClippingDocument" + } + } + }, + "required": [ + "documentId", + "id", + "long_description", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiProjectProjectDocument" + }, + "ApiProposalProposalDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "title": { + "description": "A string field", + "type": "string" + }, + "text": { + "description": "A text field", + "type": "string" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.757Z", + "type": "string" + }, + "locale": { + "description": "A string field", + "type": "string" + }, + "localizations": { + "description": "A relational field", + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiProposalProposalDocument" + } + } + }, + "required": [ + "documentId", + "id", + "title", + "text", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiProposalProposalDocument" + }, + "ApiWorkgroupWorkgroupDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "name": { + "description": "A string field", + "type": "string" + }, + "telegram_id": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "folder_url": { + "description": "A string field", + "type": "string" + }, + "telegram_url": { + "description": "A string field", + "type": "string" + }, + "directive": { + "description": "An enum field", + "type": "string", + "enum": [ + "articular", + "incidir", + "cultuar", + "fortalecer" + ] + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.501Z", + "type": "string" + }, + "icon": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "Links": { + "description": "A component field", + "type": "array", + "items": { + "$ref": "#/components/schemas/LinksLinksEntry" + } + }, + "projects": { + "description": "A relational field", + "type": "array", + "items": { + "$ref": "#/components/schemas/ApiProjectProjectDocument" + } + } + }, + "required": [ + "documentId", + "id", + "publishedAt" + ], + "additionalProperties": false, + "id": "ApiWorkgroupWorkgroupDocument" + }, + "ArchivesArquivosDeApoioEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "filename": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "release_date": { + "description": "A date field", + "type": "string" + }, + "type": { + "description": "An enum field", + "type": "string", + "enum": [ + "books", + "studies", + "reports", + "statements", + "legal", + "others" + ] + }, + "file": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "image": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "additionalProperties": false, + "id": "ArchivesArquivosDeApoioEntry" + }, + "ArchivesDocumentosDisponobilizadosEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": {}, + "additionalProperties": false, + "id": "ArchivesDocumentosDisponobilizadosEntry" + }, + "CountsContagensEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "count_id": { + "description": "A string field", + "type": "string" + }, + "place": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "date": { + "description": "A date field", + "type": "string" + }, + "latitude": { + "description": "A string field", + "type": "string" + }, + "longitude": { + "description": "A string field", + "type": "string" + }, + "pictures": { + "description": "A media field", + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "csv": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "report": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + }, + "cover": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "additionalProperties": false, + "id": "CountsContagensEntry" + }, + "LinksLinksEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "title": { + "description": "A string field", + "type": "string" + }, + "link": { + "description": "A string field", + "type": "string" + } + }, + "additionalProperties": false, + "id": "LinksLinksEntry" + }, + "PartnersParceirosEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "title": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "link": { + "description": "A string field", + "type": "string" + }, + "image": { + "description": "A media field", + "type": "array", + "items": { + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + } + }, + "additionalProperties": false, + "id": "PartnersParceirosEntry" + }, + "PluginUploadFileDocument": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "documentId": { + "description": "The document ID, represented by a UUID", + "type": "string", + "format": "uuid", + "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$" + }, + "id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] + }, + "name": { + "description": "A string field", + "type": "string" + }, + "alternativeText": { + "description": "A text field", + "type": "string" + }, + "caption": { + "description": "A text field", + "type": "string" + }, + "focalPoint": { + "description": "A JSON field" + }, + "width": { + "description": "An integer field", + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "height": { + "description": "An integer field", + "type": "integer", + "minimum": -9007199254740991, + "maximum": 9007199254740991 + }, + "formats": { + "description": "A JSON field" + }, + "hash": { + "description": "A string field", + "type": "string" + }, + "ext": { + "description": "A string field", + "type": "string" + }, + "mime": { + "description": "A string field", + "type": "string" + }, + "size": { + "description": "A decimal field", + "type": "number" + }, + "url": { + "description": "A text field", + "type": "string" + }, + "previewUrl": { + "description": "A text field", + "type": "string" + }, + "provider": { + "description": "A string field", + "type": "string" + }, + "provider_metadata": { + "description": "A JSON field" + }, + "createdAt": { + "description": "A datetime field", + "type": "string" + }, + "updatedAt": { + "description": "A datetime field", + "type": "string" + }, + "publishedAt": { + "description": "A datetime field", + "default": "2026-08-08T16:36:23.468Z", + "type": "string" + }, + "related": {} + }, + "required": [ + "documentId", + "id", + "name", + "hash", + "mime", + "size", + "url", + "provider", + "publishedAt", + "related" + ], + "additionalProperties": false, + "id": "PluginUploadFileDocument" + }, + "ProductsProdutosEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "title": { + "description": "A string field", + "type": "string" + }, + "link": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "image": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "additionalProperties": false, + "id": "ProductsProdutosEntry" + }, + "StepsDestaquesEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "title": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A text field", + "type": "string" + }, + "link": { + "description": "A string field", + "type": "string" + }, + "image": { + "description": "A media field", + "$ref": "#/components/schemas/PluginUploadFileDocument" + } + }, + "additionalProperties": false, + "id": "StepsDestaquesEntry" + }, + "TitledBoxesExplanationBoxEntry": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "type": "object", + "properties": { + "title": { + "description": "A string field", + "type": "string" + }, + "description": { + "description": "A richtext field", + "type": "string" + } + }, + "additionalProperties": false, + "id": "TitledBoxesExplanationBoxEntry" + } +}