The Contributor Pledge

Public API documentation

Read pledge versions and look up public signatures. All endpoints return JSON and accept GET requests without authentication.

Download the OpenAPI specification

Try the current pledge or the first page of signatories.

Read the current pledge

GET /api/v1/pledge

200
The pledge version and its complete Markdown text.
404
No pledge version has been published.

List published pledge versions, newest first

GET /api/v1/pledge/versions

200
Each version includes the complete Markdown text, in descending SemVer order.

Read a specific version of the pledge

GET /api/v1/pledge/versions/{version}

version (path, required).

200
The pledge version and its complete Markdown text.
404
The requested pledge version does not exist.

List active signatures, newest first

GET /api/v1/signatories

page (query, optional). Pages start at 1. The server clamps the page number to the range 1 through 10000000.

200
A page of up to 50 active signatures.

Read a public signature and its verified identities

GET /api/v1/signatories/{id}

id (path, required). The public signature ID.

200
An active signature.
404
The signature does not exist or has been withdrawn.

Check whether a forge account has an active signature

GET /api/v1/lookup

Matches the host and case-insensitive username at the last recorded verification. See verified_at on the matching identity.

profile_url (query, required). HTTPS profile URL on a supported forge instance, with the username as the only path segment.

200
A match includes the signature. A missing profile or active signature returns signed=false.
422
The profile URL is missing, malformed or on an unsupported instance.