Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/marchena96/Paradigma-lab1/llms.txt

Use this file to discover all available pages before exploring further.

Returns a JSON array containing every Library record currently stored in the database. No filters are applied — all libraries are returned in a single response. This endpoint is useful for populating list views or building library-picker UIs.

Endpoint

GET /api/libraries

Authentication

No authentication is required. The GetAll action does not carry an [Authorize] attribute.

Parameters

This endpoint accepts no path parameters, query parameters, or request body.

Response

200 OK

Returns a JSON array of Library objects. The array is empty ([]) when no libraries exist.
id
integer
Auto-generated primary key assigned by the database.
name
string
Human-readable name of the library.
location
string
Physical address or location description of the library.

Status Codes

StatusMeaning
200OK — array of Library objects returned.

Example Request

curl https://localhost:7098/api/libraries

Example Response

[
  {
    "id": 5,
    "name": "Library name",
    "location": "2838 Violet Ct, Columbus, IN 47201, USA"
  }
]

Build docs developers (and LLMs) love