Skip to content

Watchers API

Notices from authorities, openings a provider shows and the bill that did not come, read for a person to confirm.

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

GET/v1/watchers

Watchers

The offices followed, the notices waiting for you, the dates you confirmed, the bills that did not come and the people waiting for a slot. Needs miniself:read.

Scope watchers: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/watchers/sources

Follow an office

Follows an office whose notices matter. Needs miniself:write.

Scope watchers: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/watchers/sources/{id}

One followed office

An office followed for notices. Needs miniself:read.

Scope watchers: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/watchers/sources/{id}/stop

Stop following an office

Stops following it. Needs miniself:write.

Scope watchers: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/watchers/notices

Pass on a notice

Reads the text of a notice for dates, an amount and a reference, with a confidence, and keeps it for a person to confirm. A notice that presses for payment by phone or wallet is marked suspect. Needs miniself:write.

Scope watchers: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.

POST/v1/watchers/hits/{id}/confirm

Confirm the date

The owner, or the accountant as the accountant, confirms the date. A date the reading is not sure of stays about until a second notice or the accountant agrees. Becomes a thing to do with reminders, or moves one that a notice of extension or waiver speaks of.

Scope watchers: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/watchers/hits/{id}/dismiss

Dismiss a notice

Says the notice is nothing to act on. Needs miniself:write.

Scope watchers: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/watchers/hits/{id}/release

It checked out

The owner says a suspect notice checked out on the office's own site. Needs the right to change settings.

Scope watchers: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/watchers/obligations/{id}/done

Mark it done

Marks a confirmed date as dealt with. Needs miniself:write.

Scope watchers: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/watchers/openings

A slot opened

A slot opened at a provider. Each person waiting for such a slot whose window it fits is offered it, and taps to take it. Needs miniself:write.

Scope watchers: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.