Survey data

Get submission url of enketo in edit mode

{id} can be:

  • The primary key of the submission
  • Its _uuid <sup>1</sup>
  • Its rootUuid (without "uuid:" prefix)

<sup>1</sup> Please note that using the _uuid may match several submissions, only the first match will be returned.

Note: Some variation of this url exists:

/api/v2/assets/{uid_asset}/data/{id}/edit/: deprecated, use the next one.

/api/v2/assets/{uid_asset}/data/{id}/enketo/edit/: return the url of the enketo submission (as seen in the response example).

/api/v2/assets/{uid_asset}/data/{id}/enketo/redirect/edit/: redirect to the enketo url submission with a 302 HTTP code.

get/api/v2/assets/{uid_asset}/data/{id}/edit/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP basic
    • API key in header Authorization

Path parameters

idstring required

Integer ID (PK) or rootUuid

uid_assetstring required

UID of the parent asset

Response

urlstring uri required
versionstring required

Example response

{
  "url": "https://kf.kobotoolbox.org/edit/iXUdUc3w?instance_id=1824b282-f729-4944-b799-7a805d4564e1&return_url=false"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.