Download

A list of all publicly available methods for interacting with the API.

GET

Get package download hash -/package/download-hash/{id}

Query method

GEThttp://apilocal.stableproxy.com/v2/package/download-hash/{id}

Query parameters

IdentifierRegulationsExample
id1required11

Code examples

1async function getPackageDownloadHash() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/package/download-hash/{id}'
4      .replace("{id}", 11), {
5         method: 'GET',
6         headers: {
7            'Authorization': 'API-Token [YOUR TOKEN]',
8            'Content-Type': 'application/json'
9         }
10      }
11   );
12   
13   const res = await req.json();
14}

Examples of answers

DELETE

Reset Download Hash -/package/download-hash/{id}

Query method

DELETEhttp://apilocal.stableproxy.com/v2/package/download-hash/{id}

Query parameters

IdentifierRegulationsExample
id1required11

Code examples

1async function deletePackageDownloadHash() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/package/download-hash/{id}'
4      .replace("{id}", 11), {
5         method: 'DELETE',
6         headers: {
7            'Authorization': 'API-Token [YOUR TOKEN]',
8            'Content-Type': 'application/json'
9         }
10      }
11   );
12   
13   const res = await req.json();
14}

Examples of answers

GET

Get package download -/package/download/{hash}/{format}/{connection}/{nopwd?}

Query method

GEThttp://apilocal.stableproxy.com/v2/package/download/{hash}/{format}/{connection}/{nopwd?}

Query parameters

IdentifierRegulationsExample
hash1requirednull
format1requirednull
connection1requirednull

Code examples

1async function getPackageDownload{nopwd?}() {
2   const baseUrl = 'http://apilocal.stableproxy.com/v2';
3   const req = await fetch(baseUrl + '/package/download/{hash}/{format}/{connection}/{nopwd?}'
4      .replace("{hash}", null)
5      .replace("{format}", null)
6      .replace("{connection}", null), {
7         method: 'GET',
8         headers: {
9            'Content-Type': 'application/json'
10         }
11      }
12   );
13   
14   const res = await req.json();
15}

Examples of answers

StableProxy

StableProxy

© StableProxy – 2021 - 2025 – Ukraine

Payment methods