Skip to content
DARC
Developers

REST Resource: private

The private API's front door: how to authenticate, and every route.

PrivateIndex fields

FieldDescription
name
stringrequired
Always "DARC private API".
version
integerrequired
The API version: 1.
auth
stringrequired
How to authenticate, in one line.
public
stringrequired
Where the public API is.
docs
stringrequired
Where the guides and the reference are: /developers.
guide
stringrequired
The guide for agents: /agent-guide.
routes
string[]required
Every route, one line each: method, path and a short description.
methods
object[]required
Every route as an object: {id, method, path, summary, auth, docs}.
openapi
stringrequired
The OpenAPI file: /api/v1/openapi.json.

Methods

  • private.index
    GET/api/v1/private

    Lists every route on the private API, with how to authenticate.