GET /api/getPassword/
Retrieves a single password entry by its unique identifier.
Path Parameters
The unique identifier of the password entry to retrieve
Request
curl -X GET http://your-domain.com/api/getPassword/1
Response
The password object containing all fieldsUnique identifier for the password entry
System or application name
Username associated with the password
Status flag (1 = active, 0 = deleted)
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
}