Base URL
All API endpoints are prefixed with /api:
Available Endpoints
The Password Manager API provides the following endpoints for managing passwords:
Password Management
GET /api/listPassword - Retrieve all active passwords
GET /api/getPassword/ - Retrieve a specific password by ID
POST /api/createPassword - Create a new password entry
POST /api/updatePassword/ - Update an existing password
POST /api/deletePassword/ - Soft delete a password (sets status to 0)
Authentication
By default, the API endpoints do NOT require authentication. All endpoints are publicly accessible in the current implementation.
For production use, you should protect these endpoints with Laravel Sanctum authentication. See the Authentication guide for instructions on securing your API.
All API responses are returned in JSON format. Successful responses typically include:
200 - Success
400 - Bad Request (validation errors)
404 - Not Found
500 - Internal Server Error
Data Model
Password entries contain the following fields:
id - Unique identifier (auto-generated)
password - The password value
sistema - System/application name
usuario - Username associated with the password
status - Status flag (1 = active, 0 = deleted)