schemas/credentialPost.json in losant_rest-1.19.1 vs schemas/credentialPost.json in losant_rest-1.19.2
- old
+ new
@@ -17,11 +17,12 @@
"type": {
"type": "string",
"enum": [
"aws",
"azure",
- "gcp"
+ "gcp",
+ "http"
]
},
"awsConfig": {
"type": "object",
"properties": {
@@ -76,9 +77,42 @@
}
},
"additionalProperties": false,
"required": [
"keyJson"
+ ]
+ },
+ "httpConfig": {
+ "type": "object",
+ "properties": {
+ "uriMatch": {
+ "type": "string",
+ "minLength": 8,
+ "maxLength": 1024
+ },
+ "authMethod": {
+ "type": "string",
+ "enum": [
+ "header",
+ "queryParam",
+ "basicAuth",
+ "clientCertificate"
+ ]
+ },
+ "publicValue": {
+ "type": "string",
+ "maxLength": 8196
+ },
+ "secretValue": {
+ "type": "string",
+ "maxLength": 8196
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "uriMatch",
+ "authMethod",
+ "secretValue"
]
}
},
"additionalProperties": false,
"required": [
\ No newline at end of file