Skip to main content
POST
/
ims
/
oneroster
/
rostering
/
v1p2
/
courses
/
component-resources
Create Component Resource
curl --request POST \
  --url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/courses/component-resources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "componentResource": {
    "sourcedId": "<string>",
    "status": "active",
    "courseComponent": {
      "sourcedId": "<string>"
    },
    "resource": {
      "sourcedId": "<string>"
    },
    "title": "<string>",
    "dateLastModified": "2023-11-07T05:31:56Z",
    "metadata": {},
    "sortOrder": 0,
    "lessonType": "powerpath-100"
  }
}
'
{
  "sourcedIdPairs": {
    "suppliedSourcedId": "<string>",
    "allocatedSourcedId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
componentResource
object
required

Represents a resource associated with a course component.

Response

Created Component Resource Successfully

sourcedIdPairs
object
required