DEV3 Rafterbase REST API
Base URL /api/v1 · Authenticate with Authorization: Bearer n3k_… · OpenAPI 3.1 JSON
get
/api/v1/mescope: readThe organisation this key belongs to
get
/api/v1/membersscope: readList members
Parameters: role (query)
get
/api/v1/usagescope: readUsage for the current billing period
post
/api/v1/eventsscope: writeRecord a metered usage event
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"metric": {
"type": "string",
"pattern": "^[a-z0-9._-]+$"
},
"quantity": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 1000000
}
},
"required": [
"metric",
"quantity"
],
"additionalProperties": false
}