mirror of
https://github.com/revanced/revanced-api.git
synced 2025-04-29 22:24:31 +02:00
feat: Improve routing paths
This commit is contained in:
parent
80c8083610
commit
df999c00c4
@ -18,6 +18,7 @@ fun Application.configureRouting() {
|
||||
routing {
|
||||
route("/v${configuration.apiVersion}") {
|
||||
route("/patches") {
|
||||
route("latest") {
|
||||
get {
|
||||
val patches = backend.getRelease(configuration.organization, configuration.patchesRepository)
|
||||
val integrations = configuration.integrationsRepositoryNames.map {
|
||||
@ -46,6 +47,7 @@ fun Application.configureRouting() {
|
||||
call.respond(release)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
get("/contributors") {
|
||||
val contributors = configuration.contributorsRepositoryNames.map {
|
||||
|
Loading…
x
Reference in New Issue
Block a user