Form content

Retrieve an asset snapshot

Note: If the Content-Type of the request is set to application/xml, the response will return the XML version of the form, rather than the JSON representation of the asset snapshot.

get/api/v2/asset_snapshots/{uid_asset_snapshot}/

Request

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

Path parameters

uid_asset_snapshotstring required

UID of the asset snapshot

Query parameters

format'json' | 'xml'

Response

urlstring uri required
uidstring required
ownerstring uri required
date_createdstring date-time required
xmlstring uri required
enketopreviewlinkstring uri required
assetstring uri required
asset_version_idstring required

Example response

{
  "url": "https://kf.kobotoolbox.org/api/v2/asset_snapshots/sEMPghTguZsxj4rn4s9dvS/",
  "owner": "https://kf.kobotoolbox.org/api/v2/users/bob/",
  "xml": "https://kf.kobotoolbox.org/api/v2/asset_snapshots/sEMPghTguZsxj4rn4s9dvS/",
  "enketopreviewlink": "https://kf.kobotoolbox.org/api/v2/asset_snapshots/sEMPghTguZsxj4rn4s9dvS/preview/",
  "asset": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/"
}

Changes

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