diff --git a/API.md b/API.md index ed2fa797..472996d1 100644 --- a/API.md +++ b/API.md @@ -2,10 +2,13 @@ API for accessing information about Sponge downloads -## Reference - Root URL: https://dl-api.spongepowered.org/ +* [/v2/groups](#v2groups) +* [/v2/groups/\/artifacts](#v2groupsgroupcoordinatesartifacts) +* [/v2/groups/\/artifacts/\](#v2groupsgroupcoordinateartifactsartifactid) +* [/v2/groups/\/artifacts/\/versions](#v2groupsgroupcoordinateartifactsartifactidversions) + ### /v2/groups Lists available groups. @@ -23,7 +26,7 @@ Example: GET https://dl-api.spongepowered.org/v2/groups } ``` -### /v2/groups//artifacts +### /v2/groups/\/artifacts List available artifacts for a group. Example: GET https://dl-api.spongepowered.org/v2/groups/org.spongepowered/artifacts @@ -37,7 +40,7 @@ Example: GET https://dl-api.spongepowered.org/v2/groups/org.spongepowered/artifa } ``` -### /v2/groups//artifacts/ +### /v2/groups/\/artifacts/\ List metadata for an artifact, including available tags. Example: @@ -72,7 +75,7 @@ GET https://dl-api.spongepowered.org/v2/groups/org.spongepowered/artifacts/spong } ``` -### /v2/groups//artifacts//versions +### /v2/groups/\/artifacts/\/versions List available versions for an artifact. This list can be filtered based on URL parameters. URL Parameters: