GET
/
api
/
lms
/
v1
/
contents
/
{id}
Get Lms Content By Id
curl --request GET \
  --url https://api.bindbee.dev/api/lms/v1/contents/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-connector-token: <x-connector-token>'
{
  "id": "018b18ef-c487-703c-afd9-0ca478ccd9d6",
  "remote_id": "123321",
  "modified_at": "2021-10-16T00:00:00Z",
  "raw_data": {
    "key_1": "Platform dependent data 1",
    "key_2": "Platform dependent data 2"
  },
  "custom_fields": {
    "category_group": "REG",
    "disability_type": "ASBERG",
    "hire_date": "1991-03-16T00:00:00",
    "hire_source": "REFER",
    "nationality": "USA",
    "original_hire_date": "1991-03-16T00:00:00"
  },
  "title": "NumPy Basics",
  "description": "Array manipulation",
  "languages": [
    "en_US",
    "en_GB"
  ],
  "cover_image": "https://img.example.com/numpy.png",
  "url": "https://lms.example.com/content/numpy",
  "duration": "PT45M",
  "categories": [
    "018b18ef-c487-703c-afd9-0ca478ccd9d6"
  ],
  "skills": [
    "018b18ef-c487-703c-afd9-0ca478ccd9d6"
  ],
  "courses": [
    "018b18ef-c487-703c-afd9-0ca478ccd9d6"
  ],
  "order": 1,
  "provider": "Coursera",
  "status": "ACTIVE"
}

Authorizations

Authorization
string
header
required

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

Headers

x-connector-token
string
required

Path Parameters

id
string<uuid>
required

Query Parameters

include_raw_data
boolean
default:false

Whether to include the original data Bindbee fetched from the third-party to produce these models.

include_custom_fields
boolean
default:false

Whether to include custom fields in the response.

expand
string

Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. You can also specify required fields in [] for each relation name.

Response

Successful Response

id
string<uuid>
required
Example:

"018b18ef-c487-703c-afd9-0ca478ccd9d6"

remote_id
string | null
required

The third-party API ID of the matching object.

Example:

"123321"

modified_at
string
required

This is the datetime that this object was last updated by Bindbee

Example:

"2021-10-16T00:00:00Z"

custom_fields
object | null
required

The custom fields related to the model

Example:
{
"category_group": "REG",
"disability_type": "ASBERG",
"hire_date": "1991-03-16T00:00:00",
"hire_source": "REFER",
"nationality": "USA",
"original_hire_date": "1991-03-16T00:00:00"
}
raw_data
object | null

This is the Raw data

Example:
{
"key_1": "Platform dependent data 1",
"key_2": "Platform dependent data 2"
}
title
string | null

The title of the content

Example:

"NumPy Basics"

description
string | null

The description of the content

Example:

"Array manipulation"

languages
string[] | null

The languages of the content

Example:
["en_US", "en_GB"]
cover_image
string | null

The URL of the cover image of the content

Example:

"https://img.example.com/numpy.png"

url
string | null

The URL of the content

Example:

"https://lms.example.com/content/numpy"

duration
string | null

The duration of the content in ISO 8601 format

Example:

"PT45M"

categories
any[] | null

The categories of the content

Example:
["018b18ef-c487-703c-afd9-0ca478ccd9d6"]
skills
any[] | null

The skills of the content

Example:
["018b18ef-c487-703c-afd9-0ca478ccd9d6"]
courses
any[] | null

The courses that the content belongs to

Example:
["018b18ef-c487-703c-afd9-0ca478ccd9d6"]
order
integer | null

Order of the content inside a course

Example:

1

provider
string | null

The provider of the content

Example:

"Coursera"

status
string | null

The status of the content. Possible values include: ACTIVE, PENDING, INACTIVE or - in cases where there is no clear mapping - the original value passed through

Example:

"ACTIVE"