Authorizations
Basic authentication using an API key, e.g. {Authorization: Bearer aff_0bb4fbdf97b7e4111ff6c0015471094155f91}
.
You can find your API key within the Settings page of the Affinda web app. You can obtain an API key by signing up for a free trial.
Body
A mapping data source is used to map from raw data found by our AI models to records in your database.
"My supplier list"
The organization that this mapping data source belongs to.
"mewlkWEKL"
The workspace that this mapping data source belongs to.
"mewlkWEKL"
Attribute in the schema which uniquely identifiers the value
"value"
Attribute in the schema which is used to display the value
"label"
The schema of the mapping data source.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": ["label"],
"properties": {
"label": { "type": "string" },
"description": { "type": "string" }
}
}
Response
Successfully created a mapping data source.
A mapping data source is used to map from raw data found by our AI models to records in your database.
Uniquely identify a mapping data source.
"mEFayXdO"
Attribute in the schema which uniquely identifiers the value
"value"
Attribute in the schema which is used to display the value
"value"
The organization that this mapping data source belongs to.
"mewlkWEKL"
The workspace that this mapping data source belongs to.
"mewlkWEKL"
"My supplier list"
The schema of the mapping data source.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": ["label"],
"properties": {
"label": { "type": "string" },
"description": { "type": "string" }
}
}