7. CMS Service
You can purchase contents from the Content Shop in the ARGear Console (https://console.argear.io) and manage them to fit your needs.
To use the purchased products, you need to first create a category in the Content Management menu. For each category, you can add or remove purchased products. You can also get the list of the products in each category through Project Overview > API > Your API URL.
<Fig. Your API URL>

7.1 Request URL Format

The request URL format is written as follows:
<Sample Code. Request URL Format>
1
Format : https:// + API_URL +/api/v3/+ API_KEY
2
Example : https://13.125.98.252:3001/api/v3/362ef06e0cfd2734db067f51
Copied!

7.2 Returning Data JSON Format

The requested URL above returns JSON string as follows:
<Sample JSON Format>
1
{
2
"api_key": "fe49fe8fe8c757e5a4f8d48d",
3
"name": "",
4
"description": "",
5
"status": "LIVE",
6
"categories": [
7
{
8
"uuid": "9914e791-0ad4-11ea-963e-d96ec44fac5d",
9
"slot_no": 0,
10
"title": "stickers",
11
"description": "",
12
"is_bundle": false,
13
"updated_at": 1574171880585,
14
"items": [
15
{
16
"uuid": "f9a91f00-d39c-11e9-a9a4-bb27b8db75ec",
17
"title": "KT_2DMASK_35",
18
"description": "",
19
"thumbnail": "https://content.argear.io/thumbnails/f9a91f00-d39c-11e9-a9a4-bb27b8db75ec.png",
20
"zip_file": "https://privatecontent.argear.io/contents/data/f9a91f00-d39c-11e9-a9a4-bb27b8db75ec.zip",
21
"num_stickers": 0,
22
"num_effects": 0,
23
"num_bgms": 0,
24
"num_filters": 1,
25
"num_masks": 1,
26
"has_trigger": false,
27
"status": "LIVE",
28
"updated_at": 1574145649708,
29
"big_thumbnail": "https://content.argear.io/thumbnails/f9a91f00-d39c-11e9-a9a4-bb27b8db75ec_big_thumbnail.png",
30
"type": "sticker/effects"
31
},
32
{
33
"uuid": "9a1f9c50-e04c-11e9-bd52-1de54418b8eb",
34
"title": "KT_2DMASK_37",
35
"description": "",
36
"thumbnail": "https://content.argear.io/thumbnails/9a1f9c50-e04c-11e9-bd52-1de54418b8eb.png",
37
"zip_file": "https://privatecontent.argear.io/contents/data/9a1f9c50-e04c-11e9-bd52-1de54418b8eb.zip",
38
"num_stickers": 0,
39
"num_effects": 0,
40
"num_bgms": 0,
41
"num_filters": 0,
42
"num_masks": 1,
43
"has_trigger": false,
44
"status": "LIVE",
45
"updated_at": 1574145626152,
46
"big_thumbnail": "https://content.argear.io/thumbnails/9a1f9c50-e04c-11e9-bd52-1de54418b8eb_big_thumbnail.png",
47
"type": "sticker/effects"
48
}
49
],
50
"division": 0,
51
"level": 0,
52
"status": "LIVE",
53
"countries": null,
54
"parentCategoryUuid": null
55
},
56
{
57
"uuid": "9914c080-0ad4-11ea-963e-d96ec44fac5d",
58
"slot_no": 1,
59
"title": "filters",
60
"description": "filters",
61
"is_bundle": false,
62
"updated_at": 1574171880585,
63
"items": [
64
{
65
"uuid": "b2b32470-f470-11e9-874d-b725998306ad",
66
"title": "sand",
67
"description": "",
68
"thumbnail": "https://content.argear.io/thumbnails/b2b32470-f470-11e9-874d-b725998306ad.png",
69
"zip_file": "https://privatecontent.argear.io/contents/data/b2b32470-f470-11e9-874d-b725998306ad.zip",
70
"num_stickers": 0,
71
"num_effects": 0,
72
"num_bgms": 0,
73
"num_filters": 1,
74
"num_masks": 0,
75
"has_trigger": false,
76
"status": "LIVE",
77
"updated_at": 1574160539636,
78
"big_thumbnail": "https://content.argear.io/thumbnails/b2b32470-f470-11e9-874d-b725998306ad_big_thumbnail.png",
79
"type": "filter"
80
}
81
],
82
"division": 1,
83
"level": 0,
84
"status": "LIVE",
85
"countries": null,
86
"parentCategoryUuid": null
87
}
88
],
89
"last_updated_at": 1574171817392
90
}
Copied!

7.3 Details of JSON Format (Contents List Search)

The tables below describe JSON formats when calling REST API through CMS.

The Top Layer JSON Format

<Table. Top Layer>
key
type
description
api_key
string
API KEY of ARGear Console Project
name
string
name of contents
description
string
description of contents
status
string
status of contents (LIVE, STAGING)
last_updated_at
long
last updated time of the contents list
categories
list
list of categories
categories JSON Format
<Table. API categories / filters>
key
type
description
uuid
string
uuid
title
string
title
description
string
description
is_bundle
boolean
true : default provided categories/filters
false : user added categories/filters
updated_at
long
updated time
status
string
status (LIVE, STAGING)
items
list
list of items
items JSON Format
<Table. API Items>
key
type
description
uuid
string
uuid
title
string
title
description
string
description
thumbnail
string
thumbnail url
zip_file
string
url of downloaded file
num_stickers
int
number of stickers in an item
num_effects
int
number of effects in an item
num_bgms
int
number of bgms in an item
num_filters
int
number of filters in an item
num_masks
int
number of masks in an item
has_trigger
boolean
indicates whether an item contains a trigger.
    true : The item contains a trigger.
    false : The item does not contain a trigger.
status
string
status of an item (LIVE, STAGING)
updated_at
long
last updated time of an item
type
string
type of an item
Last modified 1yr ago