DEV3 Rafterbase
Sign inTry the demo

DEV3 Rafterbase REST API

Base URL /api/v1 · Authenticate with Authorization: Bearer n3k_… · OpenAPI 3.1 JSON

get/api/v1/mescope: read

The organisation this key belongs to

get/api/v1/membersscope: read

List members

Parameters: role (query)

get/api/v1/usagescope: read

Usage for the current billing period

post/api/v1/eventsscope: write

Record 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
}