# get versions

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /srv/v1/versions:
    get:
      summary: get versions
      deprecated: false
      description: >-
        This endpoint returns the current version identifiers of ROCKIT Edge and
        ROCKIT Engine. In order to get a full set of version identifiers please
        make sure that

        1. you run test tasks on both ROCKIT Edge and Engine using `POST
        /srv/v1/hello` with body: `{ "relay" : true }` and

        2. if the OCI stack uses CWLs as HTTP request runtime, wait for the next
        maintenance cycle to obtain the Fn version.


        **Troubleshooting**


        Q: The returned data set does not contain the task group.

        A: Submit a relay hello task and try again.


        Q: The returned data set contains cwl but no fn group.

        A: Please wait for up to 10min and retry.


        Q: The returned data set contains fn but no cwl group.

        A: The OCI stack currently operates in Fn-only mode.
      tags:
        - ROCKIT Edge - Admin API/Installation / Upgrade
      parameters:
        - name: x-rockit-admin-token
          in: header
          description: >-
            ROCKIT Edge administrator token generated by `gen-admin-token.sh`-
            https://github.com/DACSLABS/rockitplay/blob/master/edge/gen-admin-token.sh
          required: true
          example: '{{EDGE_ADMIN_TOKEN}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: Indicating that the organization was created successfully.
                  versions:
                    type: object
                    properties: {}
                    x-apidog-orders: []
                    description: Return of Version json object
                    x-apidog-ignore-properties: []
                required:
                  - status
                  - versions
                x-apidog-orders:
                  - status
                  - versions
                x-apidog-ignore-properties: []
              example:
                status: success
                versions:
                  edge:
                    task:
                      dxhttp: not-implemented-yet
                      src: cb53b10c98002b6d69b6ee5ee1c37b310e096085
                    cwl:
                      src: cb53b10c98002b6d69b6ee5ee1c37b310e096085
                    fn:
                      src: cb53b10c98002b6d69b6ee5ee1c37b310e096085
                  engine:
                    task:
                      dxhttp: not-implemented-yet
                      ib: ccb851ac698f8f7121e07268f5249357cd3b39e2@2025-11-03_14
                      rte: c2b729c08b49fc6efd5dfc57eb438ecf2cb53f52
                      src: cab5098528e71234269ee632ce15c4e6a398576a
                      sx: cab657f52bba1a97f7594b810e6cbddc8bd0ab27
                    fn:
                      src: cab5098528e71234269ee632ce15c4e6a398576a
          headers: {}
          x-apidog-name: '200: success'
        '401':
          description: ''
          content:
            application/json:
              schema:
                properties:
                  status:
                    type: string
                    description: >-
                      Indicates that the organization creation request was
                      rejected because of authentication problems.
                  error:
                    type: string
                    description: Contains an error identifier. (e.g."unauthorized")
                  message:
                    type: string
                    description: >-
                      Provides details such as "invalid token" to help diagnose
                      the failure.
                required:
                  - status
                  - error
                  - message
                x-apidog-orders:
                  - status
                  - error
                  - message
                $ref: '#/components/schemas/unauthorized'
              example:
                status: failed
                error: unauthorized
                message: invalid token
          headers: {}
          x-apidog-name: '401: unauthorized'
      security: []
      x-apidog-folder: ROCKIT Edge - Admin API/Installation / Upgrade
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/732774/apis/api-23479081-run
components:
  schemas:
    unauthorized:
      type: object
      properties:
        status:
          type: string
          description: >-
            Indicates that the organization creation request was rejected
            because of authentication problems.
        error:
          type: string
          description: Contains an error identifier. (e.g."unauthorized")
        message:
          type: string
          description: >-
            Provides details such as "invalid token" to help diagnose the
            failure.
      required:
        - status
        - error
        - message
      x-apidog-orders:
        - status
        - error
        - message
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes:
    Bearer token:
      type: bearer
      scheme: bearer
      description: >-
        Enter your Access Token. You can obtain this by calling the /be/v1/login
        endpoint. Use the Refresh token to get a new Access token when it
        expires.
servers:
  - url: https://Example-Server.com
    description: Default
security: []

```
