Guides · Courses in the VLE

Integrating with the Blackboard REST API

Pulse rules, each written as when something happens then do one thing, for a demo university.

Blackboard's REST API is the modern way to read and change a Learn site from an outside system, and it is the read that a lecture capture check is built on. Setting it up is a registration problem more than a coding one: the integration has to be registered, installed on the Learn instance, and authorised as a user before the first call returns anything.

The two halves of set-up

An integration is registered once, then enabled per Learn instance:

  1. Register the application. In the developer portal, register an application and receive an application id and a key and secret. One application has one id and secret, and the secret is shown once, so store it then.
  2. Install it on the instance. A Learn administrator enables it under REST API Integrations, entering the application id and choosing a Learn user whose permissions the integration borrows.

By default nothing is enabled: an integration reads nothing until an administrator installs it. That is the step that is missed most often, and it is why a first call so often returns "not authorised" even though the registration looks right.

How the token request works

The integration asks for a bearer token, then sends it on every call:

  • It posts to the token endpoint with the key and secret as basic auth and a grant type of client credentials.
  • The reply contains a token, valid for one hour, that is sent on the requests that follow.

From there the integration reads courses, content, users and, for a lecture capture check, the LTI domains and placements. Bradawl reads those endpoints read-only.

Trigger and action rules, including how an integration acts on a schedule

Why read-only first

The most useful first integration is a read-only one. A read-only client can find a missing placement or a recording that did not reach its course, without ever being able to change anything. That is the smallest change that proves the chain works, and it is the part a check needs. Write access can be added later, scoped to the one thing that must be changed.

The permission rule to remember: the API sees what the chosen Learn user sees. If an integration returns half the courses, the fault is usually that user's access, not the API.

Where it fits the other checks

The Blackboard read is half of a lecture capture check; the Panopto read is the other half. Our guide to checking an LTI placement covers the specific read that a missing link is found with, and our guide to setting up a Panopto service account covers the matching credentials on the recording side.

A worked example

At a demo university the integration team wants a nightly check of which courses are missing their recording link:

  • An application is registered, and the id and secret are stored.
  • An administrator installs it on the Learn instance, choosing a read-only user with access to every course.
  • The integration reads courses and LTI placements, and flags the one course where the placement is absent.

The integration changes nothing; it only reports. The missing link is fixed by hand the same day.

If you would like to see the read-only check on invented data, build a demo university.

Bradawl Pulse

Bradawl Pulse works with Panopto and Blackboard. It checks that each booked lecture was recorded, reached its course page and is open to students, and reads the learning system read-only.

See Bradawl Pulse

Related guides

Panopto, Blackboard, Moodle, Canvas and Microsoft Teams are trademarks of their owners. Bradawl is independent and not affiliated with them.