Gravitee Applications API

Manage consumer applications

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 16

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /environments/{envId}/applications List applications in an environment · List Applications #
Ask an LLM
“Which applications exist in an environment?”
“Can I list only the applications in one environment?”
Tell an agent
List applications in environment {envId}.
Show every application in environment {envId}.
POST /environments/{envId}/applications Create an application in an environment · Create an Application #
Ask an LLM
“How do I create an application in an environment?”
“Can I set an API key mode when creating an application?”
Tell an agent
Create an application named {name} in environment {envId}.
Create an application {name} of type {type} in environment {envId}.
GET /environments/{envId}/applications/{applicationId} Get an application in an environment · Get an Application by Identifier #
Ask an LLM
“What are the details of an application in an environment?”
“Can I fetch one application by its identifier in an environment?”
Tell an agent
Get application {applicationId} in environment {envId}.
Show application {applicationId} from environment {envId}.
GET /organizations/{orgId}/environments/{envId}/applications List applications across an organization · List all the applications accessible to authenticated user #
Ask an LLM
“Which applications can I see across my organization?”
“Can I list applications by status or group across the organization?”
Tell an agent
List applications in organization {orgId} environment {envId}.
Find applications in {orgId} with status {status}.
POST /organizations/{orgId}/environments/{envId}/applications Create an application in an organization · Create an application #
Ask an LLM
“How do I create an application at the organization level?”
“Can I set a client ID and domain when creating an application?”
Tell an agent
Create an application {name} in organization {orgId} environment {envId}.
Create application {name} with description {description} and domain {domain} in {orgId}/{envId}.
GET /organizations/{orgId}/environments/{envId}/applications/_paged List applications across an organization with paging · List all the applications accessible to authenticated user #
Ask an LLM
“Can I page through all applications across my organization?”
“Which applications are archived in an organization?”
Tell an agent
List all applications in organization {orgId} environment {envId}.
Show {size} applications at page {page} in {orgId}/{envId}.
GET /organizations/{orgId}/environments/{envId}/applications/hooks List application hooks available in an environment · Get the list of available hooks #
Ask an LLM
“Which application hooks can I configure in an environment?”
“What hook types are supported for applications?”
Tell an agent
List application hooks in environment {envId} of organization {orgId}.
Show the available application hook types for {envId}.
GET /organizations/{orgId}/environments/{envId}/applications/{application} Get an application in an organization · Get an application #
Ask an LLM
“What are the details of an application in an organization?”
“Can I fetch an application by its identifier in an organization?”
Tell an agent
Get application {application} in organization {orgId} environment {envId}.
Show application {application} from {orgId}/{envId}.
PUT /organizations/{orgId}/environments/{envId}/applications/{application} Update an application in an organization · Update an application #
Ask an LLM
“How do I rename an application in an organization?”
“Can I change an application's settings and groups?”
Tell an agent
Update application {application} in organization {orgId} environment {envId} to name {name}.
Set application {application} settings to {settings} in {orgId}/{envId}.
DELETE /organizations/{orgId}/environments/{envId}/applications/{application} Delete an application in an organization · Delete an application #
Ask an LLM
“How do I delete an application in an organization?”
“Can I remove an application by its identifier?”
Tell an agent destructive · confirm first
Delete application {application} in organization {orgId} environment {envId}.
Remove application {application} from {orgId}/{envId}.
POST /organizations/{orgId}/environments/{envId}/applications/{application}/_restore Restore an archived application · Restore the application #
Ask an LLM
“How do I restore an application I archived?”
“Can I bring back an archived application in an organization?”
Tell an agent
Restore application {application} in organization {orgId} environment {envId}.
Bring application {application} back from the archive in {orgId}/{envId}.
GET /organizations/{orgId}/environments/{envId}/applications/{application}/background Get an application's background image · Get the application's background #
Ask an LLM
“Where do I get the background image of an application?”
“Can I fetch an application's background in an organization?”
Tell an agent
Get the background of application {application} in organization {orgId} environment {envId}.
Show application {application}'s background image in {orgId}/{envId}.
GET /organizations/{orgId}/environments/{envId}/applications/{application}/configuration Get an application's type definition · Get application type definition of an application #
Ask an LLM
“What type definition is configured for an application?”
“Can I read an application's type configuration?”
Tell an agent
Get the type configuration of application {application} in organization {orgId} environment {envId}.
Show application {application}'s type definition in {orgId}/{envId}.
GET /organizations/{orgId}/environments/{envId}/applications/{application}/notifiers List notifiers for an application · List available notifiers for application #
Ask an LLM
“Which notification notifiers are available for an application?”
“Can I list the application's notification settings?”
Tell an agent
List notifiers for application {application} in organization {orgId} environment {envId}.
Show the notification settings of application {application} in {orgId}/{envId}.
GET /organizations/{orgId}/environments/{envId}/applications/{application}/picture Get an application's picture · Get the application's picture #
Ask an LLM
“Where do I get the logo picture of an application?”
“Can I fetch an application's picture in an organization?”
Tell an agent
Get the picture of application {application} in organization {orgId} environment {envId}.
Show application {application}'s logo image in {orgId}/{envId}.
POST /organizations/{orgId}/environments/{envId}/applications/{application}/renew_secret Renew an application's OAuth2 client secret · Renew the client secret for an OAuth2 application #
Ask an LLM
“How do I rotate the client secret of an OAuth2 application?”
“Can I issue a new client secret for an application?”
Tell an agent
Renew the client secret of application {application} in organization {orgId} environment {envId}.
Rotate application {application}'s OAuth2 secret in {orgId}/{envId}.

