-
Notifications
You must be signed in to change notification settings - Fork 5
/
General_api_parameters.json
44 lines (44 loc) · 1.39 KB
/
General_api_parameters.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
{
"type": "object",
"title": "General API Parameters",
"description": "General API Parameters",
"properties": {
"api_key": {
"type": "string",
"title": "Api key",
"description": "A valid and active API key obtained from authentication or a user's API control panel.. Required if not defined X-R4M-API-Key"
},
"X-R4M-API-Key": {
"type": "string",
"title": "X Route4Me api key",
"description": "A valid and active API key obtained from authentication or a user's API control panel. Required if not defined api_key"
},
"remote_ip": {
"type": "string",
"title": "Remote ip",
"description": "A decimal converted IP address of a user. If the IP is in the format x.x.x.x it will generate an error response. This is used for example when geolocating: the geolocation is sensitive to the user IP."
},
"device_type": {
"enum": [
"web",
"iphone",
"ipad",
"android_phone",
"android_tablet"
],
"default": "web",
"title": "Device type",
"description": "The device type from which the request originates. This is sometimes used to log actions."
},
"device_id": {
"type": "string",
"title": "Device id",
"description": "The device ID from which the request originates. This is used to ban devices"
},
"socket_id": {
"type": "string",
"title": "Socket id",
"description": "A socket id that will be included in pusher events"
}
}
}