-
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…
-
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…
-
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":…
-
Tag management api
Hello, Is there existing API's for getting values under Tag management?
-
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…
-
I have oAuth2.0 setup but requesting token asks to login
I'm trying to connect to API from c# code, I can request token through postman, but the request only works when I'm logged in;otherwise, it asks me to login and then I can retrieve the token by clicking on 'Get new access token'. This might work when I'm testing but when I'm trying to request token from c# code based on…
-
Authentication error
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":…
-
SCORM packages behave differently when loaded via the API compared to being loaded via the UI.
We have developed a SCORM quiz by testing it and uploading it via the "Add Existing" button in the course content area. Now we are loading these SCORM quizzes en masse via the API. The ones loaded via the API seem to communicate with the SCORM engine synchronously and as a result display some lag in the user experience.…
-
Missing Resources
I was watching the webinar "Custom Widgets and Tools using API Calls" () and it referred to resources that would be made available. I am unable to find them. Does anyone know where they might be?
-
api call to add multiple questions to quiz?
Hi! I was wondering if there was also an api function with which i can add one or multiple questions to a quiz? I found the functions for adding quizzes and retrieving quiz questions but adding them i cant find, is there a way? Thanks, Roel
-
Can you use the Brightspace API to add a Survey to a Topic Item?
You can use this call to update topic items. The json parameters you send in the post has a url parameter that is supposed to point to the Survey. However, when retrieving the survey, the SurveyReadData does not contain a url parameter. Is it possible to create a topic item that has a link to a survey? Thanks.
-
Where can I upload my custom css to the it applies globally ? to avoid adding in each page.
I can paste my css through HTML editor and it works fine but having to add in 100s of pages is not very productive. Is there a way to upload or paste my CSS to make them work globally ?
-
Upload File Access to the Media Library via API
Is there API access to upload files to a users Media Library? I can't find reference to it specifically but perhaps it's something that's been documented elsewhere. Thanks for any assistance you can provide:
-
Data Hub's APIs- Retrieve a Data Set Extract File
Hi all, Im trying to retrieve a data set extract file fro Data Hub API. Im stuck at this part. I tried on it didnt work. The error is Unknown error occurred (HTTP status 500). Can someone help. Thank you.
-
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…
-
How to get subsequent evaluation for an already evaluated student?
I use Brightspace as a facilitator / teacher. I'm making a browser extension for myself that automatically find any student assignment submissions that isn't evaluated. For my first version I used the following endpoint: GET /d2l/api/le/(version)/(orgUnitId)/dropbox/folders/ The data it returns contains 2 relevant fields:…
-
Retrieve list of links in a topic and update it using API
Is it possible to retrieve all the links existed in the topics/units and update it using API?