Documentation

Specifications

SDKs

Other Resources

🔗
ChangeLog
https://documentation.gravitee.io/apim/release-information/changelog
🔗
License
https://github.com/gravitee-io/gravitee-api-management/blob/master/LICENSE.txt
🔗
SDKs
https://github.com/gravitee-io/gravitee-clients-sdk
🔗
SDKs
https://github.com/gravitee-io/terraform-provider-apim
🔗
CLI
https://github.com/gravitee-io/graviteeio-cli
🔗
KubernetesOperator
https://github.com/gravitee-io/gravitee-kubernetes-operator
🔗
HelmChart
https://github.com/gravitee-io/helm-charts
🔗
DockerImage
https://hub.docker.com/r/graviteeio/apim-gateway
🔗
JSONLDContext
https://artifacts.apis.io/gravitee/json-ld/gravitee-context.jsonld
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_apidefinitions.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_apiv4definitions.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_apiresources.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_applications.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_subscriptions.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_managementcontexts.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_sharedpolicygroups.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_groups.yaml
🔗
KubernetesCRD
https://artifacts.apis.io/gravitee/crd/gravitee.io_notifications.yaml
🔗
Plans
https://artifacts.apis.io/gravitee/plans/gravitee-plans-pricing.yml
🔗
FinOps
https://artifacts.apis.io/gravitee/finops/gravitee-finops.yml
🔗
Reference
https://documentation.gravitee.io/am/reference/am-api-reference
🔗
ChangeLog
https://documentation.gravitee.io/am/releases-and-changelog/release-notes
🔗
License
https://github.com/gravitee-io/gravitee-access-management/blob/master/LICENSE
🔗
SDKs
https://github.com/gravitee-io/gravitee-access-management/tree/master/gravitee-am-management-api-sdk-java
🔗
HelmChart
https://github.com/gravitee-io/helm-charts/tree/master/helm/gravitee-am
🔗
DockerImage
https://hub.docker.com/r/graviteeio/am-gateway

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gravitee:gravitee-applications-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gravitee-applications-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gravitee.io APIM Management Applications API
  description: 'The Gravitee API Management (APIM) Management API is the administrative

    control plane for the Gravitee platform. It exposes endpoints to create

    and deploy APIs (both v2 "Gravitee definition v2" and v4 message-oriented

    APIs), manage plans, applications, subscriptions, API products,

    analytics, logs, users, plugins, UI customization, environments, and

    organization-level installation.


    This consolidated specification is synthesized from the upstream v2

    OpenAPI fragments in `gravitee-apim-rest-api-management-v2-rest`

    (`openapi-apis.yaml`, `openapi-environments.yaml`,

    `openapi-analytics.yaml`, `openapi-api-products.yaml`,

    `openapi-installation.yaml`, `openapi-plugins.yaml`,

    `openapi-users.yaml`, `openapi-logs.yaml`, `openapi-ui.yaml`).'
  contact:
    name: GraviteeSource Team
    url: https://gravitee.io
    email: team-apim@graviteesource.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.0.0
