addonscript-spec/docs/schema/repository.md

25 lines
460 B
Markdown
Raw Normal View History

2021-06-23 22:06:21 +02:00
# Repository Object
```json
{
"id": "asrepo",
"type": "api",
"link": "https://addonscript.net/repo"
}
```
## Required properties
### id
This is the ID of the repository. It has to be unique to the AddonScript file.
### type
2021-07-18 12:32:57 +02:00
This is the type of the repository. Possible values are `api` or `maven`.
2021-06-23 22:06:21 +02:00
### link
This is the base URL of the repository. While other URLs in AddonScript can have different schemes,
the base URL has to be a http(s) URL.