Partner APIs

The Datacore API supports a limited form of partner integration. In that certain of our partners' apis can be called (or a subset of their API) from datacore using Datacore credentials.

For detailed information about each call you should read the specific documentation from the partner.

Call a partner API GET service

get
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}

For detail check the documentation for the specific partner type.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
partnerstringRequired

Partner for partner integrations

path:subpathstringRequired

Subpath for partner integrations

Body
object · blank_modelgetbodyOptional
Responses
200

Successful operation

application/json
get
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}
GET /v1/baseball/o/{organizationId}/partners/{partner}/{path:subpath} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {}
  ]
}

Call a partner API POST service

post
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}

For detail check the documentation for the specific partner type.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
partnerstringRequired

Partner for partner integrations

path:subpathstringRequired

Subpath for partner integrations

Body
object · blank_modelpostbodyOptional
Responses
200

Successful operation

application/json
post
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}
POST /v1/baseball/o/{organizationId}/partners/{partner}/{path:subpath} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {}
  ]
}

Call a partner API PUT service

put
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}

For detail check the documentation for the specific partner type.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
partnerstringRequired

Partner for partner integrations

path:subpathstringRequired

Subpath for partner integrations

Body
object · blank_modelputbodyOptional
Responses
200

Successful operation

application/json
put
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}
PUT /v1/baseball/o/{organizationId}/partners/{partner}/{path:subpath} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {}
  ]
}

Call a partner API DELETE service

delete
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}

For detail check the documentation for the specific partner type.

Required scopes
This endpoint requires the following scopes:
  • : Read any data from the organization down
Authorizations
OAuth2clientCredentialsRequired

You can create a JSON Web Token (JWT) using the token API call. Each token is given a set of scopes/permissions. Each endpoint has a scope/permission that it requires to run. If your token does not possess the correct scope then you will be unable to make the API call.

Token URL:
Path parameters
organizationIdstring · min: 5 · max: 5Required

The unique identifier of the organization

Example: b1a23
partnerstringRequired

Partner for partner integrations

path:subpathstringRequired

Subpath for partner integrations

Body
object · blank_modeldeletebodyOptional
Responses
200

Successful operation

application/json
delete
/baseball/o/{organizationId}/partners/{partner}/{path:subpath}
DELETE /v1/baseball/o/{organizationId}/partners/{partner}/{path:subpath} HTTP/1.1
Host: api.dc.connect.sportradar.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2

{}
{
  "meta": {
    "version": 1,
    "codeVersion": "d6cd1e2bd19e03a81132a23b2025920577f84e37",
    "code": 200,
    "time": "2018-06-05 23:43:41.227584+00:00",
    "fromCache": false,
    "count": 7,
    "limit": 10,
    "offset": 10,
    "generationTime": 0.011604
  },
  "links": {
    "self": "https://example.com",
    "next": "https://example.com",
    "previous": "https://example.com"
  },
  "included": {
    "resources": {
      "ANY_ADDITIONAL_PROPERTY": "league"
    }
  },
  "data": [
    {}
  ]
}

Last updated

Was this helpful?