Remove Maven repositories from spec

This commit is contained in:
Timo Ley 2022-08-16 17:28:53 +02:00
parent a4ec67e76c
commit 90d8babdd2

View file

@ -3,7 +3,6 @@
```json ```json
{ {
"id": "asrepo", "id": "asrepo",
"type": "api",
"url": "https://api.addonscript.net" "url": "https://api.addonscript.net"
} }
``` ```
@ -14,17 +13,6 @@
This is the ID of the repository. It has to be unique to the AddonScript file. This is the ID of the repository. It has to be unique to the AddonScript file.
### type
This is the type of the repository. Possible values are `addonscript` or `maven`.
A repository of the type `addonscript` is an instance of the [AddonScript API](../api).
AddonScript will use the basic endpoints of that instance to retrieve available versions
of a specific addon, as well as the [addon JSON](./addon.md) for a specific version of an
addon.
### url ### url
This is the base URL of an [AddonScript API](../api) instance, if the repository This is the base URL of an [AddonScript API](../api) instance.
type is `addonscript`, or the base URL of a Maven Repository, if the repository
type is `maven`.