Brightspace Awards API - mass download all issued badges or certificates?
Andy.R.9906
Posts: 2 New Community Member
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 am getting a 404, which does not line up with any of the response codes listed for that call. Am I misreading the address of the endpoint, or doing something a little less intelligent? Thanks in advance.
Tagged:
Answers
-
Hi Andy.R,
Are you looking to generate awards and download them, as in the .pdf certificate or badge? Or are you after the Awards Issued data?
All ot the Award/Awards Issued data is captured in the following data sets:
The GET /d2l/api/bas/(version)/library/templates/ call will only return a list of certificate templates contained in the library. The certificate templates are a configuration option when creating an Award. The award can then issued in a course offering i.e. create an award using the selected certificate, share the award to a course offering, issue the award to a user in the course offering classlist. See the following resource for additional context
Hope that helps!