instance-slave-output-schema.json 1.07 KB
Newer Older
1
{
2 3 4 5 6 7
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Values returned by Caddy Frontend instanciation",
  "properties": {
    "domain": {
      "description": "Base domain used by the instance",
      "type": "string"
8
    },
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
    "log-access-url": {
      "description": "List of URLs to access logs",
      "type": "array"
    },
    "public-ipv4": {
      "description": "Public IPv4 to be included on DNS",
      "type": "string"
    },
    "replication_number": {
      "description": "Number of nodes the slave is replicated",
      "type": "integer"
    },
    "secure_access": {
      "description": "URL for HTTP access",
      "type": "string"
    },
    "site_url": {
      "description": "URL for HTTP access",
      "type": "string"
    },
    "url": {
      "description": "Default URL provided",
      "type": "string"
32 33 34 35
    },
    "request-error-list": {
      "description": "In case if slave has been rejected by master or has error in the request, the list contains information about each problem",
      "type": "string"
36 37 38
    }
  },
  "type": "object"
39
}