Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/JanContrerasDev/gestor-contrasenas/llms.txt

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

GET /api/listPassword

Retrieves all password entries where status is 1 (active). Deleted passwords (status = 0) are not included in the response.

Request

No parameters required.
curl -X GET http://your-domain.com/api/listPassword

Response

Array
array
Returns an array of password objects.
id
integer
Unique identifier for the password entry
password
string
The password value
sistema
string
System or application name
usuario
string
Username associated with the password
status
integer
Status flag (1 = active, 0 = deleted)

Response Codes

  • 200 - Success - Returns array of password objects
  • 404 - No passwords found

Example Response (200 OK)

[
  {
    "id": 1,
    "password": "securePass123",
    "sistema": "Production Database",
    "usuario": "admin",
    "status": 1
  },
  {
    "id": 2,
    "password": "myPassword456",
    "sistema": "Email Server",
    "usuario": "user@example.com",
    "status": 1
  }
]

Example Response (404 Not Found)

{
  "message": "No passwords found"
}

Build docs developers (and LLMs) love