servers:
- url: https://{host}/management/v2
  description: APIM Management API v2 - default base URL
  variables:
    host:
      default: apim.example.com
      description: Hostname of the Gravitee APIM Management API
- url: https://{host}/management/v2/organizations/{orgId}
  description: APIM Management API v2 - per-organization base URL
  variables:
    host:
      default: apim.example.com
    orgId:
      default: DEFAULT
security:
- BasicAuth: []
- CookieAuth: []
- BearerAuth: []
tags:
- name: Applications
  description: Manage consumer applications
paths:
  /environments/{envId}/applications:
    get:
      tags:
      - Applications
      operationId: listApplications
      summary: List Applications
      parameters:
      - $ref: '#/components/parameters/EnvId'
      responses:
        '200':
          description: Applications page
    post:
      tags:
      - Applications
      operationId: createApplication
      summary: Create an Application
      parameters:
      - $ref: '#/components/parameters/EnvId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Application'
      responses:
        '201':
          description: Application created
  /environments/{envId}/applications/{applicationId}:
    get:
      tags:
      - Applications
      operationId: getApplication
      summary: Get an Application by Identifier
      parameters:
      - $ref: '#/components/parameters/EnvId'
      - in: path
        name: applicationId
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The application
  /organizations/{orgId}/environments/{envId}/applications:
    get:
      tags:
      - Applications
      summary: List all the applications accessible to authenticated user
      description: User must have MANAGEMENT_APPLICATION[READ] and PORTAL_APPLICATION[READ] permission to list applications. User must have ORGANIZATION:ADMIN role to list all ARCHIVED applications.
      operationId: getApplications
      parameters:
      - name: group
        in: query
        schema:
          type: string
      - name: query
        in: query
        schema:
          type: string
      - name: status
        in: query
        schema:
          type: string
          default: ACTIVE
      - name: ids
        in: query
        schema:
          type: array
          items:
            type: string
      - name: exclude
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - PICTURE
            - OWNER
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: User's applications
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationEntity'
        '500':
          description: Internal server error
      deprecated: true
    post:
      tags:
      - Applications
      summary: Create an application
      description: User must have MANAGEMENT_APPLICATION[CREATE] permission to create an application.
      operationId: createApplication
      parameters:
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewApplicationEntity'
        required: true
      responses:
        '201':
          description: Application successfully created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEntity'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/_paged:
    get:
      tags:
      - Applications
      summary: List all the applications accessible to authenticated user
      description: User must have MANAGEMENT_APPLICATION[READ] and PORTAL_APPLICATION[READ] permission to list applications. User must have ORGANIZATION:ADMIN role to list all ARCHIVED applications.
      operationId: getApplicationsPaged
      parameters:
      - name: group
        in: query
        schema:
          type: string
      - name: query
        in: query
        schema:
          type: string
      - name: status
        in: query
        schema:
          type: string
          default: ACTIVE
      - name: ids
        in: query
        schema:
          type: array
          items:
            type: string
      - name: order
        in: query
        schema:
          type: string
          description: By default, sort is ASC. If *field* starts with '-', the order sort is DESC. Currently, only **name** and **updated_at** are supported
          default: name
      - name: size
        in: query
        schema:
          maximum: 100
          minimum: 1
          type: integer
          format: int32
          default: 20
      - name: page
        in: query
        schema:
          minimum: 1
          type: integer
          format: int32
          default: 1
      - name: exclude
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - PICTURE
            - OWNER
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: User's applications
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationListItemPagedResult'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/hooks:
    get:
      tags:
      - Applications
      summary: Get the list of available hooks
      operationId: getApplicationHooks
      parameters:
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: List of hooks
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Hook'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}:
    get:
      tags:
      - Applications
      summary: Get an application
      description: User must have the READ permission to use this service
      operationId: getApplication
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEntity'
        '500':
          description: Internal server error
    put:
      tags:
      - Applications
      summary: Update an application
      description: User must have APPLICATION_DEFINITION[UPDATE] permission to update an application.
      operationId: updateApplication
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateApplicationEntity'
        required: true
      responses:
        '200':
          description: Updated application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEntity'
        '500':
          description: Internal server error
    delete:
      tags:
      - Applications
      summary: Delete an application
      description: User must have the DELETE permission to use this service
      operationId: deleteApplication
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '204':
          description: Application successfully deleted
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}/_restore:
    post:
      tags:
      - Applications
      summary: Restore the application
      description: User must have ORGANIZATION:ADMIN role to restore an application.
      operationId: restoreApplication
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Restored application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEntity'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}/background:
    get:
      tags:
      - Applications
      summary: Get the application's background
      description: User must have the READ permission to use this service
      operationId: getApplicationBackground
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Application's background
          content:
            '*/*':
              schema:
                type: string
                format: binary
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}/configuration:
    get:
      tags:
      - Applications
      summary: Get application type definition of an application
      description: User must have the READ permission to use this service
      operationId: getApplicationType
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: ApplicationType
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationTypeEntity'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}/notifiers:
    get:
      tags:
      - Applications
      summary: List available notifiers for application
      description: User must have the APPLICATION_NOTIFICATION[READ] permission to use this service
      operationId: getApplicationNotifiers
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: List of notifiers
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NotifierEntity'
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}/picture:
    get:
      tags:
      - Applications
      summary: Get the application's picture
      description: User must have the READ permission to use this service
      operationId: getApplicationPicture
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Application's picture
          content:
            '*/*':
              schema:
                type: string
                format: binary
        '500':
          description: Internal server error
  /organizations/{orgId}/environments/{envId}/applications/{application}/renew_secret:
    post:
      tags:
      - Applications
      summary: Renew the client secret for an OAuth2 application
      description: User must have APPLICATION_DEFINITION[UPDATE] permission to update an application.
      operationId: renewApplicationClientSecret
      parameters:
      - name: application
        in: path
        required: true
        schema:
          type: string
      - name: envId
        in: path
        description: The ID of the environment
        required: true
        schema:
          type: string
          default: DEFAULT
      - name: orgId
        in: path
        description: The ID of the Organization
        required: true
        schema:
          type: string
          default: DEFAULT
      responses:
        '200':
          description: Updated application
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationEntity'
        '500':
          description: Internal server error
