Skip to content

Commit 6d4708c

Browse files
authored
Add endpoints and fix a few things.
1 parent 705a9e2 commit 6d4708c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+3015
-20
lines changed

docs/CREDITS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ Thanks to the **Geometry Dash Programming** experts, and the **GDDocs** contribu
44

55
*-- Team professionally led by [Alten](https://github.com/Altenhh)*
66
- [SMJS](https://github.com/SMJSGaming)
7-
- [Nekit](https://github.com/NeKitDS)
7+
- [nekit](https://github.com/nekitdev)
88
- [Andre](https://github.com/AndreNIH)
99
- [Cvolton](https://github.com/Cvolton)
1010
- [Blaze](https://github.com/13laze)
1111
- [Colon](https://github.com/GDColon)
1212
- [AlFas](https://github.com/AlFasGD)
13+
14+
*-- [and DevExit by himself](https://github.com/DePianoman)*

docs/_sidebar.md

Lines changed: 65 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@
88
-----
99

1010
- **Server**
11+
- [Comment](/resources/server/comment.md)
12+
- [Friend Request](/resources/server/friendrequest.md)
13+
- [Gauntlet](/resources/server/gauntlet.md)
14+
- [Leaderboard Score](/resources/server/leaderboardscore.md)
1115
- [Level](/resources/server/level.md)
16+
- [Map Pack](/resources/server/mappack.md)
17+
- [Message](/resources/server/message.md)
18+
- [Song](/resources/server/song.md)
1219
- [User](/resources/server/user.md)
1320
- **Client**
1421
- [Gamesave](/resources/client/gamesave.md)
@@ -19,9 +26,66 @@
1926
- [Guideline String](/resources/client/level-components/guideline-string.md)
2027

2128
**Endpoints**
29+
- Comments
30+
- [deleteGJAccComment20](/endpoints/deleteGJAccComment20.md)
31+
- [deleteGJComment20](/endpoints/deleteGJComment20.md)
32+
- [getGJAccountComments20](/endpoints/getGJAccountComments20.md)
33+
- [getGJCommentHistory](/endpoints/getGJCommentHistory.md)
34+
- [getGJComments21](/endpoints/getGJComments21.md)
35+
- [uploadGJAccComment20](/endpoints/uploadGJAccComment20.md)
36+
- [uploadGJComment21](/endpoints/uploadGJComment21.md)
37+
- Level Packs
38+
- [getGJGauntlets21](/endpoints/getGJGauntlets21.md)
39+
- [getGJMapPacks21](/endpoints/getGJMapPacks21.md)
40+
- Levels
41+
- [deleteGJLevelUser20](/endpoints/deleteGJLevelUser20.md)
42+
- [downloadGJLevel22](/endpoints/downloadGJLevel22.md)
43+
- [getGJDailyLevel](/endpoints/getGJDailyLevel.md)
44+
- [getGJLevels21](/endpoints/getGJLevels21.md)
45+
- [rateGJDemon21](/endpoints/rateGJDemon21.md)
46+
- [rateGJStars211](/endpoints/rateGJStars211.md)
47+
- [reportGJLevel](/endpoints/reportGJLevel.md)
48+
- [updateGJDesc20](/endpoints/updateGJDesc20.md)
49+
- [uploadGJLevel21](/endpoints/uploadGJLevel21.md)
50+
- Messages
51+
- [deleteGJMessages20](/endpoints/deleteGJMessages20.md)
52+
- [downloadGJMessage20](/endpoints/downloadGJMessageo20.md)
53+
- [getGJMessages20](/endpoints/getGJMessages20.md)
54+
- [uploadGJMessage20](/endpoints/uploadGJMessage20.md)
55+
- Miscellaneous
56+
- [getAccountURL](/endpoints/getAccountURL.md)
57+
- [getGJSongInfo](/endpoints/getGJSongInfo.md)
58+
- [getGJTopArtists](/endpoints/getGJTopArtists.md)
59+
- [getSaveData](/endpoints/getSaveData.md)
60+
- [testSong](/endpoints/testSong.md)
61+
- [likeGJItem211](/endpoints/likeGJItem211.md)
62+
- [requestUserAccess](/endpoints/requestUserAccess.md)
63+
- [restoreGJItems](/endpoints/restoreGJItems.md)
64+
- Relationships
65+
- [acceptGJFriendRequest20](/endpoints/acceptGJFriendRequest20.md)
66+
- [blockGJUser20](/endpoints/blockGJUser20.md)
67+
- [deleteGJFriendRequests20](/endpoints/deleteGJFriendRequests20.md)
68+
- [getGJFriendRequests20](/endpoints/getGJFriendRequests20.md)
69+
- [getGJUserList20](/endpoints/getGJUserList20.md)
70+
- [readGJFriendRequest20](/endpoints/readGJFriendRequest20.md)
71+
- [removeGJFriend20](/endpoints/removeGJFriend20.md)
72+
- [unblockGJUser20](/endpoints/unblockGJUser20.md)
73+
- [uploadFriendRequest20](/endpoints/uploadFriendRequest20.md)
74+
- Rewards
75+
- [getGJChallenges](/endpoints/getGJChallenges.md)
76+
- [getGJRewards](/endpoints/getGJRewards.md)
77+
- Scores
78+
- [getGJLevelScores211](/endpoints/getGJLevelScores211.md)
79+
- [getGJScores20](/endpoints/getGJScores20.md)
80+
- Users
81+
- [getGJUserInfo20](/endpoints/getGJUserInfo20.md)
82+
- [getGJUsers20](/endpoints/getGJUsers20.md)
83+
- [updateGJAccSettings20](/endpoints/updateGJAccSettings20.md)
84+
- [updateGJUserScore22](/endpoints/updateGJUserScore22.md)
2285

2386
- **Accounts**
24-
- [Registration](/endpoints/accounts/register.md)
87+
- [Login](/endpoints/accounts/loginGJAccount.md)
88+
- [Registration](/endpoints/accounts/registerGJAccount.md)
2589

2690
- [Request](/endpoints/request.md)
2791

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# acceptGJFriendRequest20.php
2+
3+
Accepts an incoming friend request
4+
5+
## Parameters
6+
7+
### Required Parameters
8+
9+
**accountID** - Account ID of the user accepting the friend request
10+
11+
**gjp** - The [GJP](/topics/encryption/gjp.md) of the user accepting the friend request
12+
13+
**targetAccountID** - Account ID of the user who sent the friend request
14+
15+
**requestID** - ID of the friend request (Returned by [uploadFriendRequest20](/endpoints/uploadFriendRequest20.md))
16+
17+
**secret** - Wmfd2893gb7
18+
19+
### Optional Parameters
20+
21+
**gameVersion** - 21
22+
23+
**binaryVersion** - 35
24+
25+
**gdw** - 0
26+
27+
## Response
28+
29+
1, regardless of if the friend request exists or not
30+
31+
## Example
32+
33+
<!-- tabs:start -->
34+
35+
### **Python**
36+
37+
```py
38+
import requests
39+
40+
# With this code, DevExit is accepted a friend request
41+
# from PasswordFinders, whose account ID is 5317656
42+
43+
data = {
44+
"accountID": 173831, # DevExit's account ID
45+
"gjp": "********", # This would be DevExit's password encoded with GJP encryption
46+
"targetAccountID": 5317656,
47+
"requestID": 43248797,
48+
"secret": "Wmfd2893gb7",
49+
}
50+
51+
r = requests.post('http://boomlings.com/database/acceptGJFriendRequest20.php', data=data)
52+
print(req.text)
53+
```
54+
55+
**Response**
56+
```py
57+
1
58+
```
59+
60+
<!-- tabs:end -->
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# accounts/loginGJAccount.php
2+
3+
Logs into an account
4+
5+
## Parameters
6+
7+
### Required Parameters
8+
9+
**udid** - Funnily, this is the UUID of the user, [see here](/topics/encryption/id?id=uuid)
10+
11+
**userName** - The username of the account being signed into
12+
13+
**password** - The password of the account being signed into
14+
15+
**secret** - Wmfv3899gc9
16+
17+
### Optional Parameters
18+
19+
**sID** - Unsure, seems to be another
20+
21+
## Response
22+
23+
The account ID and the player ID of the user, separated by a comma, otherwise -1
24+
25+
## Example
26+
27+
<!-- tabs:start -->
28+
29+
### **Python**
30+
31+
```py
32+
import requests
33+
34+
data = {
35+
"udid": "605BE9FD-300E-49EA-A45C-B272EE64D3E0",
36+
"userName": "DevExit",
37+
"password": "********", # This would be DevExit's password
38+
"secret": "Wmfv3899gc9"
39+
}
40+
41+
r = requests.post("http://boomlings.com/database/accounts/loginGJAccount.php", data=data)
42+
print(req.text)
43+
```
44+
45+
**Response**
46+
```py
47+
173831,3935672
48+
```
49+
50+
<!-- tabs:end -->
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# accounts/registerGJAccount.php
2+
3+
Registers an account
4+
5+
## Parameters
6+
7+
### Required Parameters
8+
9+
**userName** - The username of the account to be added
10+
11+
**password** - The password of the account to be added
12+
13+
**email** - The email of the account to be added
14+
15+
**secret** - Wmfv3899gc9
16+
17+
## Response
18+
19+
1 if the account ID was successfully created, otherwise an [error code](/topics/status_codes)
20+
21+
## Example
22+
23+
<!-- tabs:start -->
24+
25+
### **Python**
26+
27+
```py
28+
import requests
29+
30+
data = {
31+
"userName": "GDDocsTestAcc",
32+
"password": "********",
33+
"email": "[email protected]",
34+
"secret": "Wmfv3899gc9"
35+
}
36+
37+
r = requests.post("http://boomlings.com/database/accounts/registerGJAccount.php", data=data)
38+
print(req.text)
39+
```
40+
41+
**Response**
42+
```py
43+
1
44+
```
45+
46+
<!-- tabs:end -->

docs/endpoints/blockGJUser20.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# blockGJUser20.php
2+
3+
Blocks a user.
4+
5+
## Parameters
6+
7+
### Required Parameters
8+
9+
**accountID** - The blocking person's account ID
10+
11+
**gjp** - The blocking person's [GJP](/topics/encryption/gjp.md)
12+
13+
**targetAccountID** - The account ID of the person being blocked
14+
15+
**secret** - Wmfd2893gb7
16+
17+
### Optional Parameters
18+
19+
**gameVersion** - 21
20+
21+
**binaryVersion** - 35
22+
23+
**gdw** - 0
24+
25+
## Response
26+
27+
Always returns 1, regardless of if the target account exists or not.
28+
29+
## Example
30+
31+
<!-- tabs:start -->
32+
33+
### **Python**
34+
35+
```py
36+
import requests
37+
38+
# With this code, DevExit is blocking RobTop
39+
40+
data = {
41+
"accountID": 173831, # DevExit's account ID
42+
"gjp": "********", # This would be DevExit's password encoded with GJP encryption
43+
"targetAccountID": 71, # Robtop's account ID
44+
"secret": "Wmfd2893gb7"
45+
}
46+
47+
req = requests.post("http://boomlings.com/database/blockGJUser20.php", data=data)
48+
print(req.text)
49+
```
50+
51+
**Response**
52+
```py
53+
1
54+
```
55+
56+
<!-- tabs:end -->
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# deleteGJAccComment20.php
2+
3+
4+
5+
## Parameters
6+
7+
### Required Parameters
8+
9+
**accountID** - Account ID of the user deleting the comment
10+
11+
**gjp** - The [GJP](/topics/encryption/gjp.md) of the user deleting the comment
12+
13+
**commentID** - The ID of the comment being deleted (Returned by [uploadGJAccComment20](/endpoints/uploadGJAccComment20.md))
14+
15+
**secret** - Wmfd2893gb7
16+
17+
### Optional Parameters
18+
19+
**gameVersion** - 21
20+
21+
**binaryVersion** - 35
22+
23+
**gdw** - 0
24+
25+
## Response
26+
27+
1 if the comment was deleted, -1 if there was an error
28+
29+
## Example
30+
31+
<!-- tabs:start -->
32+
33+
### **Python**
34+
35+
```py
36+
import requests
37+
38+
# With this code, DevExit is deleting his account comment with ID 1772717
39+
40+
data = {
41+
"accountID": 173831, # DevExit's account ID
42+
"gjp": "********", # This would be DevExit's password encoded with GJP encryption
43+
"commentID": 1772717,
44+
"secret": "Wmfd2893gb7"
45+
}
46+
47+
r = requests.post('http://boomlings.com/database/deleteGJAccComment20.php', data=data)
48+
print(req.text)
49+
```
50+
51+
**Response**
52+
```py
53+
1
54+
```
55+
56+
<!-- tabs:end -->

0 commit comments

Comments
 (0)