API 1.0 (Archive)
API 1.0
Legacy Pgyer Open API 1.0 overview, including authentication, common parameters, and a curl request example.
API 1.0 is no longer maintained. New integrations should use API 2.0. This section is kept for existing legacy integrations only.
Always use HTTPS when calling these legacy endpoints so API keys and other credentials are not sent over a plaintext connection.
Overview
Pgyer API 1.0 allowed third-party systems to upload, host, install, and query apps for internal distribution workflows. Most data APIs use HTTP POST and return JSON. Resource URLs may use HTTP GET.
Common Parameters
| Parameter | Alias | Description |
|---|---|---|
| _api_key | API Key | Identifies the API caller. Unless otherwise noted, every API request must include this parameter. |
| uKey | User Key | Identifies the current Pgyer user. |
| aId | App Id | Unique ID of an App group. Multiple versions of the same app belong to the same group. |
| aKey | App Key | Unique identifier of a specific app build/version. |
Example
curl example for listing public apps:
curl -X POST "https://api.pgyer.com/apiv1/app/listAll" \
-d "type=ios" \
-d "_api_key=YOUR_API_KEY" \
-d "page=1"