Skip to content

Circles API

Groups that decide together: committees, households and teams, with their seats, hours, meetings and the questions put to them.

The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.

GET/v1/circles

The circles

Every committee, household and team, by name, with its seats and meetings. Needs miniself:read.

Scope circles:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/circles

Make a circle

Makes a circle. Every seat is held by a registered decider. Needs the right to change settings.

Scope circles:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

GET/v1/circles/{id}

One circle

The circle, its seats with names, its meetings and its rules. Needs miniself:read.

Scope circles:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

PUT/v1/circles/{id}

Change a circle

Replaces the circle when expected_version is the version you read; a circle changed by someone else is refused with 409. Needs the right to change settings.

Scope circles:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

DELETE/v1/circles/{id}

Remove a circle

Removes the circle. Questions already put to it keep their record. Needs the right to change settings.

Scope circles:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/circles/{id}/questions

Put a question to a circle

Puts a topic to the circle, or finds the open question for the same subject, and says who to ask now: the next seat by rank, its backup when it is silent, someone else when it is asleep. A topic the circle takes to a meeting asks nobody until the meeting. Needs miniself:write.

Scope circles:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

GET/v1/circle-questions

Questions put to circles

Newest first. Needs miniself:read.

Scope circle-questions:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
statequerystringNoOnly questions in this state.
limitqueryintegerNoHow many. Default 50.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

GET/v1/circles/{id}/questions/{question_id}

One question of a circle

Where a question put to this circle stands. Needs miniself:read.

Scope circles:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe circle id.
question_idpathstringYesThe question id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

GET/v1/circle-questions/{id}

One question

Where the question stands. A seat abroad stops being waited for with time, so reading can settle it. Needs miniself:read.

Scope circle-questions:read. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/circle-questions/{id}/votes

Answer a question

A seat, or the backup of a seat, says yes or no. Anyone else is refused. A settled question takes no more votes. Needs miniself:write.

Scope circle-questions:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
idpathstringYesThe id.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.