Liste blanche

package/whitelist

Returns UDIDs allowed for one package (Package Whitelist).

URL

https://api.yourepo.com/1.0/package/whitelist.json

Accessibilité

Clé secrète

Méthodes de requêtes supportées

GET

Requiert une authentification

Oui

Limite d’utilisation

Limite globale d’utilisation

Paramètres

Requis
  • package

    L’identifiant de votre paquet.

Optionnel
  • limit

    Defaults to 25

    Maximum value of 100

  • page

    Defaults to 1

Réponse d’exemple

GET https://api.yourepo.com/1.0/package/whitelist.json?secret_key=YOUR_SECRET_KEY&package=com.yourepo.source.package
{
	"code": 0,
	"response": {
		"start": 0,
		"limit": 25,
		"total": 37,
		"page": 1,
		"whitelist": [
			{
				"udid": "fafefdfdfafefdfdfafefdfdfafefdfdfafefdfd",
				"description": "An UDID into your package whitelist"
			},
			{
				"udid": "fafefdfdfafefdfdfafefdfdfafefdfdfafefdfe",
				"description": "Another UDID into your package whitelist"
			},
			{
				"udid": "fafefdfdfafefdfdfafefdfdfafefdfdfafefdff",
				"description": "Another UDID into your package whitelist"
			},
			...
		]
	}
}