Survey data

Get submission url of enketo in preview 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}/enketo/view/: return the url of the enketo submission (as seen in the response example).

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

get/api/v2/assets/{uid_asset}/data/{id}/enketo/view/

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/view/f93d2a488a2e35cedc336e84e1bd1edc?instance_id=1824b282-f729-4944-b799-7a805d4564e1&return_url=false"
}

Changes

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