floor-blocks

Get Contractor Numbers

The same numbers, addressable by id -- for William's Contractors page to read one row, or a contractor's own phone to read itself by id. Never another contractor's: allowed only with hr:contractors:read, or when the caller's OWN contractors row is the one asked for. README §6 do- not: "Let a contractor see another contractor's numbers" -- proved by test_routes.py's 403 on a second contractor's id. The grant is checked here, not as a declared require_function dependency, on purpose: the answer depends on the row asked for (anyone may read their OWN row; another person's needs hr:contractors:read), which is the one case the route-permission rule keeps inside a handler (finding T11-auth-safety-09; lead decision 2026-11-21 under the cleanup Frederick ordered 2026-11-20). Do not move it to a dependency.

get/api/floor/contractors/{contractor_id}/numbers

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

contractor_id, string uuid required

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 251 revisions of this API.