Create Enum Data Point and Populate Choices
A 2-step recipe with Affinda. We can help you get access.
Recipe · 2 steps
Create Enum Data Point and Populate Choices
with Affinda
Create a data point and replace its choices in bulk.
- Create the data point on the extractor.
- Replace the data point's full set of choices so it behaves as a controlled vocabulary.
What you'll need to have ready
- organization: The organization identifier that owns the data point.
- extractor: The extractor identifier the data point belongs to.
- name: The name of the data point.
- slug: A unique slug for the data point.
- annotationContentType: The content type of the data point (typically enum for choices).
- choices: The full set of choices to apply to the data point.
For your developer
Arazzo workflow affinda:create-data-point-with-choices, 2 operations: createDataPoint → replaceDataPointChoices. Specs on APIs.io.