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": {
"value": {
"required": true,
"type": "string",
"name": "value",
"title": "Value"
},
"key": {
"required": true,
"type": "string",
"name": "key",
"title": "Key"
}
}
},
"type": [
"array",
"null"
],
"name": "headers",
"title": "Headers"
},
"password": {
"required": false,
"type": "string",
"name": "password",
"is_password": true,
"title": "Password"
},
"method": {
"choices": [
[
"GET",
"GET"
],
[
"PATCH",
"PATCH"
],
[
"PUT",
"PUT"
],
[
"POST",
"POST"
],
[
"DELETE",
"DELETE"
]
],
"required": true,
"type": "string",
"name": "method",
"title": "Method"
}
},
"schema_version": "1.1"
}