-
Notifications
You must be signed in to change notification settings - Fork 0
/
Basic_ServiceProfile.JSON
97 lines (97 loc) · 2.63 KB
/
Basic_ServiceProfile.JSON
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"uuid": "9cc2b0fa-3222-11e5-86dd-1105bf5ebccc",
"type": "profiles",
"created": 1437755994495,
"modified": 1447729638020,
"APIProxy": [
{
"Name": "CustomerAPI",
"Authentication": {
"client_credentials": "True",
"password": "False",
"authorization_code": "False",
"implict": "False",
"Scopes": "Read, Write"
},
"CommonPolicies": {
"spike arrest": "True",
"Logging Debug": "False"
},
"Resources": [
{
"name": "customers",
"description": "Allows you to create and retrieve customers",
"resourcebasepath": "v1/customers",
"backend": "backendURL",
"SSL-Enabled": true,
"verbs": "POST,GET",
"Fields": {
"id": "Visible",
"name": "Visible",
"gender": "Visible",
"address": "Visible",
"nationality": "Hidden",
"creditcard": "Hidden",
"SSN": "Hidden"
}
},
{
"name": "customer_details",
"description": "Allows you to retrieve information on an existing customer",
"resourcebasepath": "v1/customers/*",
"verbs": "GET,POST",
"Fields": {
"id": "Visible",
"first_name": "Visible",
"last_name": "Visible",
"gender": "Visible",
"address1": "Hidden",
"city": "Visible",
"phone": "Hidden",
"nationality": "Visible",
"creditcard": "Hidden",
"SSN": "Hidden"
}
}
]
},
{
"Name": "LocationAPI",
"Authentication": {
"clientcredentials": "True",
"password": "True",
"authorization_code": "False",
"implict": "False",
"refresh_token": "False",
"Scopes": "Read,Write"
},
"Resources": [
{
"name": "getLocation",
"description": "Get geo location of the device",
"resourcebasepath": "v1/location",
"backend": "backendURL",
"SSL-Enabled": true,
"verbs": "GET,POST",
"Fields": {
"msisdn": "Visible",
"country": "Visible",
"city": "Visible",
"street": "Hidden",
"longitude": "Hidden",
"latitude": "Hidden"
}
}
]
}
],
"Description": "Some description to explain Basic Profile",
"DisplayName": "Basic",
"metadata": {
"path": "/profiles/9cc2b0fa-3222-11e5-86dd-1105bf5ebccc"
},
"QuotaInterval": "1",
"QuotaTimeUnit": "min",
"QuotaValue": "100",
"Version": "1.0"
}