For Developers
List Announcements
GET https://ed.link/api/v2/my/classes/:class\_id/announcements
Retrieve a list of Announcements for a given class.
Request Parameters
This query allows for standard paging parameters.
Parameter | Type | Description |
---|---|---|
class_id | string | The UUID of the desired Class. |
Sample Request
axios.get(`https://ed.link/api/v2/my/classes/${class_id}/announcements`, {
headers: {
authorization: `Bearer ${person_access_token}`
}
});
Sample Response
{
"$data": [
{
"state": "published",
"section_ids": [],
"body": "Check out this video!",
"attachments": [
{
"type": "link",
"title": "Geography Now! UNITED STATES OF AMERICA",
"url": "https://www.youtube.com/watch?v=Xp_TGilL9Sk"
}
],
"identifiers": [
{
"type": "google_id",
"value": "0000000000000"
}
],
"id": "00000000-0000-0000-0000-000000000000"
}
],
"$request": "00000000-0000-0000-0000-000000000000"
}