Skip to content

Commit 23b3312

Browse files
Update openapi.json with light/dark logo variants
1 parent 30f5ffa commit 23b3312

File tree

1 file changed

+90
-66
lines changed

1 file changed

+90
-66
lines changed

openapi.json

Lines changed: 90 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -3199,20 +3199,6 @@
31993199
"example": 123,
32003200
"nullable": true
32013201
},
3202-
"one_day_availability": {
3203-
"description": "Availability percentage for the last 24 hours",
3204-
"type": "number",
3205-
"format": "float",
3206-
"example": 99.9999,
3207-
"nullable": true
3208-
},
3209-
"seven_days_availability": {
3210-
"description": "Availability percentage for the last 7 days",
3211-
"type": "number",
3212-
"format": "float",
3213-
"example": 99.9999,
3214-
"nullable": true
3215-
},
32163202
"name": {
32173203
"description": "Monitor name",
32183204
"type": "string",
@@ -3938,20 +3924,6 @@
39383924
"example": 123,
39393925
"nullable": true
39403926
},
3941-
"one_day_availability": {
3942-
"description": "Availability percentage for the last 24 hours",
3943-
"type": "number",
3944-
"format": "float",
3945-
"example": 99.9999,
3946-
"nullable": true
3947-
},
3948-
"seven_days_availability": {
3949-
"description": "Availability percentage for the last 7 days",
3950-
"type": "number",
3951-
"format": "float",
3952-
"example": 99.9999,
3953-
"nullable": true
3954-
},
39553927
"name": {
39563928
"description": "Monitor name",
39573929
"type": "string",
@@ -4357,20 +4329,6 @@
43574329
"example": 123,
43584330
"nullable": true
43594331
},
4360-
"one_day_availability": {
4361-
"description": "Availability percentage for the last 24 hours",
4362-
"type": "number",
4363-
"format": "float",
4364-
"example": 99.9999,
4365-
"nullable": true
4366-
},
4367-
"seven_days_availability": {
4368-
"description": "Availability percentage for the last 7 days",
4369-
"type": "number",
4370-
"format": "float",
4371-
"example": 99.9999,
4372-
"nullable": true
4373-
},
43744332
"name": {
43754333
"description": "Monitor name",
43764334
"type": "string",
@@ -5082,20 +5040,6 @@
50825040
"example": 123,
50835041
"nullable": true
50845042
},
5085-
"one_day_availability": {
5086-
"description": "Availability percentage for the last 24 hours",
5087-
"type": "number",
5088-
"format": "float",
5089-
"example": 99.9999,
5090-
"nullable": true
5091-
},
5092-
"seven_days_availability": {
5093-
"description": "Availability percentage for the last 7 days",
5094-
"type": "number",
5095-
"format": "float",
5096-
"example": 99.9999,
5097-
"nullable": true
5098-
},
50995043
"name": {
51005044
"description": "Monitor name",
51015045
"type": "string",
@@ -6088,8 +6032,28 @@
60886032
"maxItems": 3,
60896033
"minItems": 0
60906034
},
6091-
"logo": {
6092-
"description": "Manage the logo of the status page (accepted formats: jpeg / png / svg)",
6035+
"logo_light": {
6036+
"description": "Manage the light theme logo of the status page (accepted formats: jpeg / png / svg)",
6037+
"oneOf": [
6038+
{
6039+
"description": "Any image file with the following format: jpeg / png / svg.",
6040+
"type": "string",
6041+
"format": "file",
6042+
"nullable": true
6043+
},
6044+
{
6045+
"description": "If \"false\" is passed to the request the logo will be removed",
6046+
"type": "string",
6047+
"enum": [
6048+
"false"
6049+
],
6050+
"example": "false",
6051+
"nullable": true
6052+
}
6053+
]
6054+
},
6055+
"logo_dark": {
6056+
"description": "Manage the dark theme logo of the status page (accepted formats: jpeg / png / svg)",
60936057
"oneOf": [
60946058
{
60956059
"description": "Any image file with the following format: jpeg / png / svg.",
@@ -6108,11 +6072,31 @@
61086072
}
61096073
]
61106074
},
6111-
"favicon": {
6112-
"description": "Manage the favicon of the status page (accepted formats: ico / png / svg)",
6075+
"favicon_light": {
6076+
"description": "Manage the light theme favicon of the status page (accepted formats: png / svg)",
6077+
"oneOf": [
6078+
{
6079+
"description": "Any image file with the following format: png / svg.",
6080+
"type": "string",
6081+
"format": "file",
6082+
"nullable": true
6083+
},
6084+
{
6085+
"description": "If \"false\" is passed to the request the favicon will be removed",
6086+
"type": "string",
6087+
"enum": [
6088+
"false"
6089+
],
6090+
"example": "false",
6091+
"nullable": true
6092+
}
6093+
]
6094+
},
6095+
"favicon_dark": {
6096+
"description": "Manage the dark theme favicon of the status page (accepted formats: png / svg)",
61136097
"oneOf": [
61146098
{
6115-
"description": "Any image file with the following format: ico / png / svg.",
6099+
"description": "Any image file with the following format: png / svg.",
61166100
"type": "string",
61176101
"format": "file",
61186102
"nullable": true
@@ -6950,8 +6934,8 @@
69506934
"maxItems": 3,
69516935
"minItems": 0
69526936
},
6953-
"logo": {
6954-
"description": "Manage the logo of the status page (accepted formats: jpeg / png / svg)",
6937+
"logo_light": {
6938+
"description": "Manage the light theme logo of the status page (accepted formats: jpeg / png / svg)",
69556939
"oneOf": [
69566940
{
69576941
"description": "Any image file with the following format: jpeg / png / svg.",
@@ -6970,11 +6954,51 @@
69706954
}
69716955
]
69726956
},
6973-
"favicon": {
6974-
"description": "Manage the favicon of the status page (accepted formats: ico / png / svg)",
6957+
"logo_dark": {
6958+
"description": "Manage the dark theme logo of the status page (accepted formats: jpeg / png / svg)",
6959+
"oneOf": [
6960+
{
6961+
"description": "Any image file with the following format: jpeg / png / svg.",
6962+
"type": "string",
6963+
"format": "file",
6964+
"nullable": true
6965+
},
6966+
{
6967+
"description": "If \"false\" is passed to the request the logo will be removed",
6968+
"type": "string",
6969+
"enum": [
6970+
"false"
6971+
],
6972+
"example": "false",
6973+
"nullable": true
6974+
}
6975+
]
6976+
},
6977+
"favicon_light": {
6978+
"description": "Manage the light theme favicon of the status page (accepted formats: png / svg)",
6979+
"oneOf": [
6980+
{
6981+
"description": "Any image file with the following format: png / svg.",
6982+
"type": "string",
6983+
"format": "file",
6984+
"nullable": true
6985+
},
6986+
{
6987+
"description": "If \"false\" is passed to the request the favicon will be removed",
6988+
"type": "string",
6989+
"enum": [
6990+
"false"
6991+
],
6992+
"example": "false",
6993+
"nullable": true
6994+
}
6995+
]
6996+
},
6997+
"favicon_dark": {
6998+
"description": "Manage the dark theme favicon of the status page (accepted formats: png / svg)",
69756999
"oneOf": [
69767000
{
6977-
"description": "Any image file with the following format: ico / png / svg.",
7001+
"description": "Any image file with the following format: png / svg.",
69787002
"type": "string",
69797003
"format": "file",
69807004
"nullable": true

0 commit comments

Comments
 (0)