This endpoint returns the complete revision history for a specific location, sorted byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/AndresLopezCorrales/Goods-Inventory/llms.txt
Use this file to discover all available pages before exploring further.
date_time_revision descending (newest first). It is used by the admin location-detail view to show the audit trail of all inspections carried out at that location.
Request
- Method: GET
- Path:
/api/admin/locations/{id_location}/revisions - Auth: Bearer JWT
Path Parameters
Primary key of the location whose revision history should be returned.
Request Example
Response
200 — Success
Returns an array of revision records ordered newest-first. An empty array[] is returned when no revisions have been recorded for the location.
Primary key of the revision record.
Foreign key referencing the location this revision belongs to.
ISO 8601 timestamp recording when the inspection was carried out.
Free-text comment left by the inspector describing the outcome of the inspection. May be
null when no comment was provided.404 — Location Not Found
Returned when no record matchingid_location exists.