addonscript-spec/docs/schema/repository.md
Timo Ley afd8a4b37b
All checks were successful
continuous-integration/drone/pr Build is passing
env builder API now parts of repositories
2022-09-26 10:17:50 +02:00

964 B

Repository Object

{
  "namespace": "net.addonscript",
  "instances": ["https://api.addonscript.net"]
}

Required properties

namespace

This is the namespace, which describes this repository.

instances

This is an array of base URLs of AddonScript 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 of these API instances in the order, in which they are specified in this array. Instances in this array with the env feature will be used by AddonScript, to request the launch environment for an addon with a canonical namespace equal to the namespace of this repository. The first API instance with the env feature will be used in this case with the others as fallback.