Features Package
A list of all publicly available methods for interacting with the API.
GET
Get package features Features Package -/package/features/{id}
Query method
GEThttps://api.stableproxy.com/v2/package/features/{id}
Query parameters
| Identifier | Regulations | Example |
|---|---|---|
| id | 1required | 56 |
Code examples
JavaScript
async function getPackageFeatures() {
const baseUrl = 'https://api.stableproxy.com/v2';
const req = await fetch(baseUrl + '/package/features/{id}'
.replace("{id}", 56), {
method: 'GET',
headers: {
'Authorization': 'API-Token [YOUR TOKEN]',
'Content-Type': 'application/json'
}
}
);
const res = await req.json();
}Examples of answers
Success response
PUT
Toggle Features Features Package -/package/features/{id}
Query method
PUThttps://api.stableproxy.com/v2/package/features/{id}
Query parameters
| Identifier | Regulations | Example |
|---|---|---|
| id | 1required | 56 |
Code examples
JavaScript
async function putPackageFeatures() {
const baseUrl = 'https://api.stableproxy.com/v2';
const req = await fetch(baseUrl + '/package/features/{id}'
.replace("{id}", 56), {
method: 'PUT',
headers: {
'Authorization': 'API-Token [YOUR TOKEN]',
'Content-Type': 'application/json'
}
}
);
const res = await req.json();
}