Skip to content

Commit 4a37039

Browse files
authored
Update API.md
1 parent 98bb8c3 commit 4a37039

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

API.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ https://rusherdevelopment.github.io/rusherhack-plugins/api/v1/
3333
Aggregate counts by type, Minecraft version, and creator.
3434

3535
- **[`versions.json`](https://rusherdevelopment.github.io/rusherhack-plugins/api/v1/versions.json)**
36-
List of all supported Minecraft versions (unique + sorted).
36+
List of all supported Minecraft versions.
37+
- Includes **unique + sorted** versions.
38+
- Expands ranges (e.g., `"1.20.1-1.21.4"`) into **all discrete versions**:
39+
`1.20.1, 1.20.2, 1.20.4, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4`.
3740

3841
- **[`creators.json`](https://rusherdevelopment.github.io/rusherhack-plugins/api/v1/creators.json)**
3942
List of all creators with plugin/theme counts.
@@ -53,7 +56,9 @@ https://rusherdevelopment.github.io/rusherhack-plugins/api/v1/
5356

5457
### Buckets (Filters)
5558
- **`/by-version/{mc_version}.json`**
56-
All plugins/themes supporting that Minecraft version.
59+
All plugins/themes supporting that exact Minecraft version.
60+
- Works with **discrete versions only**.
61+
- Ranges from source data are automatically expanded.
5762
Example:
5863
[`by-version/1.21.4.json`](https://rusherdevelopment.github.io/rusherhack-plugins/api/v1/by-version/1.21.4.json)
5964

0 commit comments

Comments
 (0)