List request schemas

GET /request-schemas

Retrieve list of request schemas

Responses

  • 200 application/json

    List of Request Schemas

    Hide response attribute Show response attribute object
    • schemas array[object] Required

      List of uploaded schemas

      Not more than 1024 elements.

      Hide schemas attributes Show schemas attributes object
      • schemaID string Required

        Minimum length is 32, maximum length is 32. Format should match the following pattern: S[A-Z0-9]+.

      • title string Required

        Schema title

        Minimum length is 1, maximum length is 256. Format should match the following pattern: [a-zA-Z0-9_\- ]+.

      • updatedAt string(date-time) Required

        Minimum length is 20, maximum length is 20.

  • 400 application/json

    Bad request

    Hide response attributes Show response attributes object
    • code string(string) Required

      Error code

      Minimum length is 1, maximum length is 64.

    • message string(string) Required

      Human-readable error message

      Minimum length is 1, maximum length is 1024.

  • 401 application/json

    Unauthorized request

    Hide response attributes Show response attributes object
    • code string(string) Required

      Error code

      Minimum length is 1, maximum length is 64.

    • message string(string) Required

      Human-readable error message

      Minimum length is 1, maximum length is 1024.

  • 404 application/json

    Resource not found

    Hide response attributes Show response attributes object
    • code string(string) Required

      Error code

      Minimum length is 1, maximum length is 64.

    • message string(string) Required

      Human-readable error message

      Minimum length is 1, maximum length is 1024.

  • 429 application/json

    Too many requests

    Hide response attributes Show response attributes object
    • code string(string) Required

      Error code

      Minimum length is 1, maximum length is 64.

    • message string(string) Required

      Human-readable error message

      Minimum length is 1, maximum length is 1024.

  • 500 application/json

    Internal server error

    Hide response attributes Show response attributes object
    • code string(string) Required

      Error code

      Minimum length is 1, maximum length is 64.

    • message string(string) Required

      Human-readable error message

      Minimum length is 1, maximum length is 1024.

GET /request-schemas
curl \
 --request GET '/api/v1/request-schemas' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "schemas": [
    {
      "schemaID": "S7AB56CD456OP98BN54CAUB43211OU78",
      "title": "Request schema",
      "updatedAt": "2017-07-21T17:32:28Z"
    }
  ]
}
Response examples (400)
{
  "code": "string",
  "message": "string"
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}
Response examples (404)
{
  "code": "string",
  "message": "string"
}
Response examples (429)
{
  "code": "string",
  "message": "string"
}
Response examples (500)
{
  "code": "string",
  "message": "string"
}