GET http://[host-proxy]/api/device/http/Request/schema/?hierarchy=[hierarchy]&format=json&schema=1
{
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
"body": {
"required": false,
"type": [
"string",
"null"
],
"name": "body",
"title": "Body"
},
"username": {
"required": false,
"type": "string",
"name": "username",
"title": "Username"
},
"url": {
"required": false,
"type": "string",
"name": "url",
"title": "URL"
},
"verify": {
"default": false,
"required": false,
"type": "boolean",
"name": "verify",
"title": "Verify SSL Certificate"
},
"headers": {
"items": {
"type": "object",
"properties": {
"key": {
"required": true,
"type": "string",
"name": "key",
"title": "Key"
},
"value": {
"required": true,
"type": "string",
"name": "value",
"title": "Value"
}
}
},
"type": [
"array",
"null"
],
"name": "headers",
"title": "Headers"
},
"password": {
"required": false,
"type": "string",
"name": "password",
"is_password": true,
"title": "Password"
},
"method": {
"title": "Method",
"required": true,
"type": "string",
"name": "method",
"choices": [
[
"GET",
"GET"
],
[
"PATCH",
"PATCH"
],
[
"PUT",
"PUT"
],
[
"POST",
"POST"
],
[
"DELETE",
"DELETE"
]
]
}
},
"schema_version": "1.1"
}