Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Swarm Storage has two types of context objects: domains and buckets. When you create them from Gateway, follow these guidelines:

...

The Gateway will return an HTTP 400 Bad Request error response to the client if contexts are not explicitly identified as shown during creation.

title
Info

Note

Contexts that already exist in the storage cluster or that are created directly to the cluster do not require this Content-Typespecification in order to work properly with Gateway.

Required Argument

SCSP requires you to add the domain query argument when creating a storage domain, regardless of the existence of a X-Forwarded-Host or Host header on the request.

...

For more about JSON schemas, see json-schema.org.

Code Block
languagexml
{
  "type": "object",
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "idsys": {
          "$ref": "https://support.cloud.caringo.com/schemas/idsys-schema.json#"
        },
        "policy": {
          "$ref": "https://support.cloud.caringo.com/schemas/policy-schema.json#"
        },
        "metaxform": {
          "$ref": "https://support.cloud.caringo.com/schemas/metaxform-schema.json#"
        }
      },
      "optional": true,
      "additionalProperties": false
    },
    "metadata": {
      "type": "object",
      "optional": true
    }
  },
  "additionalProperties": false
}

...