|
10 | 10 | "url": "http://localhost/api" |
11 | 11 | }, |
12 | 12 | { |
13 | | - "url": "https://v3.cachethq.io", |
| 13 | + "url": "https://v3.cachethq.io/api", |
14 | 14 | "description": "The Cachet v3 demo server." |
15 | 15 | } |
16 | 16 | ], |
|
329 | 329 | } |
330 | 330 | } |
331 | 331 | }, |
| 332 | + "403": { |
| 333 | + "$ref": "#/components/responses/MissingAbilityException" |
| 334 | + }, |
332 | 335 | "401": { |
333 | 336 | "$ref": "#/components/responses/AuthenticationException" |
334 | 337 | }, |
|
435 | 438 | } |
436 | 439 | } |
437 | 440 | }, |
| 441 | + "403": { |
| 442 | + "$ref": "#/components/responses/MissingAbilityException" |
| 443 | + }, |
438 | 444 | "404": { |
439 | 445 | "$ref": "#/components/responses/ModelNotFoundException" |
440 | 446 | }, |
|
467 | 473 | "204": { |
468 | 474 | "description": "No content" |
469 | 475 | }, |
| 476 | + "403": { |
| 477 | + "$ref": "#/components/responses/MissingAbilityException" |
| 478 | + }, |
470 | 479 | "404": { |
471 | 480 | "$ref": "#/components/responses/ModelNotFoundException" |
472 | 481 | }, |
|
645 | 654 | } |
646 | 655 | } |
647 | 656 | }, |
| 657 | + "403": { |
| 658 | + "$ref": "#/components/responses/MissingAbilityException" |
| 659 | + }, |
648 | 660 | "401": { |
649 | 661 | "$ref": "#/components/responses/AuthenticationException" |
650 | 662 | }, |
|
751 | 763 | } |
752 | 764 | } |
753 | 765 | }, |
| 766 | + "403": { |
| 767 | + "$ref": "#/components/responses/MissingAbilityException" |
| 768 | + }, |
754 | 769 | "404": { |
755 | 770 | "$ref": "#/components/responses/ModelNotFoundException" |
756 | 771 | }, |
|
783 | 798 | "204": { |
784 | 799 | "description": "No content" |
785 | 800 | }, |
| 801 | + "403": { |
| 802 | + "$ref": "#/components/responses/MissingAbilityException" |
| 803 | + }, |
786 | 804 | "404": { |
787 | 805 | "$ref": "#/components/responses/ModelNotFoundException" |
788 | 806 | }, |
|
992 | 1010 | } |
993 | 1011 | } |
994 | 1012 | }, |
| 1013 | + "403": { |
| 1014 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1015 | + }, |
995 | 1016 | "401": { |
996 | 1017 | "$ref": "#/components/responses/AuthenticationException" |
997 | 1018 | }, |
|
1098 | 1119 | } |
1099 | 1120 | } |
1100 | 1121 | }, |
| 1122 | + "403": { |
| 1123 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1124 | + }, |
1101 | 1125 | "404": { |
1102 | 1126 | "$ref": "#/components/responses/ModelNotFoundException" |
1103 | 1127 | }, |
|
1130 | 1154 | "204": { |
1131 | 1155 | "description": "No content" |
1132 | 1156 | }, |
| 1157 | + "403": { |
| 1158 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1159 | + }, |
1133 | 1160 | "404": { |
1134 | 1161 | "$ref": "#/components/responses/ModelNotFoundException" |
1135 | 1162 | }, |
|
1332 | 1359 | } |
1333 | 1360 | } |
1334 | 1361 | }, |
| 1362 | + "403": { |
| 1363 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1364 | + }, |
1335 | 1365 | "404": { |
1336 | 1366 | "$ref": "#/components/responses/ModelNotFoundException" |
1337 | 1367 | }, |
|
1459 | 1489 | } |
1460 | 1490 | } |
1461 | 1491 | }, |
| 1492 | + "403": { |
| 1493 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1494 | + }, |
1462 | 1495 | "404": { |
1463 | 1496 | "$ref": "#/components/responses/ModelNotFoundException" |
1464 | 1497 | }, |
|
1500 | 1533 | "204": { |
1501 | 1534 | "description": "No content" |
1502 | 1535 | }, |
| 1536 | + "403": { |
| 1537 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1538 | + }, |
1503 | 1539 | "404": { |
1504 | 1540 | "$ref": "#/components/responses/ModelNotFoundException" |
1505 | 1541 | }, |
|
1682 | 1718 | } |
1683 | 1719 | } |
1684 | 1720 | }, |
| 1721 | + "403": { |
| 1722 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1723 | + }, |
1685 | 1724 | "401": { |
1686 | 1725 | "$ref": "#/components/responses/AuthenticationException" |
1687 | 1726 | }, |
|
1780 | 1819 | } |
1781 | 1820 | } |
1782 | 1821 | }, |
| 1822 | + "403": { |
| 1823 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1824 | + }, |
1783 | 1825 | "404": { |
1784 | 1826 | "$ref": "#/components/responses/ModelNotFoundException" |
1785 | 1827 | }, |
|
1812 | 1854 | "204": { |
1813 | 1855 | "description": "No content" |
1814 | 1856 | }, |
| 1857 | + "403": { |
| 1858 | + "$ref": "#/components/responses/MissingAbilityException" |
| 1859 | + }, |
1815 | 1860 | "404": { |
1816 | 1861 | "$ref": "#/components/responses/ModelNotFoundException" |
1817 | 1862 | }, |
|
2007 | 2052 | } |
2008 | 2053 | } |
2009 | 2054 | }, |
| 2055 | + "403": { |
| 2056 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2057 | + }, |
2010 | 2058 | "401": { |
2011 | 2059 | "$ref": "#/components/responses/AuthenticationException" |
2012 | 2060 | }, |
|
2114 | 2162 | } |
2115 | 2163 | } |
2116 | 2164 | }, |
| 2165 | + "403": { |
| 2166 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2167 | + }, |
2117 | 2168 | "404": { |
2118 | 2169 | "$ref": "#/components/responses/ModelNotFoundException" |
2119 | 2170 | }, |
|
2146 | 2197 | "204": { |
2147 | 2198 | "description": "No content" |
2148 | 2199 | }, |
| 2200 | + "403": { |
| 2201 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2202 | + }, |
2149 | 2203 | "404": { |
2150 | 2204 | "$ref": "#/components/responses/ModelNotFoundException" |
2151 | 2205 | }, |
|
2347 | 2401 | } |
2348 | 2402 | } |
2349 | 2403 | }, |
| 2404 | + "403": { |
| 2405 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2406 | + }, |
2350 | 2407 | "404": { |
2351 | 2408 | "$ref": "#/components/responses/ModelNotFoundException" |
2352 | 2409 | }, |
|
2449 | 2506 | "204": { |
2450 | 2507 | "description": "No content" |
2451 | 2508 | }, |
| 2509 | + "403": { |
| 2510 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2511 | + }, |
2452 | 2512 | "404": { |
2453 | 2513 | "$ref": "#/components/responses/ModelNotFoundException" |
2454 | 2514 | }, |
|
2651 | 2711 | } |
2652 | 2712 | } |
2653 | 2713 | }, |
| 2714 | + "403": { |
| 2715 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2716 | + }, |
2654 | 2717 | "401": { |
2655 | 2718 | "$ref": "#/components/responses/AuthenticationException" |
2656 | 2719 | }, |
|
2757 | 2820 | } |
2758 | 2821 | } |
2759 | 2822 | }, |
| 2823 | + "403": { |
| 2824 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2825 | + }, |
2760 | 2826 | "404": { |
2761 | 2827 | "$ref": "#/components/responses/ModelNotFoundException" |
2762 | 2828 | }, |
|
2789 | 2855 | "204": { |
2790 | 2856 | "description": "No content" |
2791 | 2857 | }, |
| 2858 | + "403": { |
| 2859 | + "$ref": "#/components/responses/MissingAbilityException" |
| 2860 | + }, |
2792 | 2861 | "404": { |
2793 | 2862 | "$ref": "#/components/responses/ModelNotFoundException" |
2794 | 2863 | }, |
|
2984 | 3053 | } |
2985 | 3054 | } |
2986 | 3055 | }, |
| 3056 | + "403": { |
| 3057 | + "$ref": "#/components/responses/MissingAbilityException" |
| 3058 | + }, |
2987 | 3059 | "404": { |
2988 | 3060 | "$ref": "#/components/responses/ModelNotFoundException" |
2989 | 3061 | }, |
|
3111 | 3183 | } |
3112 | 3184 | } |
3113 | 3185 | }, |
| 3186 | + "403": { |
| 3187 | + "$ref": "#/components/responses/MissingAbilityException" |
| 3188 | + }, |
3114 | 3189 | "404": { |
3115 | 3190 | "$ref": "#/components/responses/ModelNotFoundException" |
3116 | 3191 | }, |
|
3152 | 3227 | "204": { |
3153 | 3228 | "description": "No content" |
3154 | 3229 | }, |
| 3230 | + "403": { |
| 3231 | + "$ref": "#/components/responses/MissingAbilityException" |
| 3232 | + }, |
3155 | 3233 | "404": { |
3156 | 3234 | "$ref": "#/components/responses/ModelNotFoundException" |
3157 | 3235 | }, |
|
3311 | 3389 | "human", |
3312 | 3390 | "string" |
3313 | 3391 | ] |
| 3392 | + }, |
| 3393 | + "pivot": { |
| 3394 | + "type": "object", |
| 3395 | + "properties": { |
| 3396 | + "component_status": { |
| 3397 | + "type": "object", |
| 3398 | + "properties": { |
| 3399 | + "human": { |
| 3400 | + "type": "string" |
| 3401 | + }, |
| 3402 | + "value": { |
| 3403 | + "type": "string" |
| 3404 | + } |
| 3405 | + }, |
| 3406 | + "required": [ |
| 3407 | + "human", |
| 3408 | + "value" |
| 3409 | + ] |
| 3410 | + } |
| 3411 | + }, |
| 3412 | + "required": [ |
| 3413 | + "component_status" |
| 3414 | + ] |
3314 | 3415 | } |
3315 | 3416 | }, |
3316 | 3417 | "required": [ |
|
3680 | 3781 | "type": "null" |
3681 | 3782 | } |
3682 | 3783 | ] |
| 3784 | + }, |
| 3785 | + "components": { |
| 3786 | + "type": [ |
| 3787 | + "array", |
| 3788 | + "null" |
| 3789 | + ], |
| 3790 | + "items": { |
| 3791 | + "$ref": "#/components/schemas/IncidentComponentRequestData" |
| 3792 | + } |
3683 | 3793 | } |
3684 | 3794 | }, |
3685 | 3795 | "required": [ |
|
3823 | 3933 | "format": "date-time" |
3824 | 3934 | }, |
3825 | 3935 | "completed_at": { |
3826 | | - "type": "string", |
| 3936 | + "type": [ |
| 3937 | + "string", |
| 3938 | + "null" |
| 3939 | + ], |
3827 | 3940 | "format": "date-time" |
3828 | 3941 | }, |
3829 | 3942 | "status": { |
|
3849 | 3962 | "required": [ |
3850 | 3963 | "name", |
3851 | 3964 | "message", |
3852 | | - "scheduled_at", |
3853 | | - "completed_at" |
| 3965 | + "scheduled_at" |
3854 | 3966 | ], |
3855 | 3967 | "title": "CreateScheduleRequestData" |
3856 | 3968 | }, |
|
4076 | 4188 | ], |
4077 | 4189 | "title": "Incident" |
4078 | 4190 | }, |
| 4191 | + "IncidentComponentRequestData": { |
| 4192 | + "type": "object", |
| 4193 | + "properties": { |
| 4194 | + "id": { |
| 4195 | + "type": "integer" |
| 4196 | + }, |
| 4197 | + "status": { |
| 4198 | + "$ref": "#/components/schemas/ComponentStatusEnum" |
| 4199 | + } |
| 4200 | + }, |
| 4201 | + "required": [ |
| 4202 | + "id", |
| 4203 | + "status" |
| 4204 | + ], |
| 4205 | + "title": "IncidentComponentRequestData" |
| 4206 | + }, |
4079 | 4207 | "IncidentIdentifier": { |
4080 | 4208 | "type": "object", |
4081 | 4209 | "properties": { |
|
5093 | 5221 | } |
5094 | 5222 | } |
5095 | 5223 | }, |
| 5224 | + "MissingAbilityException": { |
| 5225 | + "description": "Authorization error", |
| 5226 | + "content": { |
| 5227 | + "application/json": { |
| 5228 | + "schema": { |
| 5229 | + "type": "object", |
| 5230 | + "properties": { |
| 5231 | + "message": { |
| 5232 | + "type": "string", |
| 5233 | + "description": "Error overview." |
| 5234 | + } |
| 5235 | + }, |
| 5236 | + "required": [ |
| 5237 | + "message" |
| 5238 | + ] |
| 5239 | + } |
| 5240 | + } |
| 5241 | + } |
| 5242 | + }, |
5096 | 5243 | "AuthenticationException": { |
5097 | 5244 | "description": "Unauthenticated", |
5098 | 5245 | "content": { |
|
0 commit comments