Get form schema

Request

GET https://www.activityinfo.org/resources/form/{formId}/schema

Successful response

application/json

object
id string required
label string required
schemaVersion string required
databaseId string required
parentFormId string optional
elements array[object] required

Error responses

Status Code Error Code Description
401 AUTHENTICATION_REQUIRED The request must be authenticated
403 FORBIDDEN Permission denied
404 NOT_FOUND The resource could not be found
410 DELETED The resource has been deleted

Example

curl -u anything:YOUR_API_TOKEN \
  https://www.activityinfo.org/resources/form/ck8pu9ha07/schema
Next item
Get form schema diff