
Contains .inc files which have all the contents of the .rst files but are grouped together for easier editing. Contains parameters.yaml, which has all parameters in one file. Contains request and response samples (JSON and XML) that are pointed to from the .inc files. Change-Id: I42d5451300f95774a3ec4df66bc95cb36795844d
244 lines
8.1 KiB
JSON
244 lines
8.1 KiB
JSON
{
|
|
"definitions": {
|
|
"positiveInteger": {
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
"positiveIntegerDefault0": {
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/positiveInteger"
|
|
},
|
|
{
|
|
"default": 0
|
|
}
|
|
]
|
|
},
|
|
"property": {
|
|
"additionalProperties": {
|
|
"properties": {
|
|
"additionalItems": {
|
|
"type": "boolean"
|
|
},
|
|
"default": {},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"enum": {
|
|
"type": "array"
|
|
},
|
|
"items": {
|
|
"properties": {
|
|
"enum": {
|
|
"type": "array"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"array",
|
|
"boolean",
|
|
"integer",
|
|
"number",
|
|
"object",
|
|
"string",
|
|
null
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"maxItems": {
|
|
"$ref": "#/definitions/positiveInteger"
|
|
},
|
|
"maxLength": {
|
|
"$ref": "#/definitions/positiveInteger"
|
|
},
|
|
"maximum": {
|
|
"type": "number"
|
|
},
|
|
"minItems": {
|
|
"$ref": "#/definitions/positiveIntegerDefault0"
|
|
},
|
|
"minLength": {
|
|
"$ref": "#/definitions/positiveIntegerDefault0"
|
|
},
|
|
"minimum": {
|
|
"type": "number"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"pattern": {
|
|
"format": "regex",
|
|
"type": "string"
|
|
},
|
|
"readonly": {
|
|
"type": "boolean"
|
|
},
|
|
"required": {
|
|
"$ref": "#/definitions/stringArray"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"array",
|
|
"boolean",
|
|
"integer",
|
|
"number",
|
|
"object",
|
|
"string",
|
|
null
|
|
],
|
|
"type": "string"
|
|
},
|
|
"uniqueItems": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"stringArray": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array",
|
|
"uniqueItems": true
|
|
}
|
|
},
|
|
"links": [
|
|
{
|
|
"href": "{first}",
|
|
"rel": "first"
|
|
},
|
|
{
|
|
"href": "{next}",
|
|
"rel": "next"
|
|
},
|
|
{
|
|
"href": "{schema}",
|
|
"rel": "describedby"
|
|
}
|
|
],
|
|
"name": "namespaces",
|
|
"properties": {
|
|
"first": {
|
|
"type": "string"
|
|
},
|
|
"namespaces": {
|
|
"items": {
|
|
"additionalProperties": false,
|
|
"name": "namespace",
|
|
"properties": {
|
|
"created_at": {
|
|
"description": "Date and time of namespace creation (READ-ONLY)",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Provides a user friendly description of the namespace.",
|
|
"maxLength": 500,
|
|
"type": "string"
|
|
},
|
|
"display_name": {
|
|
"description": "The user friendly name for the namespace. Used by UI if available.",
|
|
"maxLength": 80,
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"description": "The unique namespace text.",
|
|
"maxLength": 80,
|
|
"type": "string"
|
|
},
|
|
"objects": {
|
|
"items": {
|
|
"properties": {
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"$ref": "#/definitions/property"
|
|
},
|
|
"required": {
|
|
"$ref": "#/definitions/stringArray"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"owner": {
|
|
"description": "Owner of the namespace.",
|
|
"maxLength": 255,
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"$ref": "#/definitions/property"
|
|
},
|
|
"protected": {
|
|
"description": "If true, namespace will not be deletable.",
|
|
"type": "boolean"
|
|
},
|
|
"resource_type_associations": {
|
|
"items": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"prefix": {
|
|
"type": "string"
|
|
},
|
|
"properties_target": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"schema": {
|
|
"type": "string"
|
|
},
|
|
"self": {
|
|
"type": "string"
|
|
},
|
|
"updated_at": {
|
|
"description": "Date and time of the last namespace modification (READ-ONLY)",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"visibility": {
|
|
"description": "Scope of namespace accessibility.",
|
|
"enum": [
|
|
"public",
|
|
"private"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"namespace"
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"next": {
|
|
"type": "string"
|
|
},
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|