2021-06-23 22:06:21 +02:00
|
|
|
# Repository Object
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
2022-09-23 18:33:14 +02:00
|
|
|
"namespace": "net.addonscript",
|
|
|
|
"instances": ["https://api.addonscript.net"]
|
2021-06-23 22:06:21 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Required properties
|
|
|
|
|
2022-09-23 18:33:14 +02:00
|
|
|
### namespace
|
2021-06-23 22:06:21 +02:00
|
|
|
|
2022-09-23 18:33:14 +02:00
|
|
|
This is the [namespace](../concepts/namespaces.md), which describes this repository.
|
2021-06-23 22:06:21 +02:00
|
|
|
|
2022-09-23 18:33:14 +02:00
|
|
|
### instances
|
2021-06-23 22:06:21 +02:00
|
|
|
|
2022-09-23 18:33:14 +02:00
|
|
|
This is an array of base URLs of [AddonScript API](../api) instances, on which this
|
|
|
|
repository can be found. To get an addon from this repository, AddonScript will
|
|
|
|
try to get it from the [addon endpoint](../api/features/addons.md#get-addon)
|
|
|
|
of these API instances in the order, in which they are specified in this array.
|