Skip to content

Commit

Permalink
Update headers
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed May 27, 2023
1 parent a218a37 commit fc3629f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

API for accessing information about Sponge downloads

## Reference

Root URL: https://dl-api.spongepowered.org/

* [/v2/groups](#v2groups)
* [/v2/groups/\<groupCoordinates>/artifacts](#v2groupsgroupcoordinatesartifacts)
* [/v2/groups/\<groupCoordinate>/artifacts/\<artifactId>](#v2groupsgroupcoordinateartifactsartifactid)
* [/v2/groups/\<groupCoordinate>/artifacts/\<artifactId>/versions](#v2groupsgroupcoordinateartifactsartifactidversions)

### /v2/groups
Lists available groups.

Expand All @@ -23,7 +26,7 @@ Example: GET https://dl-api.spongepowered.org/v2/groups
}
```

### /v2/groups/<groupCoordinates>/artifacts
### /v2/groups/\<groupCoordinates>/artifacts
List available artifacts for a group.

Example: GET https://dl-api.spongepowered.org/v2/groups/org.spongepowered/artifacts
Expand All @@ -37,7 +40,7 @@ Example: GET https://dl-api.spongepowered.org/v2/groups/org.spongepowered/artifa
}
```

### /v2/groups/<groupCoordinate>/artifacts/<artifactId>
### /v2/groups/\<groupCoordinate>/artifacts/\<artifactId>
List metadata for an artifact, including available tags.

Example:
Expand Down Expand Up @@ -72,7 +75,7 @@ GET https://dl-api.spongepowered.org/v2/groups/org.spongepowered/artifacts/spong
}
```

### /v2/groups/<groupCoordinate>/artifacts/<artifactId>/versions
### /v2/groups/\<groupCoordinate>/artifacts/\<artifactId>/versions
List available versions for an artifact. This list can be filtered based on URL parameters.

URL Parameters:
Expand Down

0 comments on commit fc3629f

Please sign in to comment.