Files
openstack-api-simulator/contracts/openstack/request_bodies/swift.json
T

1007 lines
26 KiB
JSON

{
"by_path": {
"POST /v1/{account}": {
"description": "",
"properties": {
"account": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "account",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
},
"POST /v1/{account}/{container}/{object}": {
"description": "",
"properties": {
"object": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "object",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
},
"PUT /v1/{account}/{container}": {
"description": "",
"properties": {
"container": {
"description": "",
"properties": {
"command": {
"description": "Command",
"type": "string"
},
"cpu": {
"description": "",
"example": 1,
"type": "integer"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"image": {
"description": "Container image",
"example": "cirros",
"type": "string"
},
"interactive": {
"default": false,
"description": "",
"type": "boolean"
},
"memory": {
"description": "Memory MiB",
"example": 512,
"type": "integer"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"nets": {
"description": "",
"items": {
"description": "",
"properties": {
"network": {
"description": "",
"format": "uuid",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"restart_policy": {
"description": "",
"properties": {
"MaximumRetryCount": {
"description": "",
"example": 0,
"type": "integer"
},
"Name": {
"description": "",
"example": "no",
"type": "string"
}
},
"type": "object"
},
"tty": {
"default": false,
"description": "",
"type": "boolean"
},
"workdir": {
"description": "",
"type": "string"
}
},
"required": [
"image"
],
"type": "object"
}
},
"type": "object"
},
"PUT /v1/{account}/{container}/{object}": {
"description": "",
"properties": {
"object": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "object",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
}
},
"operations": {
"swift_account_post": {
"description": "",
"properties": {
"account": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "account",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
},
"swift_container_put": {
"description": "",
"properties": {
"container": {
"description": "",
"properties": {
"command": {
"description": "Command",
"type": "string"
},
"cpu": {
"description": "",
"example": 1,
"type": "integer"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"environment": {
"description": "",
"properties": {},
"type": "object"
},
"image": {
"description": "Container image",
"example": "cirros",
"type": "string"
},
"interactive": {
"default": false,
"description": "",
"type": "boolean"
},
"memory": {
"description": "Memory MiB",
"example": 512,
"type": "integer"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"nets": {
"description": "",
"items": {
"description": "",
"properties": {
"network": {
"description": "",
"format": "uuid",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"restart_policy": {
"description": "",
"properties": {
"MaximumRetryCount": {
"description": "",
"example": 0,
"type": "integer"
},
"Name": {
"description": "",
"example": "no",
"type": "string"
}
},
"type": "object"
},
"tty": {
"default": false,
"description": "",
"type": "boolean"
},
"workdir": {
"description": "",
"type": "string"
}
},
"required": [
"image"
],
"type": "object"
}
},
"type": "object"
},
"swift_object_post": {
"description": "",
"properties": {
"object": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "object",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
},
"swift_object_put": {
"description": "",
"properties": {
"object": {
"description": "",
"properties": {
"address": {
"description": "",
"type": "string"
},
"admin_state_up": {
"default": true,
"description": "",
"type": "boolean"
},
"configuration": {
"description": "",
"properties": {},
"type": "object"
},
"data": {
"description": "",
"properties": {},
"type": "object"
},
"description": {
"description": "Optional description",
"example": "",
"type": "string"
},
"enabled": {
"default": true,
"description": "",
"type": "boolean"
},
"extra": {
"description": "",
"properties": {},
"type": "object"
},
"id": {
"description": "",
"format": "uuid",
"type": "string"
},
"metadata": {
"description": "",
"properties": {},
"type": "object"
},
"name": {
"description": "Human-readable name",
"example": "example",
"type": "string"
},
"port": {
"description": "",
"example": 80,
"type": "integer"
},
"project_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"properties": {
"description": "",
"properties": {},
"type": "object"
},
"protocol": {
"description": "",
"type": "string"
},
"shared": {
"default": false,
"description": "",
"type": "boolean"
},
"size": {
"description": "",
"example": 1,
"type": "integer"
},
"spec": {
"description": "",
"properties": {},
"type": "object"
},
"status": {
"description": "",
"example": "ACTIVE",
"type": "string"
},
"tags": {
"description": "",
"items": {
"description": "",
"type": "string"
},
"type": "array"
},
"tenant_id": {
"description": "",
"format": "uuid",
"type": "string"
},
"type": {
"description": "",
"example": "object",
"type": "string"
},
"url": {
"description": "",
"format": "uri",
"type": "string"
},
"value": {
"description": "",
"type": "string"
},
"version": {
"description": "",
"example": "1",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
}
},
"service": "swift",
"source": "generated-from-api-ref-catalog"
}