This repository contains a Postman collection and API documentation for the Library API.
The collection is designed to support API testing and request workflow validation for book management and skill-check operations. It includes endpoints for retrieving books, filtering fiction books, creating new books, checking out books, deleting books, and performing skill checks.
Postman_Course/
├── Postman Library API v2.postman_collection.json # Postman collection
└── README.md # API documentation
- Postman
- REST API
- JSON
- HTTP Methods
- API Testing
Before using this project, make sure you have the following installed:
- Postman
- Git
Clone the repository:
git clone https://github.com/Alez-Estacio/Postman_Course.gitNavigate to the project folder:
cd Postman_CourseTo use the API collection:
- Open Postman.
- Click Import.
- Select the file:
Postman Library API v2.postman_collection.json
- Import the collection into your workspace.
- Configure the API host or base URL according to the target environment.
- Start sending requests from the imported collection.
| Method | Endpoint | Description |
|---|---|---|
| GET | /books |
Retrieves all available books in the library. |
| GET | /fiction-books |
Retrieves all fiction books available in the library. |
| GET | /books/:id |
Retrieves a specific book by its ID. |
| POST | /books |
Adds a new book to the library. |
| PATCH | /books/:id/checkout |
Updates a book status to checked out. |
| DELETE | /books/:id |
Deletes a book from the library. |
| POST | /skill-check |
Performs a skill-check request. |
GET /booksReturns the full list of books available in the library.
GET /fiction-booksReturns the list of fiction books available in the library.
GET /books/:idReturns the details of a specific book using its unique ID.
POST /booksCreates a new book record in the library.
The request must include the required book information in the request body according to the API specification.
PATCH /books/:id/checkoutUpdates the status of a book to indicate that it has been checked out or borrowed.
DELETE /books/:idDeletes a specific book from the library using its unique ID.
POST /skill-checkExecutes a skill-check request.
You can use this API documentation and Postman collection to:
- Validate Library API endpoints.
- Execute manual API tests.
- Review request and response workflows.
- Practice REST API testing with Postman.
- Document API behavior in a structured way.
- Make sure the API base URL is correctly configured before sending requests.
- Requests that require a book ID must use a valid existing ID.
- Requests that create or update data must include the required request body.
- The Postman collection can be extended with test scripts, environment variables, and automated assertions.
Alezander Estacio
QA Automation Engineer