components:
  schemas:
    Application:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
        type:
          type: string
          enum:
          - SIMPLE
          - BROWSER
          - WEB
          - NATIVE
          - BACKEND_TO_BACKEND
        status:
          type: string
          enum:
          - ACTIVE
          - ARCHIVED
        settings:
          type: object
          properties:
            app:
              type: object
              properties:
                client_id:
                  type: string
                type:
                  type: string
            oauth:
              type: object
    SimpleApplicationSettings:
      type: object
      properties:
        client_id:
          type: string
        type:
          type: string
    Hook:
      type: object
      properties:
        category:
          type: string
        description:
          type: string
        hidden:
          type: boolean
        label:
          type: string
        scope:
          type: string
          enum:
          - API
          - APPLICATION
          - PORTAL
          - TEMPLATES_FOR_ACTION
          - TEMPLATES_FOR_ALERT
        template:
          type: string
    OAuthClientSettings:
      type: object
      properties:
        application_type:
          type: string
        client_id:
          type: string
        client_secret:
          type: string
        client_uri:
          type: string
        grant_types:
          type: array
          items:
            type: string
        logo_uri:
          type: string
        redirect_uris:
          type: array
          items:
            type: string
        renew_client_secret_supported:
          type: boolean
        response_types:
          type: array
          items:
            type: string
    ApplicationGrantTypeEntity:
      type: object
      properties:
        name:
          type: string
        response_types:
          type: array
          items:
            type: string
        type:
          type: string
    ApplicationEntity:
      type: object
      properties:
        api_key_mode:
          $ref: '#/components/schemas/ApiKeyMode'
        background:
          type: string
        created_at:
          type: string
          description: The date (as a timestamp) when the application was created.
          format: date-time
        description:
          type: string
          description: Application's description. A short description of your App.
          example: I can use a hundred characters to describe this App.
        disable_membership_notifications:
          type: boolean
        domain:
          type: string
          description: Domain used by the application, if relevant
          example: https://my-app.com
        groups:
          uniqueItems: true
          type: array
          description: Application groups. Used to add teams to your application.
          example: '[''MY_GROUP1'', ''MY_GROUP2'']'
          items:
            type: string
            description: Application groups. Used to add teams to your application.
            example: '[''MY_GROUP1'', ''MY_GROUP2'']'
        id:
          type: string
          description: Application's uuid.
          example: 00f8c9e7-78fc-4907-b8c9-e778fc790750
        name:
          type: string
          description: Application's name. Duplicate names can exists.
          example: My App
        owner:
          $ref: '#/components/schemas/PrimaryOwnerEntity'
        picture:
          type: string
        settings:
          $ref: '#/components/schemas/ApplicationSettings'
        status:
          type: string
          description: if the app is ACTIVE or ARCHIVED.
          example: ACTIVE
        type:
          type: string
          description: a string to describe the type of your app.
          example: iOS
        updated_at:
          type: string
          description: The last date (as a timestamp) when the application was updated.
          format: date-time
    PrimaryOwnerEntity:
      type: object
      properties:
        displayName:
          type: string
          description: The user or group display name.
          example: John Doe
        email:
          type: string
          description: The user or group email.
          example: contact@gravitee.io
        id:
          type: string
          description: The user or group id.
          example: 005197cc-cc84-86a6-a75a-88f9772c67db
        type:
          type: string
          description: The primary owner type
          example: USER
      description: The user with role PRIMARY_OWNER on this API.
    PluginEntity:
      type: object
      properties:
        dependencies:
          type: array
          items:
            type: string
            format: url
        description:
          type: string
        id:
          type: string
        name:
          type: string
        path:
          type: string
        plugin:
          type: string
        type:
          type: string
        version:
          type: string
    ApplicationTypeEntity:
      type: object
      properties:
        allowed_grant_types:
          type: array
          items:
            $ref: '#/components/schemas/ApplicationGrantTypeEntity'
        default_grant_types:
          type: array
          items:
            $ref: '#/components/schemas/ApplicationGrantTypeEntity'
        description:
          type: string
        id:
          type: string
        mandatory_grant_types:
          type: array
          items:
            $ref: '#/components/schemas/ApplicationGrantTypeEntity'
        name:
          type: string
        requires_redirect_uris:
          type: boolean
    NotifierEntity:
      type: object
      properties:
        description:
          type: string
        id:
          type: string
        name:
          type: string
        plugin:
          $ref: '#/components/schemas/PluginEntity'
        version:
          type: string
    UpdateApplicationEntity:
      required:
      - description
      - name
      - settings
      type: object
      properties:
        api_key_mode:
          $ref: '#/components/schemas/ApiKeyMode'
        background:
          type: string
        clientId:
          type: string
        description:
          type: string
          description: Application's description. A short description of your App.
          example: I can use a hundred characters to describe this App.
        disable_membership_notifications:
          type: boolean
        domain:
          type: string
          description: Domain used by the application, if relevant
          example: https://my-app.com
        groups:
          uniqueItems: true
          type: array
          description: Application groups. Used to add teams to your application.
          example: '[''MY_GROUP1'', ''MY_GROUP2'']'
          items:
            type: string
            description: Application groups. Used to add teams to your application.
            example: '[''MY_GROUP1'', ''MY_GROUP2'']'
        name:
          type: string
          description: Application's name. Duplicate names can exists.
          example: My App
        picture:
          type: string
        picture_url:
          type: string
        settings:
          $ref: '#/components/schemas/ApplicationSettings'
        type:
          type: string
          description: a string to describe the type of your app.
          example: iOS
    ApplicationListItem:
      type: object
      properties:
        api_key_mode:
          $ref: '#/components/schemas/ApiKeyMode'
        background:
          type: string
        background_url:
          type: string
        created_at:
          type: string
          description: The date (as a timestamp) when the application was created.
          format: date-time
        description:
          type: string
          description: Application's description. A short description of your App.
          example: I can use a hundred characters to describe this App.
        disable_membership_notifications:
          type: boolean
        domain:
          type: string
          description: Domain used by the application, if relevant
          example: https://my-app.com
        groups:
          uniqueItems: true
          type: array
          description: Application groups. Used to add teams to your application.
          example: '[''MY_GROUP1'', ''MY_GROUP2'']'
          items:
            type: string
            description: Application groups. Used to add teams to your application.
            example: '[''MY_GROUP1'', ''MY_GROUP2'']'
        id:
          type: string
          description: Application's uuid.
          example: 00f8c9e7-78fc-4907-b8c9-e778fc790750
        name:
          type: string
          description: Application's name. Duplicate names can exists.
          example: My App
        owner:
          $ref: '#/components/schemas/PrimaryOwnerEntity'
        picture:
          type: string
        picture_url:
          type: string
        settings:
          $ref: '#/components/schemas/ApplicationSettings'
        status:
          type: string
          description: if the app is ACTIVE or ARCHIVED.
          example: ACTIVE
        type:
          type: string
          description: a string to describe the type of your app.
          example: iOS
        updated_at:
          type: string
          description: The last date (as a timestamp) when the application was updated.
          format: date-time
    ApplicationListItemPagedResult:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ApplicationListItem'
        metadata:
          type: object
          additionalProperties:
            type: object
            additionalProperties:
              type: object
        page:
          $ref: '#/components/schemas/Page'
    NewApplicationEntity:
      required:
      - description
      - name
      type: object
      properties:
        api_key_mode:
          $ref: '#/components/schemas/ApiKeyMode'
        background:
          type: string
        clientId:
          type: string
        description:
          type: string
          description: Application's description. A short description of your App.
          example: I can use a hundred characters to describe this App.
        domain:
          type: string
          description: Domain used by the application, if relevant
          example: https://my-app.com
        groups:
          uniqueItems: true
          type: array
          description: Application groups. Used to add teams to your application.
          example: '[''MY_GROUP1'', ''MY_GROUP2'']'
          items:
            type: string
            description: Application groups. Used to add teams to your application.
            example: '[''MY_GROUP1'', ''MY_GROUP2'']'
        name:
          type: string
          description: Application's name. Duplicate names can exists.
          example: My App
        picture:
          type: string
        settings:
          $ref: '#/components/schemas/ApplicationSettings'
        type:
          type: string
          description: a string to describe the type of your app.
          example: iOS
    ApplicationSettings:
      type: object
      properties:
        app:
          $ref: '#/components/schemas/SimpleApplicationSettings'
        oauth:
          $ref: '#/components/schemas/OAuthClientSettings'
    Page:
      type: object
      properties:
        current:
          type: integer
          format: int32
        per_page:
          type: integer
          format: int32
        size:
          type: integer
          format: int32
        total_elements:
          type: integer
          format: int32
        total_pages:
          type: integer
          format: int32
    ApiKeyMode:
      type: string
      enum:
      - SHARED
      - EXCLUSIVE
      - UNSPECIFIED
  parameters:
    EnvId:
      in: path
      name: envId
      required: true
      schema:
        type: string
      description: The environment identifier
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
    CookieAuth:
      type: apiKey
      in: cookie
      name: Auth-Graviteeio-APIM
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    gravitee-auth:
      type: http
      scheme: basic