TEH STUDIO

Home Projects About Docs Contact

API Documentation

GET /api/v1/users

Retrieves a list of all registered users in the system.

Response:

[
    {
        "id": "user123",
        "username": "john_doe",
        "email": "john.doe@example.com"
    },
    {
        "id": "user456",
        "username": "jane_smith",
        "email": "jane.smith@example.com"
    }
]

POST /api/v1/login

Authenticates a user with provided credentials (email and password).

Request Body:

{
    "email": "user@example.com",
    "password": "your_password"
}

Response:

{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
    "userId": "user123",
    "message": "Login successful"
}

GET /api/v1/projects

Retrieves a list of all projects available in the system.

Response:

[
    {
        "id": "proj001",
        "name": "Mobile E-commerce App",
        "description": "A cross-platform mobile application for online shopping.",
        "status": "Completed"
    },
    {
        "id": "proj002",
        "name": "Cloud CRM System",
        "description": "A web-based customer relationship management system.",
        "status": "In Progress"
    }
]