Simple service which track iOS application metadata and download link. Allow to generate manifest.plist for given application, to simplify ad-hoc installation.
- Clone this repository
- Start application using
npm start
Set environment variable BASE_URL
to address of service, like BASE_URL=http://localhost:3000
.
You can do this by creating .env
file or using env prefix of command BASE_URL=http://localhost:3000 npm start
.
If you want to enable debug output, add DEBUG
variable to the file. The value should be set to eith *
for all debug output from the application, or to ipa-distribution:*
to see only the output from this application.
API Methods
GET /v1/bundles?page=<n>
By default the response will only contain published bundles.
Filters:
showunpublished
- if set totrue
returns a full list of bundles including the unpublished ones.
POST /v1/bundles
payload:
{
"app_id": "",
"name": ""
"version": ""
"url": "<download_url>"
}
PUT /v1/bundles/<id>
payload:
{
"published": "true"
}
Allows updates to all properties of an existing bundle, apart from id
and created_at
.
GET /v1/bundles/<id>
sample output:
{
"id": "de305d54-75b4-431b-adb2-eb6b9e546014",
"app_id": "com.example.MyApp",
"name": "MyApp",
"version": "1.0.0",
"url": "http://example.com/MyApp-1.0.0.ipa",
"created_at": null,
"updated_at": null,
"manifest_url": "http://example.com/v1/bundles/de305d54-75b4-431b-adb2-eb6b9e546014/manifest.plist",
"download_url": "itms-services://?action=download-manifest&url=http://example.com/v1/bundles/de305d54-75b4-431b-adb2-eb6b9e546014/manifest.plist"
}
GET /v1/bundles/<id>/manifest.plist