equipment

Service Document Route

README section 6: "Accept a service record without a document" is the first thing this route must never do -- file is optional only so a missing upload reads as a named 422 (EquipmentServiceDocumentMissing) rather than FastAPI's generic body-validation error.

post/api/equipment/{equipment_id}/service-document

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

equipment_id, string uuid required

Request body multipart/form-data

BodyServiceDocumentRouteApiEquipmentEquipmentIdServiceDocumentPost required
file, string binary nullable

Response

Successful Response

object required

Changes

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