-
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…
-
How to use APIs in a Widget?
I'm trying to present some useful information in a widget. - How many students have accessed that course - How many students have accessed a particular content item - Can we include User Attributes such as Gender? Not sure where to start. Is this even possible within a widget? Thanks in advance for your help.
-
How can we get course structure along with course completion status and course item and scores ?
Just wanted to get for a learner the course status and grade along with items data like score , completion status , completion criteria and competency aligned then competency and last titem accessed .
-
How do I add an External Learning Tool to a class
How do I add an External Learning Tool to a class
-
Force local login form for oauth2 when SSO is enabled
On our site we have SSO enabled for our students and teachers. For integrations which use the APIs we use local accounts. Is there a way to trigger the local login screen when using https://auth.brightspace.com/oauth2/auth to get a token so you can use a local account? Now yoy need tricks to add the ?noRedirect=1 to go to…
-
400 Errors on API after scope update
I am receiving 400 errors when I try to refresh my token after updating my scope. I tried restoring the scope to the previous values and am still getting a 400 error. I have tried testing in Postman but am getting other errors. Nothing in my code base has changed other than trying to update the scope variable. This is very…
-
Getting a permissions error when trying to use SQL
-
Rest api list and json response for all apis ? is there any swagger link available
Rest api list and json response for all apis ? is there any swagger link available
-
403 Error when doing a GET request to /orgstructure
We are able to make a successful GET request to /organization/info but getting a 403 for /orgstructure. What are we missing? Kind regards, Gerald @ Edlink.
-
Authorization Tokens that keep Expiring
I created a widget, that allows an Instructor or Admin level to create a course using a form and entering a title, and the rest is generated for the user. Doing so requires an API POST command that requires a token. What I'm finding is the token keeps expiring. I have the auto-refresh token turned on, but this didn't fix…
-
Why is the enrollment GET call in my code below not working? I am receiving a 400 Bad Request error.
// Define the base URL for the Brightspace API endpoint for enrollments const baseURL = `https://example.com/d2l/api/lp/1.44/enrollments/myenrollments/`; // Define the URL for fetching enrollments with the bookmark parameter let enrollmentsURL = `${baseURL}?bookmark=1`; // Array to store all enrollments let allEnrollments…
-
Tag management api
Hello, Is there existing API's for getting values under Tag management?
-
API Calls to change section association
Hello. I am hoping someone can walk me through the following article: I just started using Postman and I got the hang of the "GET" API calls. But, I'm struggling with puts and posts. I am getting the error "400" "Request has missing or invalid parameters." The call I'm making is: [our test…
-
API access / token issues via OAuth2
We're currently facing API access / token issues via OAuth2. We're using a Brightspace user account (i.e., not an institutional account) in our Brightspace to authenticate access for API use. As this is a Brightspace account, we're by-passing the institution's SSO by using a redirect link which allows the account to log in…
-
Documentation GET /d2l/api/lp/(version)/outypes/(orgUnitTypeId)
Dear madame/sir, This API is not documented enough: I'm missing 2 items: Oauth2 Scopes Return Can you add this information and/or provide this via this platform, so I establish a succesful request/response? Thanks in advance!
-
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":…
-
API Call to the Learner Usage Dataset
I am trying to automate the download of the Learner Usage Dataset and am running into an issue with my test call in Postman. I I using the below from the "Get List of Available Data Sets" sample; however whenever I must be missing something because when I try to run this, I am getting this error: { Errors: [ {Message: "No…