Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/LizandroCanul/back_sdo/llms.txt

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

GET /dependencias/:id

Returns detailed information about a specific government dependency.

Authentication

No authentication required. This is a public endpoint.

Path Parameters

id
number
required
The unique identifier of the dependency to retrieveExample: 1

Response

Returns a single dependency object.
id
number
required
Unique identifier for the dependency
nombre
string
required
Full name of the dependency
siglas
string
Acronym or abbreviation for the dependency (automatically converted to uppercase)
activo
boolean
required
Indicates whether the dependency is active. Defaults to true

Example Request

curl -X GET http://localhost:3000/dependencias/1

Example Responses

200 - Success
{
  "id": 1,
  "nombre": "Secretaría de Desarrollo Urbano",
  "siglas": "SDU",
  "activo": true
}
404 - Not Found
{
  "statusCode": 404,
  "message": "Dependencia #999 no encontrada",
  "error": "Not Found"
}
If the dependency ID does not exist, the API will return a 404 error with a descriptive message.

Build docs developers (and LLMs) love