REST API
Get familiar with the Applivery API and explore the features

Get list of Distribution Sites under your App

This request is intended to get the list of Distribution Sites available for a given App, both active and inactive.

Definition:
GET https://api.applivery.io/v1/integrations/distributions

  • Authentication: required
  • Headers:
    • Content-Type: application/json
    • Authorization: bearer <Your_App_Token>

Query params:

Param Type Description
page String Page number
limit String Limit number of results
slug String Filter by URL slug

CURL Request Example

curl 'https://api.applivery.io/v1/integrations/distributions' 
  -X GET 
  -H 'Authorization: bearer xyz...xyz'

Responses

{
   "status":true,
   "data":{
      "items":[
         {
            "id":"string",
            "createdAt":"string",
            "application":"string",
            "slug":"string",
            "filter":{
               "type":"last",
               "value":"string",
               "ios":"string",
               "android":"string"
            },
            "security":"public",
            "tags":[
               "string"
            ],
            "visibility":"active",
            "showHistory":true,
            "terms":{
               "active":true,
               "text":"string"
            },
            "showDevInfo":true,
            "distributionUrl": "https://myorganization.applivery.io/myapp"
         }
      ],
      "totalDocs":10,
      "limit":5,
      "hasPrevPage":false,
      "hasNextPage":false,
      "page":1,
      "totalPages":1,
      "prevPage":null,
      "nextPage":2
   }
}
{
  "status": true,
  "error": {
    "code": 2001,
    "message": "Token not valid"
  }
}
{
  "status": true,
  "error": {
    "code": 4001,
    "message": "Entity not found"
  }
}