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

Returns a list of government dependencies (dependencias). By default, only active dependencies are returned. Use the ver_todo query parameter to include inactive dependencies.

Authentication

No authentication required. This is a public endpoint.

Query Parameters

ver_todo
string
default:"false"
Set to "true" to include inactive dependencies in the response. By default, only active dependencies are returned.Example: ver_todo=true

Response

Returns an array of dependency objects, sorted alphabetically by name.
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

Example Response

200 - Success
[
  {
    "id": 1,
    "nombre": "Secretaría de Desarrollo Urbano",
    "siglas": "SDU",
    "activo": true
  },
  {
    "id": 2,
    "nombre": "Secretaría de Obras Públicas",
    "siglas": "SOP",
    "activo": true
  },
  {
    "id": 3,
    "nombre": "Instituto de Vivienda",
    "siglas": "IVEY",
    "activo": false
  }
]
The response is always sorted alphabetically by the nombre field in ascending order (A-Z).

Build docs developers (and LLMs) love