|
92 | 92 | "required": true |
93 | 93 | } |
94 | 94 | } |
| 95 | + }, |
| 96 | + "/api/servers": { |
| 97 | + "get": { |
| 98 | + "operationId": "api_servers_get_collection", |
| 99 | + "tags": [ |
| 100 | + "Server" |
| 101 | + ], |
| 102 | + "responses": { |
| 103 | + "200": { |
| 104 | + "description": "Server collection", |
| 105 | + "content": { |
| 106 | + "application/json": { |
| 107 | + "schema": { |
| 108 | + "type": "array", |
| 109 | + "items": { |
| 110 | + "$ref": "#/components/schemas/Server-export" |
| 111 | + } |
| 112 | + } |
| 113 | + }, |
| 114 | + "application/ld+json": { |
| 115 | + "schema": { |
| 116 | + "type": "array", |
| 117 | + "items": { |
| 118 | + "$ref": "#/components/schemas/Server-export" |
| 119 | + } |
| 120 | + } |
| 121 | + } |
| 122 | + } |
| 123 | + }, |
| 124 | + "403": { |
| 125 | + "description": "Forbidden", |
| 126 | + "content": { |
| 127 | + "application/ld+json": { |
| 128 | + "schema": { |
| 129 | + "$ref": "#/components/schemas/Error.jsonld" |
| 130 | + } |
| 131 | + }, |
| 132 | + "application/problem+json": { |
| 133 | + "schema": { |
| 134 | + "$ref": "#/components/schemas/Error" |
| 135 | + } |
| 136 | + }, |
| 137 | + "application/json": { |
| 138 | + "schema": { |
| 139 | + "$ref": "#/components/schemas/Error" |
| 140 | + } |
| 141 | + } |
| 142 | + }, |
| 143 | + "links": {} |
| 144 | + } |
| 145 | + }, |
| 146 | + "summary": "Retrieves the collection of Server resources.", |
| 147 | + "description": "Retrieves the collection of Server resources.", |
| 148 | + "parameters": [ |
| 149 | + { |
| 150 | + "name": "page", |
| 151 | + "in": "query", |
| 152 | + "description": "The collection page number", |
| 153 | + "required": false, |
| 154 | + "deprecated": false, |
| 155 | + "schema": { |
| 156 | + "type": "integer", |
| 157 | + "default": 1 |
| 158 | + }, |
| 159 | + "style": "form", |
| 160 | + "explode": true |
| 161 | + } |
| 162 | + ] |
| 163 | + } |
| 164 | + }, |
| 165 | + "/api/sites": { |
| 166 | + "get": { |
| 167 | + "operationId": "api_sites_get_collection", |
| 168 | + "tags": [ |
| 169 | + "Site" |
| 170 | + ], |
| 171 | + "responses": { |
| 172 | + "200": { |
| 173 | + "description": "Site collection", |
| 174 | + "content": { |
| 175 | + "application/json": { |
| 176 | + "schema": { |
| 177 | + "type": "array", |
| 178 | + "items": { |
| 179 | + "$ref": "#/components/schemas/Site-export" |
| 180 | + } |
| 181 | + } |
| 182 | + }, |
| 183 | + "application/ld+json": { |
| 184 | + "schema": { |
| 185 | + "type": "array", |
| 186 | + "items": { |
| 187 | + "$ref": "#/components/schemas/Site-export" |
| 188 | + } |
| 189 | + } |
| 190 | + } |
| 191 | + } |
| 192 | + }, |
| 193 | + "403": { |
| 194 | + "description": "Forbidden", |
| 195 | + "content": { |
| 196 | + "application/ld+json": { |
| 197 | + "schema": { |
| 198 | + "$ref": "#/components/schemas/Error.jsonld" |
| 199 | + } |
| 200 | + }, |
| 201 | + "application/problem+json": { |
| 202 | + "schema": { |
| 203 | + "$ref": "#/components/schemas/Error" |
| 204 | + } |
| 205 | + }, |
| 206 | + "application/json": { |
| 207 | + "schema": { |
| 208 | + "$ref": "#/components/schemas/Error" |
| 209 | + } |
| 210 | + } |
| 211 | + }, |
| 212 | + "links": {} |
| 213 | + } |
| 214 | + }, |
| 215 | + "summary": "Retrieves the collection of Site resources.", |
| 216 | + "description": "Retrieves the collection of Site resources.", |
| 217 | + "parameters": [ |
| 218 | + { |
| 219 | + "name": "page", |
| 220 | + "in": "query", |
| 221 | + "description": "The collection page number", |
| 222 | + "required": false, |
| 223 | + "deprecated": false, |
| 224 | + "schema": { |
| 225 | + "type": "integer", |
| 226 | + "default": 1 |
| 227 | + }, |
| 228 | + "style": "form", |
| 229 | + "explode": true |
| 230 | + } |
| 231 | + ] |
| 232 | + } |
95 | 233 | } |
96 | 234 | }, |
97 | 235 | "components": { |
|
353 | 491 | ] |
354 | 492 | } |
355 | 493 | } |
| 494 | + }, |
| 495 | + "Server-export": { |
| 496 | + "type": "object", |
| 497 | + "properties": { |
| 498 | + "Name": { |
| 499 | + "default": "", |
| 500 | + "type": "string" |
| 501 | + } |
| 502 | + } |
| 503 | + }, |
| 504 | + "Site-export": { |
| 505 | + "type": "object", |
| 506 | + "required": [ |
| 507 | + "PHP version" |
| 508 | + ], |
| 509 | + "properties": { |
| 510 | + "PHP version": { |
| 511 | + "minLength": 1, |
| 512 | + "maxLength": 10, |
| 513 | + "default": "", |
| 514 | + "type": "string" |
| 515 | + }, |
| 516 | + "Primary domain": { |
| 517 | + "readOnly": true, |
| 518 | + "type": "string" |
| 519 | + }, |
| 520 | + "Type": { |
| 521 | + "default": "", |
| 522 | + "type": "string" |
| 523 | + }, |
| 524 | + "Server": { |
| 525 | + "$ref": "#/components/schemas/Server-export" |
| 526 | + }, |
| 527 | + "rootDir": { |
| 528 | + "type": "string" |
| 529 | + } |
| 530 | + } |
356 | 531 | } |
357 | 532 | }, |
358 | 533 | "responses": {}, |
|
378 | 553 | { |
379 | 554 | "name": "DetectionResult", |
380 | 555 | "description": "Resource 'DetectionResult' operations." |
| 556 | + }, |
| 557 | + { |
| 558 | + "name": "Server", |
| 559 | + "description": "Resource 'Server' operations." |
| 560 | + }, |
| 561 | + { |
| 562 | + "name": "Site", |
| 563 | + "description": "Resource 'Site' operations." |
381 | 564 | } |
382 | 565 | ], |
383 | 566 | "webhooks": {} |
|
0 commit comments