Retrieve all subscriptions for a User within a Project
GET/v1/organizations/:organizationId/projects/:projectId/platforms/android/subscriptions
Retrieve all subscriptions for a User within a Project
Request
Path Parameters
ID of the organization
ID of the project
Query Parameters
Possible values: >= 1
Default value: 1
Page number starting from 1.
Possible values: >= 1
and <= 100
Default value: 10
Limit the number of results returned. Default is 10.
Responses
- 200
The subscriptions have been successfully retrieved.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
data object[]required
List of Android subscriptions
The unique identifier of the subscription.
The stock keeping unit to avoid conflict with subscriptionId and id. It is unique per project.
The name of the subscription.
The description of the subscription.
Indicates if the subscription is legacy.
metadata object
The current page number.
Number of items per page.
Total number of items.
The next page number, or null if this is the last page.
The previous page number, or null if this is the first page.
{
"data": [
{
"id": "abc123",
"sku": "sku123",
"name": "Basic Plan",
"description": "This is a basic subscription plan.",
"legacy": true
}
],
"metadata": {
"currentPage": 1,
"limit": 10,
"total": 100,
"nextPage": 2,
"previousPage": null
}
}