Survey data - Rest Services
Update an external service.
patch/api/v2/assets/{uid_asset}/hooks/{uid_hook}/
Request
- The document declares no server URL.
- Auth: one of:
- HTTP basic
- API key in header Authorization
Path parameters
uid_assetstring required
UID of the parent assets
uid_hookstring required
UID of the hook
Request body
Example request
{
"logs_url": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/hooks/hZzzeedWxQoFHgibsTCysv/logs/",
"url": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/"
}Response
Example response
{
"logs_url": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/hooks/hZzzeedWxQoFHgibsTCysv/logs/",
"url": "https://kf.kobotoolbox.org/api/v2/assets/a3C9wWefqZVkChNLKqqXVZ/"
}Changes
- breaking
the request property
became not nullable (media type: application/json) - breaking
the request property
became not nullable (media type: application/x-www-form-urlencoded) - breaking
the request property
became not nullable (media type: multipart/form-data)
- breaking
- breaking
removed the required property
from the response with the status
- breaking