---
title: "Get Specific Form Revision"
url: "https://developer-qual.migros.ch/apis/formigros-qual-0/versions/5cf4bb7f-1e47-4efc-a301-5c2ff79fea16/operations/getSpecificFormRevisionIntegration"
---

> Full API specification: https://developer-qual.migros.ch/apis/formigros-qual-0/versions/5cf4bb7f-1e47-4efc-a301-5c2ff79fea16.md

# Get Specific Form Revision

`GET` `/migros/forms/v1/integration/form/{formId}/v/{revisionNumber}`

Operation ID: `getSpecificFormRevisionIntegration`

This API request will fetch the form JSON for a specific form revision.

## Path parameters

- `formId` (string, required) - Form Id
- `revisionNumber` (string, required) - Form revision number

## Header parameters

- `x-jwt-token` (string, optional)

## Responses

- `200` - Get Specific Form Revision

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Formigros QUAL
  version: 0.0.1
servers:
  - url: https://api-qual.migros.ch
paths:
  /migros/forms/v1/integration/form/{formId}/v/{revisionNumber}:
    get:
      description: This API request will fetch the form JSON for a specific form revision.
      operationId: getSpecificFormRevisionIntegration
      parameters:
        - description: Form Id
          in: path
          name: formId
          required: true
          schema:
            example: "{{formId}}"
            type: string
        - description: Form revision number
          in: path
          name: revisionNumber
          required: true
          schema:
            example: "{{revisionNumber}}"
            type: string
        - example: "{{token}}"
          in: header
          name: x-jwt-token
          schema:
            type: string
      responses:
        "200":
          content:
            application/json:
              example:
                _id: 5fc7c2d02a992abe68b247b6
                _rid: 5fc7c25a2a992abe68b247b4
                _vid: 1
                _vnote: ""
                _vuser: user522
                access:
                  - roles:
                      - 5fc7befe2a992abe68b24766
                      - 5fc7befe2a992abe68b24767
                      - 5fc7befe2a992abe68b24768
                    type: read_all
                components:
                  - conditional:
                      eq: ""
                      show: ""
                      when: null
                    defaultValue: ""
                    input: true
                    inputMask: ""
                    inputType: text
                    isNew: false
                    key: firstName
                    label: First Name
                    lockKey: true
                    multiple: false
                    persistent: true
                    placeholder: ""
                    prefix: ""
                    protected: false
                    suffix: ""
                    tableView: true
                    tags: []
                    type: textfield
                    unique: false
                    validate:
                      custom: ""
                      customPrivate: false
                      maxLength: ""
                      minLength: ""
                      pattern: ""
                      required: false
                  - conditional:
                      eq: ""
                      show: ""
                      when: null
                    defaultValue: ""
                    input: true
                    inputMask: ""
                    inputType: text
                    isNew: false
                    key: lastName
                    label: Last Name
                    lockKey: true
                    multiple: false
                    persistent: true
                    placeholder: ""
                    prefix: ""
                    protected: false
                    suffix: ""
                    tableView: true
                    tags: []
                    type: textfield
                    unique: false
                    validate:
                      custom: ""
                      customPrivate: false
                      maxLength: ""
                      minLength: ""
                      pattern: ""
                      required: false
                  - defaultValue: ""
                    input: true
                    inputType: email
                    isNew: false
                    key: email
                    kickbox:
                      enabled: false
                    label: Email
                    lockKey: true
                    persistent: true
                    placeholder: Enter your email address
                    prefix: ""
                    protected: false
                    suffix: ""
                    tableView: true
                    type: email
                    unique: false
                  - conditional:
                      eq: ""
                      show: ""
                      when: null
                    defaultValue: ""
                    input: true
                    inputMask: (999) 999-9999
                    isNew: false
                    key: phoneNumber
                    label: Phone Number
                    lockKey: true
                    multiple: false
                    persistent: true
                    placeholder: ""
                    prefix: ""
                    protected: false
                    suffix: ""
                    tableView: true
                    tags: []
                    type: phoneNumber
                    unique: false
                    validate:
                      required: false
                  - action: submit
                    block: false
                    disableOnInvalid: false
                    input: true
                    key: submit
                    label: Submit
                    leftIcon: ""
                    rightIcon: ""
                    size: md
                    tableView: false
                    theme: primary
                    type: button
                created: 2020-12-02T16:35:38.683Z
                display: form
                modified: 2020-12-02T16:37:36.283Z
                name: synthesize
                owner: 5fc7beeb2a992abe68b2475c
                path: iterate
                project: 5fc7befe2a992abe68b24765
                revisions: original
                submissionAccess: []
                tags:
                  - register
                title: navigating
                type: form
              schema:
                properties:
                  _id:
                    type: string
                  _rid:
                    type: string
                  _vid:
                    type: integer
                  _vnote:
                    type: string
                  _vuser:
                    type: string
                  access:
                    items:
                      properties:
                        roles:
                          items:
                            type: string
                          type: array
                        type:
                          type: string
                      type: object
                    type: array
                  components:
                    items:
                      properties:
                        conditional:
                          properties:
                            eq:
                              type: string
                            show:
                              type: string
                            when:
                              example: null
                              nullable: true
                              type: string
                          type: object
                        defaultValue:
                          type: string
                        input:
                          type: boolean
                        inputMask:
                          type: string
                        inputType:
                          type: string
                        isNew:
                          type: boolean
                        key:
                          type: string
                        label:
                          type: string
                        lockKey:
                          type: boolean
                        multiple:
                          type: boolean
                        persistent:
                          type: boolean
                        placeholder:
                          type: string
                        prefix:
                          type: string
                        protected:
                          type: boolean
                        suffix:
                          type: string
                        tableView:
                          type: boolean
                        tags:
                          items: {}
                          type: array
                        type:
                          type: string
                        unique:
                          type: boolean
                        validate:
                          properties:
                            custom:
                              type: string
                            customPrivate:
                              type: boolean
                            maxLength:
                              type: string
                            minLength:
                              type: string
                            pattern:
                              type: string
                            required:
                              type: boolean
                          type: object
                      type: object
                    type: array
                  created:
                    format: date-time
                    type: string
                  display:
                    type: string
                  modified:
                    format: date-time
                    type: string
                  name:
                    type: string
                  owner:
                    type: string
                  path:
                    type: string
                  project:
                    type: string
                  revisions:
                    type: string
                  submissionAccess:
                    items: {}
                    type: array
                  tags:
                    items:
                      type: string
                    type: array
                  title:
                    type: string
                  type:
                    type: string
                type: object
          description: Get Specific Form Revision
          headers:
            Access-Control-Allow-Origin:
              example: https://form.io
              schema:
                type: string
            Access-Control-Expose-Headers:
              example: x-jwt-token
              schema:
                type: string
            Cache-Control:
              example: no-cache,max-age=0
              schema:
                type: string
            Connection:
              example: keep-alive
              schema:
                type: string
            Content-Length:
              example: 2282
              schema:
                type: integer
            Date:
              example: Wed, 02 Dec 2020 16:39:29 GMT
              schema:
                type: string
            ETag:
              example: W/"8ea-CpgJLmOfj3blrtpq+7j3Fb3+7iU"
              schema:
                type: string
            Vary:
              example: Origin
              schema:
                type: string
            X-Powered-By:
              example: Express
              schema:
                type: string
            x-jwt-token:
              example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7Il9pZCI6IjVmYzdiZWViMmE5OTJhYmU2OGIyNDc1YyJ9LCJpc3MiOiJodHRwczovL2FwaS5mb3JtLmlvOjMwMDAiLCJzdWIiOiI1ZmM3YmVlYjJhOTkyYWJlNjhiMjQ3NWMiLCJqdGkiOiI1ZmM3YmVmMjJhOTkyYWJlNjhiMjQ3NjEiLCJmb3JtIjp7Il9pZCI6IjVlZDE4MGYzZDM2MGEyM2FlNTBiMDBkYSIsInByb2plY3QiOiI1ZWQxODBmMmQzNjBhMjNhZTUwYjAwZDYifSwicHJvamVjdCI6eyJfaWQiOiI1ZWQxODBmMmQzNjBhMjNhZTUwYjAwZDYifSwiaWF0IjoxNjA2OTI3MTY5LCJleHAiOjE2MDY5NDE1Njl9.6DbqLZ7iJ653GKYrCOKYRf_bkyCqQ0_yHo66VtssxPk
              schema:
                type: string
      summary: Get Specific Form Revision
      tags:
        - Form API
```
