Apache Airflow Version API

The Version API from Apache Airflow — 1 operation(s) for version.

OpenAPI Specification

airflow-version-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Airflow Asset Version API
  description: Airflow API. All endpoints located under ``/api/v2`` can be used safely, are stable and backward compatible. Endpoints located under ``/ui`` are dedicated to the UI and are subject to breaking change depending on the need of the frontend. Users should not rely on those but use the public ones instead.
  version: '2'
tags:
- name: Version
paths:
  /api/v2/version:
    get:
      tags:
      - Version
      summary: Airflow Get Version
      description: Get version information.
      operationId: get_version
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionInfo'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    VersionInfo:
      properties:
        version:
          type: string
          title: Version
        git_version:
          anyOf:
          - type: string
          - type: 'null'
          title: Git Version
      type: object
      required:
      - version
      - git_version
      title: VersionInfo
      description: Version information serializer for responses.
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      description: To authenticate Airflow API requests, clients must include a JWT (JSON Web Token) in the Authorization header of each request. This token is used to verify the identity of the client and ensure that they have the appropriate permissions to access the requested resources. You can use the endpoint ``POST /auth/token`` in order to generate a JWT token. Upon successful authentication, the server will issue a JWT token that contains the necessary information (such as user identity and scope) to authenticate subsequent requests. To learn more about Airflow public API authentication, please read https://airflow.apache.org/docs/apache-airflow/stable/security/api.html.
      flows:
        password:
          scopes: {}
          tokenUrl: /auth/token
    HTTPBearer:
      type: http
      scheme: bearer