Complete API documentation for developers
The PoligonVR Plugin Manager API allows developers to interact with the plugin system programmatically. This API provides endpoints for managing plugins, retrieving information, and configuring settings.
https://api.poligonvr.com/v1
All API requests require authentication using an API key. Include your API key in the request header:
Authorization: Bearer YOUR_API_KEY
Retrieve a list of all available plugins.
{
"plugins": [
{
"id": "plugin-123",
"name": "Avatar Optimizer Pro",
"version": "1.2.0",
"description": "Optimize avatar performance",
"category": "Performance",
"downloads": 3800,
"rating": 4.2
}
],
"total": 150,
"page": 1
}
Get detailed information about a specific plugin.
Install a plugin.
Uninstall a plugin.
Get list of installed plugins.
Update a plugin to the latest version.
| Parameter | Type | Required | Description |
|---|---|---|---|
| page | integer | No | Page number for pagination (default: 1) |
| limit | integer | No | Number of results per page (default: 20, max: 100) |
| category | string | No | Filter by plugin category |
| search | string | No | Search query for plugin names |
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Not Found - Resource not found |
| 500 | Internal Server Error |
const api = new PoligonVRAPI('YOUR_API_KEY');
// Get all plugins
const plugins = await api.getPlugins();
// Install a plugin
await api.installPlugin('plugin-123');
// Get installed plugins
const installed = await api.getInstalledPlugins();
from poligonvr import API
api = API('YOUR_API_KEY')
# Get all plugins
plugins = api.get_plugins()
# Install a plugin
api.install_plugin('plugin-123')
# Get installed plugins
installed = api.get_installed_plugins()
API requests are rate-limited to ensure fair usage:
Rate limit information is included in response headers:
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1640995200