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/getPassword/

Retrieves a single password entry by its unique identifier.

Path Parameters

id
integer
required
The unique identifier of the password entry to retrieve

Request

curl -X GET http://your-domain.com/api/getPassword/1

Response

passwords
object
The password object containing all fields
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)
status
integer
HTTP status code (200)

Response Codes

  • 200 - Success - Returns password object
  • 404 - Password not found

Example Response (200 OK)

{
  "passwords": {
    "id": 1,
    "password": "securePass123",
    "sistema": "Production Database",
    "usuario": "admin",
    "status": 1
  },
  "status": 200
}

Example Response (404 Not Found)

{
  "message": "contraseña no encontrada",
  "status": 404
}

Build docs developers (and LLMs) love