You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

2.3 KiB

layout permalink
storage /:collection/:path.html

Hub configuration parameters

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "servername": { "type": "string" },
    "port": { "type": "integer" },
    "driver": { "type": "string" },
    "bucket": { "type": "string" },
    "readURL": { "type": "string" },
    "requireCorrectHubUrl": { "type": "string" },
    "awsCredentials": {
      "type": "object",
      "properties": {
        "endpoint": { "type": "string"},
        "accessKeyId": { "type": "string"},
        "secretAccessKey": { "type": "string"}
      },
      "required": [
        "endpoint",
        "accessKeyId",
        "secretAccessKey"
      ]
    },
    "proofsConfig": {
      "type": "object",
      "properties": {
        "proofsRequired": { "type": "string"}
      },
      "required": [
        "proofsRequired"
      ]
    },
    "azCredentials": {
      "type": "object",
      "properties": {
        "accountName": { "type": "string"},
        "accountKey": { "type": "string"}
      },
      "required": [
        "accountName",
        "accountKey"
      ]
    },
    "gcCredentials": {
      "type": "object",
      "properties": {
        "keyFilename": { "type": "string"}
      },
      "required": [
        "keyFilename"
      ]
    },
    "diskSettings": {
      "type": "object",
      "properties": {
        "storageRootDirectory": { "type": "string"}
      },
      "required": [
        "storageRootDirectory"
      ]
    },
    "pageSize": { "type": "integer"},
    "argsTransport": {
      "type": "object",
      "properties": {
        "level": { "type": "string"},
        "handleExceptions": { "type": "boolean" },
        "stringify": { "type": "boolean" },
        "timestamp": { "type": "boolean" },
        "colorize": { "type": "boolean" },
        "json":{ "type": "boolean" }
      },
      "required": [
        "level",
        "handleExceptions",
        "stringify",
        "timestamp",
        "colorize",
        "json"
      ]
    }
  },
  "required": [
    "servername",
    "port",
    "driver",
    "bucket",
    "readURL",
    "requireCorrectHubUrl",
    "awsCredentials",
    "proofsConfig",
    "azCredentials",
    "gcCredentials",
    "diskSettings",
    "pageSize",
    "argsTransport"
  ]
}