CASE FrameworkCASE Framework

List all survey versions

GET
/v1/studies/{studyKey}/surveys/{surveyKey}/versions

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

studyKey*string
surveyKey*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/studies/string/surveys/string/versions"
{
  "versions": [
    {
      "id": "string",
      "surveyKey": "string",
      "props": {},
      "prefillRules": [
        {}
      ],
      "contextRules": {},
      "maxItemsPerPage": {},
      "availableFor": "string",
      "requireLoginBeforeSubmission": true,
      "published": 0,
      "unpublished": 0,
      "surveyDefinition": {},
      "versionId": "string",
      "metadata": {
        "property1": "string",
        "property2": "string"
      }
    }
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}