Add pages domains API schema
This commit is contained in:
parent
6e5f63acce
commit
de4d1bacc6
1 changed files with 23 additions and 0 deletions
23
spec/fixtures/api/schemas/public_api/v4/pages_domains.json
vendored
Normal file
23
spec/fixtures/api/schemas/public_api/v4/pages_domains.json
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"domain": { "type": "string" },
|
||||
"url": { "type": "uri" },
|
||||
"certificate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"subject": { "type": "string" },
|
||||
"expired": { "type": "boolean" },
|
||||
"certificate": { "type": "string" },
|
||||
"certificate_text": { "type": "string" }
|
||||
},
|
||||
"required": ["subject", "expired"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["domain", "url"],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue