Skip to content

Commit 723712c

Browse files
committed
merge WOSHIZHAZHA120:patch-1 from main repo to fork
1 parent ff5d2a4 commit 723712c

File tree

1 file changed

+43
-4
lines changed

1 file changed

+43
-4
lines changed

docs/endpoints/getGJLevels21.md

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,52 @@ Gets a list of levels.
1616

1717
**gdw** - 0
1818

19-
**type** - Controls the fetch priority. 0 are most liked, 1 are most downloaded, 2 is the default for the search button (also most liked), 3 is trending, 4 is recent, 5 is a user's levels (uses the player ID, **not the account ID,** in the `str` parameter to get which user), 6 is featured, 7 is magic, 8 is moderator sent levels (also requires the `accountID` and the `gjp` of a GD moderator), 10 is to get a list of specific levels (this uses the `str` parameter as a comma separated list of level IDs), used in map packs, 11 is recently awarded, 12 is levels from people you follow, 13 is friends, 15 is most liked in GD World, 16 is hall of fame, 17 is also featured, and 18 is unknown because it's always empty (maybe mod or robtop only?), and if this is left out it's most liked
19+
**type** - Controls the fetch priority.
20+
and if this is left out it's most liked
21+
22+
| type | desc |
23+
| ---- | ---- |
24+
| 0 | most liked |
25+
| 1 | most downloaded |
26+
| 2 | default for the search button (also most liked) |
27+
| 3 | trending |
28+
| 4 | recent |
29+
| 5 | user's levels (uses the player ID, **not the account ID,** in the `str` parameter to get which user) |
30+
| 6 | featured |
31+
| 7 | magic |
32+
| 8 | moderator sent levels (also requires the `accountID` and the `gjp` of a GD moderator) |
33+
| 10 | list of specific levels (this uses the `str` parameter as a comma separated list of level IDs), used in map packs |
34+
| 11 | recently awarded |
35+
| 12 | levels from people you follow |
36+
| 13 | friends |
37+
| 15 | most liked in GD World |
38+
| 16 | hall of fame |
39+
| 17 | also featured |
40+
| 18 | unknown because it's always empty (maybe mod or robtop only?) |
2041

2142
**str** - Search string, required when `type` is 5 or 10
2243

23-
**diff** - Difficulty filter. A list of integers denoting the different difficulties. -1 is N/A (doesn't work), and 1, 2, 3, 4, and 5 are Easy-Insane, respectively. Demons are -2 and use the **demonFilter** parameter to denote which demon type to search
24-
25-
**len** - Length Filter. 1-4 for Tiny-XL, respectively
44+
**diff** - Difficulty filter. A list of integers denoting the different difficulties.
45+
46+
| diff | desc |
47+
| ---- | ---- |
48+
| -1 | N/A (doesn't work) |
49+
| -2 | Demons (use the **demonFilter** parameter to denote which demon type to search) |
50+
| 1 | Easy |
51+
| 2 | Normal |
52+
| 3 | Hard |
53+
| 4 | Harder |
54+
| 5 | Insane |
55+
56+
**len** - Length Filter.
57+
58+
| len | desc |
59+
| --- | ---- |
60+
| 0 | Tiny |
61+
| 1 | Short |
62+
| 2 | Medium |
63+
| 3 | Long |
64+
| 4 | XL |
2665

2766
**page** - Which page of levels you want to see
2867

0 commit comments

Comments
 (0)