GET
/
v3
/
mapping_data_sources
List data sources
curl --request GET \
  --url https://{region}.affinda.com/v3/mapping_data_sources \
  --header 'Authorization: Bearer <token>'
{
  "count": 10,
  "next": "<string>",
  "previous": "<string>",
  "results": [
    {
      "identifier": "mEFayXdO",
      "name": "My supplier list",
      "keyProperty": "value",
      "displayProperty": "value",
      "organization": "mewlkWEKL",
      "workspace": "mewlkWEKL",
      "schema": {
        "type": "object",
        "$schema": "http://json-schema.org/draft-07/schema#",
        "required": [
          "label"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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.

Query Parameters

offset
integer

The number of documents to skip before starting to collect the result set.

Required range: x >= 0
Example:

0

limit
integer

The numbers of results to return.

Required range: 1 <= x <= 100
Example:

20

name
string | null

Filter by name.

Example:

"My supplier list"

organization
string

Filter by organization.

Example:

"mEFayXdO"

workspace
string

Filter by workspace.

Example:

"mEFayXdO"

identifier
string

Filter by identifier.

Example:

"mEFayXdO"

Response

200
application/json

Will return matching data sources

The response is of type object.