Category Filter
Create a Catalog
Create an app catalog.
Argument | Type | Description |
---|---|---|
name | String | Required. Name of the app catalog |
description | String | Optional |
apps | Integer array | Optional. The applications IDs |
app_groups | Integer array | Optional. The App group IDs |
curl
HTTP Request:
Shell Command:
1 2 3 4 5 6 7 8 9 10 11 |
POST https://<portal>.hexnodemdm.com/api/v1/appcatalogues/ headers:- Authorization: <api key> Content-Type: application/json Sample Post Data:- [{ "name":"ios app catalogue", "description":"ios store free apps", "apps":[153], "app_groups":[1] }] |
Shell Command:
1 |
curl -H "Authorization: <your API key>" -H "Content-Type: application/json" -d '{ "name":" ios app catalogue ","description":" ios store free apps ","apps":[153],"app_groups":[1]}' https://<portal>.hexnodemdm.com/api/v1/appcatalogues/ -X POST |
HTTP Response:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
{ "id": 1, "name": " ios apps ", "description": "ios store free apps", "created_time": "2017-05-22T13:59:23.118Z", "apps": [ { "id": 153, "name": "Angry", "publisher": "Rovio Entertainment Ltd", "category": "Entertainment", "price": "Free", "icon": "http://is5.mzstatic.com/image/thumb/Purple82/v4/88/95/cd/8895cd2f-e532-3792-2b95-3a949a916cf1/source/60x60bb.jpg" }, ... ], "app_groups": [ { "id": 1, "name": "ios app group", "description": "hello", "created_time": "2017-05-22T13:59:23.118Z", "apps": [ { "id": 1, "name": "Google Chrome – The Fast and Secure Web Browser", "publisher": "Google, Inc.", "category": "Utilities", "price": "Free", "icon": "http://is5.mzstatic.com/image/thumb/Purple91/v4/c1/e9/48/c1e948b2-d0ad-feaa-4cea-fec3ead8c409/source/60x60bb.jpg" }, ... ] } ] } |