For Developers
Create Alias
POST https://ed.link/api/v2/graph/classes/:class_id/assignments/:assignment_id/aliases
Create a new Alias for the given Assignment.
Parameter | Type | Description |
---|---|---|
class_id | string | The UUID of the desired Class. |
assignment_id | string | The UUID of the desired Assignment. |
Request Body
The request body should contain the following properties
{
"identifier": "101",
"type": "edlink"
}
Sample Request
axios.post(`https://ed.link/api/v2/graph/classes/${class_id}/assignments/${assignment_id}/aliases`, {
headers: {
authorization: `Bearer ${integration_access_token}`
},
data: {
identifier: '101',
type: 'edlink'
}
});
Sample Response
{
"$request": "a4eaf191-e54a-4faa-8a94-ac271012bc74",
"$data": {
"identifier": "101",
"type": "edlink"
}
}