{ "opencollection": "1.0.0", "info": { "name": "D2L Brightspace Valence Learning Framework Assignments News API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.brightspace.com/oauth2/auth", "accessTokenUrl": "https://auth.brightspace.com/core/connect/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "News", "type": "folder" }, "items": [ { "info": { "name": "List news items", "type": "http" }, "http": { "method": "GET", "url": "https://{host}/d2l/api/le/1.92/:orgUnitId/news/", "params": [ { "name": "orgUnitId", "value": "", "type": "path" } ] }, "docs": "Retrieves the news (announcement) items in a course offering." }, { "info": { "name": "Create a news item", "type": "http" }, "http": { "method": "POST", "url": "https://{host}/d2l/api/le/1.92/:orgUnitId/news/", "params": [ { "name": "orgUnitId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new news (announcement) item in a course offering." }, { "info": { "name": "Get a news item", "type": "http" }, "http": { "method": "GET", "url": "https://{host}/d2l/api/le/1.92/:orgUnitId/news/:newsItemId", "params": [ { "name": "orgUnitId", "value": "", "type": "path" }, { "name": "newsItemId", "value": "", "type": "path" } ] }, "docs": "Retrieves a single news item by its identifier." }, { "info": { "name": "Delete a news item", "type": "http" }, "http": { "method": "DELETE", "url": "https://{host}/d2l/api/le/1.92/:orgUnitId/news/:newsItemId", "params": [ { "name": "orgUnitId", "value": "", "type": "path" }, { "name": "newsItemId", "value": "", "type": "path" } ] }, "docs": "Deletes a single news item." } ] } ], "bundled": true }