-
Dynamic Tool Registration
Hi There! I have a trouble while setting the Platform notification service and send institutional role while using the Api for dynamic registration . Can you please guide me for the payload for it
-
Getting Not Authorized error when creating user
I am getting "Not Authorized" error while creating user in D2l. Scope given: "core:*:* users:userdata:create" Any help appreciated
-
Test Users and Roles
Good evening, I have 2 questions: The API Test Tool site () states that you can use the DevCoPStudent account to test API calls to the test D2L site (devcop.brightspace.com). I am doing this successfully. Are there any other test accounts I can use to call the API, particularly a user that is a lecturer, not a student; and…
-
Error 403 when creating a new user via API request
Hi, I'm trying to create a new user using a Postman request, but I'm getting error 403 (Forbidden). I already tested the whoami request and was successful (status 200); my username has all the credentials to create a user, and I'm using the scope "core:: user::" when creating the token. Is there something I am missing? I…
-
403 authentication error
I got 403 authentication error when making the following API call: GET /d2l/api/le/(version)/content/items/(userId) Which permissions are required to run this API call
-
This client is not permitted to use the client_credentials grant
Hi, I'm trying to use lti 1.3 and I want to authenticate using https://auth.brightspace.com/core/connect/token I created a new client id using the Oauth 2.0 section in Manage extensibility as administrator However when I try to consume the service I receive an error: { "error": "unauthorized_client", "error_description":…
-
Oauth2 Refresh Token issue - SailPoint Identity
Need someone to take a look at the following error to identify what is the problem. The token refresh was working for short periods, but then it stops working again. For instance, it was working over the december-january break, but last week it stopped working. We currently have the expiry set to 4 hours in production, (20…
-
Has anyone used an API to manage Special Access?
We are looking for a way to bulk edit/update Special Access for Assignments so that admins do not have to manually add these to every individual assignment. We are looking for a way to automate special access for our students with reasonable adjustments using API. If you've experimented with this before we'd be super keen…
-
About GET & POST of dropbox feedback
I could successfully use GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/(folderId)/feedback/(entityType)/(entityId) to retrieve the evaluation of a user's assignment, but for the updating of the evaluation, I've tried to use the post version of the same api but seems the RubricAssessmentsin the post body is not…
-
How to Dynamically Pull the UserID of the Logged-In User
I have created a widget that pulls data for the logged-in user such as course progress but the widget will display unique data depending on what student is logged in. I am trying to dynamically pull the user_id of the student logged in viewing the widget but I am getting stuck on what the current variable is for the User…
-
How to use APIs in Custom Widgets
I am attempting to use this endpoint: https://(our brightspace sandbox).brightspace.com/d2l/api/lp/1.9/enrollments/users/(test user ID that exists and has valid enrollments)/orgUnits Purpose - Create a Custom Widget that will allow students to see any Inactive Courses they are enrolled in by parsing JSON responses to pull…
-
How do I remove a user from a SECTION using the API
I am able to enroll a user into any given section using the API, however I am unable to remove that same user from any given section using the API. I've reviewed the various endpoints, and the closest I got to removing a user using the API from a section was to call the DELETE method on an endpoint like this:…
-
Scope for OAuth2.0 to Access Advanced Data Sets
I need to know what scope I should use in OAuth2.0 setup to allow API access to advanced data sets. I have set up a legacy scope of core:*: datahub:*: but it allows the API user access to Brightspace Data Sets only, no reports that are labeled as Advanced Data Sets will pull through. I have read the API Authentication…
-
APIs to get submissions for an assignment & evaluate
Are there APIs available for a instructor to get all the submissions for an assignment and evaluate the submissions?
-
How to place a personalized component in homepage without affecting the layout?
Greetings! I'm designing a personalized course in brightspace for my college which must be a 'Gamified route'. Currently I have thought of everything I want in the gamified route, however, I am having problems when building custom components, because when creating them with HTML, JavaScript and CSS and placing them in,…
-
Support for Client Credential Grant for API Access
I wanted to reach out to ask if there are any plans to support the client credential grant for obtaining an access token for the API. Currently, I understand that only the authorization grant flow is supported. In my situation, there is no user or browser involved, and I need server-to-server communication. Therefore, the…
-
Is there a way to update the semester from a course using the API?
I have only been able to target the semester using POST upon course creation but I'm not able to update a course semester using PUT
-
Brightspace Awards API - mass download all issued badges or certificates?
I'm trying to use Postman to write some Python to batch download all Awards issued organization-wide. I *think* that I'd need to make a GET call to https://{{BrightspaceDomain}}/d2l/api/bas/{{version}}/library/templates (no parameters) to get the full list of certificate templates that can be issued. I make that call but…
-
How to create a component that allows me to show an Introduction module in the homepage.
Greetings! I'm trying to create a course for my college which should simulate a gamified route following the next sections: Introduction module, activities module (which is a map that allows students to travel around the world (activities per continent) that must be solved to get experience from every continent) and…