Recover form field

Finds the latest form version that contains the given fieldId and recovers it by updating the form schema

Request

POST https://www.activityinfo.org/resources/form/{formId}/field/{fieldId}/recover

Successful response

application/json

object
database object required
forms array[object] required

Error responses

Status Code Error Code Description
200 RECOVERED
400 MISSING_FIELD_ID
400 RECOVER_SUBFORMS_UNSUPPORTED
401 AUTHENTICATION_REQUIRED The request must be authenticated
403 PERMISSION_DENIED
404 FIELD_NOT_FOUND
404 RESOURCE_NOT_FOUND

Example

curl -X POST https://www.activityinfo.org/resources/form/ck8pu9ha07/field/carknkldta8h4o3/recover \
  -u anything:APITOKEN
Next item
Relocate form