GET
/
organisations
/
{organisationId}
/
data-mappings
curl --request GET \
  --url https://api.switchboard.svc.versori.io/v1alpha1/organisations/{organisationId}/data-mappings \
  --header 'Authorization: Bearer <token>'
{
  "totalCount": 123,
  "next": "<string>",
  "prev": "<string>",
  "items": [
    {
      "id": "<string>",
      "orgId": "<string>",
      "sourceApp": {
        "id": "<string>",
        "orgId": "<string>",
        "name": "<string>",
        "public": true,
        "server": {
          "name": "<string>",
          "url": "<string>"
        },
        "schemaMetadata": {
          "type": "<string>",
          "version": "<string>",
          "url": "<string>"
        },
        "supportedAuthConfigs": [
          {
            "type": "<string>",
            "isValid": true,
            "data": {
              "discoveryUrl": "<string>",
              "clientId": "<string>",
              "clientSecret": "<string>",
              "scopes": {}
            }
          }
        ],
        "imageUrl": "<string>",
        "schema": {
          "id": "<string>",
          "type": "<string>",
          "version": "<string>",
          "sourceUrl": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "deletedAt": "2023-11-07T05:31:56Z"
        },
        "schemaId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "deletedAt": "2023-11-07T05:31:56Z"
      },
      "sourceSchemaId": "<string>",
      "targetApp": {
        "id": "<string>",
        "orgId": "<string>",
        "name": "<string>",
        "public": true,
        "server": {
          "name": "<string>",
          "url": "<string>"
        },
        "schemaMetadata": {
          "type": "<string>",
          "version": "<string>",
          "url": "<string>"
        },
        "supportedAuthConfigs": [
          {
            "type": "<string>",
            "isValid": true,
            "data": {
              "discoveryUrl": "<string>",
              "clientId": "<string>",
              "clientSecret": "<string>",
              "scopes": {}
            }
          }
        ],
        "imageUrl": "<string>",
        "schema": {
          "id": "<string>",
          "type": "<string>",
          "version": "<string>",
          "sourceUrl": "<string>",
          "createdAt": "2023-11-07T05:31:56Z",
          "updatedAt": "2023-11-07T05:31:56Z",
          "deletedAt": "2023-11-07T05:31:56Z"
        },
        "schemaId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "deletedAt": "2023-11-07T05:31:56Z"
      },
      "targetSchemaId": "<string>",
      "definition": [
        {
          "sourceField": "<string>",
          "targetField": "<string>"
        }
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organisationId
string
required

Query Parameters

first
integer
default: 20
before
string
after
string
sort
string

Response

200 - application/json
totalCount
integer
required
next
string
prev
string
items
object[]