Survey data

Update an advanced action on an asset

Update the params of an advanced action on a question in the asset. params are always additive. That means that if you PATCH a feature with a new param array, the new ones will be added to the existing ones. You cannot delete a param via the API.

In the case of NLP actions, this means you can only add languages, not delete. In the case of QA analysis questions, you should send the full set questions and choices in the desired order. Any existing choices or questions in the existing params not present in the new ones will be marked as deleted, but not actually removed from the data. Deleted questions and choices will be placed at the end of the relevant list.

  • params is required
  • params must match the expected param_schema of the action being updated
patch/api/v2/assets/{uid_asset}/advanced-features/{uid_advanced_feature}/

Request

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

Path parameters

uid_advanced_featurestring required

UID of the advanced feature

uid_assetstring required

UID of the parent asset

Request body

action'automatic_google_transcription' | 'automatic_google_translation' | 'manual_transcription' | 'manual_translation' | 'manual_qual' | 'automatic_bedrock_qual'
  • automatic_google_transcription - automatic_google_transcription
  • automatic_google_translation - automatic_google_translation
  • manual_transcription - manual_transcription
  • manual_translation - manual_translation
  • manual_qual - manual_qual
  • automatic_bedrock_qual - automatic_bedrock_qual
question_xpathstring

Response

question_xpathstring required
action'automatic_google_transcription' | 'automatic_google_translation' | 'manual_transcription' | 'manual_translation' | 'manual_qual' | 'automatic_bedrock_qual' required
  • automatic_google_transcription - automatic_google_transcription
  • automatic_google_translation - automatic_google_translation
  • manual_transcription - manual_transcription
  • manual_translation - manual_translation
  • manual_qual - manual_qual
  • automatic_bedrock_qual - automatic_bedrock_qual
uidstring required

Changes