Skip to main content

Documentation 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.

The admin items endpoint returns the same data as the public /api/items/{id} endpoint but requires a valid JWT token. It is used by the admin location-detail view to display the full inventory list for a selected location.

Request

  • Method: GET
  • Path: /api/admin/items/{ubicacionId}
  • Auth: Bearer JWT

Path Parameters

ubicacionId
integer
required
The id_location primary key of the target storage location.

Request Example

curl "http://localhost:5000/api/admin/items/3" \
  -H "Authorization: Bearer <token>"

Response

200 — Success

{
  "ubicacion": {
    "id_location": 3,
    "number_location": 104,
    "description": "Laboratorio de Materiales"
  },
  "items": [
    {
      "id_item": 12,
      "account_name": "12345678901",
      "description": "Microscopio Olympus"
    }
  ]
}
ubicacion
object
Summary details of the requested location.
items
array
List of inventory items stored at this location. Returns an empty array [] when no items are recorded.

Build docs developers (and LLMs) love