Grades Exchange API

List Grades Exchanges

get

Get a list of Grades Exchanges

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Query parameters
pageinteger · int32Optional

Specify the page number (defaults to 0)

page_sizeinteger · int32Optional

Specify the page_size (defaults to the maximum page size)

course_app_idstringOptional
statestring · enumOptionalPossible values:
Responses
200

Exchanges response

application/json
get
/exchanges
200

Exchanges response

Create a Grades Exchange

post

Create a Grades Exchange

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Body
metadataobject | nullableOptional
Responses
200

Exchanges response

application/json
Responseall of
objectOptional
post
/exchanges

Get count of Grades Exchanges

get

Get the total count of Grades Exchanges (in scope of the actor credentials and the provided query parameters). Useful for determining the maximum page number of listExchanges (diving the returned number by the desired page size).

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Query parameters
course_app_idstringOptional
statestring · enumOptionalPossible values:
Responses
200

Exchanges' count

application/json
Responseinteger
get
/exchanges/count
200

Exchanges' count

Find a Grades Exchange by id

get

Get an Exchange

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Exchange to find

Query parameters
course_app_idstringOptional
Responses
200

Exchanges response

application/json
get
/exchanges/{id}

List Grades Exchange Errors

get

Get a list of Grades Exchange Errors

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Exchange to list Errors

Query parameters
pageinteger · int32Optional

Specify the page number (defaults to 0)

page_sizeinteger · int32Optional

Specify the page_size (defaults to the maximum page size)

course_app_idstringOptional
Responses
200

Exchange Errors response

application/json
get
/exchanges/{id}/errors

Create Grades Exchange Errors

post

Create a list of Grades Exchange Errors

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Exchange to create Errors

Body
idstring · uuidRead-onlyOptional
created_atstring · date-timeRead-onlyOptional
updated_atstring · date-timeRead-onlyOptional
codestring · enumOptionalPossible values:
messagestringRead-onlyOptional
detailstringOptional
Responses
200

Exchange Errors response

application/json
post
/exchanges/{id}/errors

Create Grades Exchange Data

post

Create Grades data for an Exchange

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Exchange to create Data

Body
finalbooleanOptional
Responses
200

Exchanges response

application/json
Responseall of
objectOptional
post
/exchanges/{id}/data

Get Grades Exchange Details

get

Get the details artifact for a completed Exchange. The response is a .json.gz file but it is not decompressed by the client implicitly. If no details were produced (early failure), a 404 response will be returned.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Exchange to get details

Query parameters
course_app_idstringOptional
Responses
200

Exchange Details response

application/octet-stream
Responsestring · binary
get
/exchanges/{id}/artifacts/details

Get Grades Exchange Consumer Logs

get

Get the consumer logs artifact for a completed Exchange. The response is a .json.gz file but it is not decompressed by the client implicitly. If no logs were produced (nothing was sent to SIS), a 404 response will be returned.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Exchange to get details

Query parameters
course_app_idstringOptional
Responses
200

Exchange Details response

application/octet-stream
Responsestring · binary
get
/exchanges/{id}/artifacts/consumerlogs

Get consumer details

get

Returns details about the entity designated as this Grades Application's consumer.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Responses
200

Consumer Details response

application/json
get
/consumer

Resolve the section by ID

get

Resolves the provided Data Sync ID to an ID in the consumer's id space.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstringRequired

Data Sync ID to resolve

Responses
200

Resolved ID response

application/json
get
/sections/{id}/resolve

Create Batch Grades Exchange Error

post

Create a Batch Grades Exchange Error

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Batch Grades Exchange to create Error

Body
codestring · enumOptionalPossible values:
Responses
200

Batch Exchange Error response

application/json
Responseall of
objectOptional
post
/batch/{id}/error

Create Grades Exchange Batch Context Data

post

Create context data for a Batch Exchange

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Batch Exchange to create Context Data

Body
course_idsstring[]Optional
Responses
200

Batch Exchanges Context Data response

application/json
Responseall of
objectOptional
post
/batch/{id}/data

List Grades Schedules

get
Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Query parameters
pageinteger · int32Optional

Specify the page number (defaults to 0)

page_sizeinteger · int32Optional

Specify the page_size (defaults to the maximum page size)

Responses
200

Resolved ID response

application/json
get
/schedules

Update grades Schedule

patch

Update a grades schedule. Only the enabled attribute may be updated.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the Schedule to update

Body
enabledbooleanOptional
Responses
patch
/schedules/{id}
204

No content

No content

Run a grades schedule

post

Enqueues a grade schedule for execution

Authorizations
OAuth2clientCredentialsRequired
Token URL:
AuthorizationstringRequired
AuthorizationstringRequired

LTI JWT Authorization header using the Bearer scheme

Path parameters
idstring · uuidRequired

id of the schedule to be executed

Body
object | nullableOptional
Responses
post
/schedules/{id}/run

No content

Last updated

Was this helpful?