Submits a Custom Vocabulary for asynchronous processing.
Custom Vocabulary Definition
Custom Vocabulary Job Details
Bad Request
Request Unauthorized
User does not have permission to access this deployment
Deployment does not support this API
{- "metadata": "example metadata",
- "notification_config": {
- "auth_headers": {
- "Authorization": "Bearer <token>"
}
}, - "custom_vocabularies": [
- {
- "phrases": [
- "Paul McCartney",
- "Amelia Earhart",
- "Weiss-Bergman",
- "BLM"
]
}
]
}
{- "id": "cvUmx5c6F7pH7r",
- "status": "in_progress",
- "created_on": "2018-05-05T23:23:22.29Z",
}
Gets a list of most recent custom vocabularies' processing information
List of Custom Vocabularies' Processing Details
Bad Request
Request Unauthorized
User does not have permission to access this deployment
Deployment does not support this API
[- {
- "id": "cvUmx5c6F7pH7r",
- "status": "in_progress",
- "created_on": "2018-05-05T23:23:22.29Z",
}, - {
- "id": "cvx5c6F7pcvUmH",
- "status": "complete",
- "created_on": "2018-05-05T23:23:22.29Z",
- "completed_on": "2018-05-05T23:45:13.41Z",
}, - {
- "id": "cv6F7aspH7rUmx",
- "status": "failed",
- "created_on": "2018-05-05T23:23:22.29Z",
- "completed_on": "2018-05-05T23:23:24.11Z",
- "failure": "internal_processing",
- "failure_detail": "Internal processing failure"
}
]
Gets the custom vocabulary processing information
Custom Vocabulary Job Details
Request Unauthorized
User does not have permission to access this deployment
Custom Vocabulary Not Found
{- "id": "cvUmx5c6F7pH7r",
- "status": "in_progress",
- "created_on": "2018-05-05T23:23:22.29Z",
}
Deletes a custom vocabulary. All data related to the custom vocabulary, such as webhooks and metadata, will be permanently deleted. A custom vocabulary can only be deleted once it's completed (either with success or failure).
Custom vocabulary was successfully deleted
Request Unauthorized
User does not have permission to access this deployment
Custom Vocabulary Not Found
Invalid Deletion State
{- "title": "Authorization has been denied for this request",
- "status": 401
}