Docs
Have a token? Manage tokens in the console
GET
/v1/rfcs/spaces

The account's spaces, newest first: one per system, each with its documents' counts by status and when it last changed. query matches the name. Paged with page_size and next_page_token.

Needs scope rfc:read.

Authorization

bearer
headerAuthorizationBearer <token>

An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (docs.inorbit.hr). The gateway verifies it; the audience is iohr-api.

Query Parameters

account_id?string

A team you belong to; empty for your own account.

query?string

Words in the space's name; empty for all.

page_size?integer

At most this many; 0 means 50, above 200 means 200.

Formatint32
page_token?string

From the previous page's next_page_token.

Response Body

iohr.rfcs.v1.ListSpacesResponse

application/json
  1. response

iohr.rfcs.v1.ListSpacesResponse

next_page_token*string
spaces*array<>
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try {  for await (const space of api.rfcs.allListSpaces()) {    console.log(space);  }} catch (e) {  if (!(e instanceof ApiError)) throw e;  console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`);}

npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.

{  "next_page_token": "string",  "spaces": [    {      "account_id": "string",      "awaiting_review": 0,      "created_at": "string",      "description": "string",      "documents": 0,      "name": "string",      "open": 0,      "slug": "string",      "space_id": "string",      "updated_at": "string"    }  ]}