Infrastructure API Reference

Health check and OAuth resource discovery.

2 endpoints

Endpoints on this page
GET /.well-known/oauth-protected-resource

RFC 9728 OAuth Protected Resource discovery

Returns a JSON document describing this resource server's capabilities, supported scopes, and associated authorization server endpoints.

Authentication

None

Response (Success)

NameTypeRequiredDescription
resource string optional The resource server base URL
authorization_servers array<string> optional Associated authorization server URLs
scopes_supported array<string> optional All scopes supported by this resource server
bearer_methods_supported array<string> optional Supported token types

Example Request

curl -X GET "https://api.buddo.xyz/.well-known/oauth-protected-resource"

Example Response

{
  "resource": "string",
  "authorization_servers": [
    "string"
  ],
  "scopes_supported": [
    "string"
  ],
  "bearer_methods_supported": [
    "string"
  ]
}
GET /health

Health check

Returns server health status and API version.

Authentication

None

Response (Success)

NameTypeRequiredDescription
status string required
version string required

Example Request

curl -X GET "https://api.buddo.xyz/health"

Example Response

{
  "status": "string",
  "version": "string"
}