addonscript-spec/docs/schema/repository.md
2023-04-10 16:10:08 +02:00

976 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 builder 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 builder feature will be used in this case with the others as fallback.