Skip to content

[MDL-85621] Add first version of Badges API #1399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sarjona
Copy link
Member

@sarjona sarjona commented Jul 11, 2025

Apart from creating the Badges API page, this pull request also documents the main changes implemented in https://moodle.atlassian.net/browse/MDL-85621 and includes a note in the devupdate for easier discovery.

@Copilot Copilot AI review requested due to automatic review settings July 11, 2025 06:47
Copy link

netlify bot commented Jul 11, 2025

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit fd8740c
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/6870bbce69f9ff0008fdc63c
😎 Deploy Preview https://deploy-preview-1399--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sarjona sarjona added the blocked-by-tracker This issue is blocked by an issue in https://tracker.moodle.org/ label Jul 11, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces the initial documentation for the Badges API, adding an entry in the development update and a full API reference page.

  • Adds a “Badges API reorganisation” section to docs/devupdate.md, summarizing key changes.
  • Creates docs/apis/subsystems/badges/index.md with API overview, Open Badges history, JSON schema examples, and exporter folder layout.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs/devupdate.md Added Badges API reorganisation note with change highlights.
docs/apis/subsystems/badges/index.md New Badges API reference page with background and usage details.
Comments suppressed due to low confidence (4)

docs/devupdate.md:23

  • The issueNumber attribute appears to reference MDL-82147, but this PR tracks MDL-85621. Please correct the issue number for consistency.
<Since version="5.1" issueNumber="MDL-82147" />

docs/devupdate.md:21

  • [nitpick] Spelling is inconsistent: the heading uses British ‘reorganisation’ while the bullet uses American ‘Reorganizing’. Choose one variant for consistency.
## Badges API reorganisation

docs/devupdate.md:29

  • [nitpick] Consider clarifying this bullet—e.g. "Refactor JSON exporters to support multiple Open Badges schema versions"—to more accurately describe the change.
- Re-implementing JSON files to support multiple Open Badges versions (MDL-85621). This will allow for seamless integration with different schema requirements.

docs/apis/subsystems/badges/index.md:13

  • [nitpick] The bold markup closes before the closing parenthesis. To include the entire phrase in bold, move the closing ** to after the ).
The **Open Badges** standard, designed to recognize and verify learning achievements, has evolved significantly since its beginning. The **Mozilla Foundation** launched the initial version in 2012 with **Open Badges 1.0** and its "Backpack" platform. Over time, the standard matured, with **Open Badges 2.0** officially released by the **IMS Global Learning Consortium (now 1EdTech**) on April 12, 2018.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-by-tracker This issue is blocked by an issue in https://tracker.moodle.org/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant