-
Notifications
You must be signed in to change notification settings - Fork 1
/
stats_api.txt
59 lines (45 loc) · 1.57 KB
/
stats_api.txt
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
Error codes:
===============================================================================
100:
All info correct, commit added
===============================================================================
110:
Incorrect username and/or password
===============================================================================
120:
Non existant script
===============================================================================
130:
Invalid time
===============================================================================
140:
Bogus post data / Variable does not exist for script
===============================================================================
150:
Bogus input for variable
===============================================================================
160:
Internal Server Error
===============================================================================
Expected POST data:
===============================================================================
Name:
user
Value:
Username (or ID, to be discussed)
===============================================================================
Name:
password
Value
Password for User
===============================================================================
Name:
script
Value
Script ID (or name, to be discussed)
===============================================================================
Name:
<SCRIPT VARIABLE NAME>
Value
Amount to add to the variable. (integer)
===============================================================================