Skip to main content
PUT
/
ims
/
oneroster
/
rostering
/
v1p2
/
courses
/
component-resources
/
{sourcedId}
Update a Component Resource
curl --request PUT \
  --url https://api.alpha-1edtech.ai/ims/oneroster/rostering/v1p2/courses/component-resources/{sourcedId} \
  --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"
  }
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

sourcedId
string
required

The sourcedId of the component resource to update

Body

application/json
componentResource
object
required

Represents a resource associated with a course component.

Response

Component Resource Updated Successfully

The response is of type object.