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 URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
equipment_id, string uuid required
Request body multipart/form-data
Body Service Document Route Api Equipment Equipment Id Service Document Post required
file, string binary nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 251 revisions of this API.