Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

ActivityPub Discovery API

WebFinger and NodeInfo discovery endpoints

This API exposes 3 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://{domain}.

3 operations 3 paths 4 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Server
https://{domain}
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

ActivityPub Discovery API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). An API key is passed in the header as Signature (HTTPSignature).

  • BearerAuth — OAuth 2.0 bearer token for client-to-server authentication
  • HTTPSignature — HTTP Signatures (draft-cavage-http-signatures) for server-to-server authentication. The Signature header contains keyId, algorithm, headers, and signature fiel…

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Discovery 3

WebFinger and NodeInfo discovery endpoints

GET
/.well-known/webfinger
Discover actor via WebFinger
getWebFinger 2 params → 200404
GET
/.well-known/nodeinfo
Get NodeInfo link document
getNodeInfoLinks → 200404
GET
/nodeinfo/{version}
Get NodeInfo server metadata
getNodeInfo 1 param → 200404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are NodeInfo (5 properties), WebFingerResponse (4 properties), Error (2 properties), NodeInfoLinks (1 property). Each schema is shown below with its type and property counts.

WebFingerResponse
object
JSON Resource Descriptor (JRD) per RFC 7033
4 properties 1 required
NodeInfo
object
NodeInfo server capability metadata
5 properties
Error
object
2 properties
NodeInfoLinks
object
NodeInfo link document at /.well-known/nodeinfo
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

activitypub-discovery-api-openapi.yml Raw ↑