LambdaBase logoLambdaBase
Documentation

Documentation

Welcome to the LambdaBase documentation! Here you will find all the information you need to connect your frontend applications, authenticate users, and fetch real-time student data from the database.

Base URL

https://lambda.pipy.site/api
GET

Students API

Retrieve student records from the database. The endpoint supports fetching all students, a single student, or multiple students simultaneously.

Endpoint
/api/students

Query Parameters

ParameterTypeDescription
idstringReturns a single student object matching this ID.
idsstringComma-separated list of IDs to return an array of multiple students. Prioritized over id.

Fetch All Students

cURL Request
curl -X GET "https://your-domain.com/api/students"

Fetch Single Student

cURL Request
curl -X GET "https://your-domain.com/api/students?id=24BCADS101"

Fetch Multiple Students

cURL Request
curl -X GET "https://your-domain.com/api/students?ids=24BCADS101,24BCADS102"

POST

Authentication

Securely authenticate users. The login endpoint verifies credentials against the database and provisions access.

Endpoint
/api/auth/login

Login User

cURL Request
curl -X POST "https://your-domain.com/api/auth/login" \
  -H "Content-Type: application/json" \
  -d '{"email":"user@gmail.com", "password":"yourpassword"}'