
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
gitbook-plugin-api
Advanced tools
Write beautiful API documentation with GitBook
This plugins requires gitbook >=2.0.0
.
Add the plugin to your book.json
, then run gitbook install
:
{
plugins: ["api"]
}
You can now start writing API documentation:
{% api "List App Pages", method="GET", url="https://www.magloft.com/api/portal/v1/app_pages/:app_id/page/:page" %}
This endpoint **returns** a list of all `app pages` that belong to the magazine
### Parameters:
| Name | Type | Desc |
| :--------- | :------ | :-------------------------------------------------- |
| **app_id** | String | App ID to list app pages for |
| **page** | Integer | The page to list |
| per_page | Integer | Number of items to show per page |
| order_by | Symbol | Field to sort results by |
| order_dir | Symbol | Direction (asc, desc) to sort results by |
| filter | String | Text filter to search pages by name, title and html |
### Response:
```json
{
"id": 1234,
"title": "Welcome to MagLoft"
}
```
{% endapi %}
FAQs
API Documentation plugin for GitBook
The npm package gitbook-plugin-api receives a total of 22 weekly downloads. As such, gitbook-plugin-api popularity was classified as not popular.
We found that gitbook-plugin-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.