oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

File too large to show in full — download it above (showing a truncated preview below).

1{
2 "openapi": "3.1.0",
3 "info": {
4 "title": "Equipo person API",
5 "version": "1.0.0"
6 },
7 "servers": [
8 {
9 "url": "/api/v1"
10 }
11 ],
12 "security": [
13 {
14 "browserSession": []
15 },
16 {
17 "personBearer": []
18 }
19 ],
20 "paths": {
21 "/me": {
22 "get": {
23 "operationId": "get_me",
24 "parameters": [],
25 "responses": {
26 "200": {
27 "description": "OK",
28 "headers": {
29 "ETag": {
30 "schema": {
31 "type": "string",
32 "pattern": "^\"(0|[1-9][0-9]*)\"$"
33 }
34 },
35 "Cache-Control": {
36 "schema": {
37 "const": "no-store"
38 }
39 }
40 },
41 "content": {
42 "application/json": {
43 "schema": {
44 "$ref": "#/components/schemas/PersonAPIMe"
45 }
46 }
47 }
48 },
49 "401": {
50 "$ref": "#/components/responses/unauthenticated"
51 },
52 "403": {
53 "$ref": "#/components/responses/forbidden"
54 },
55 "404": {
56 "$ref": "#/components/responses/not_found"
57 },
58 "405": {
59 "$ref": "#/components/responses/method_not_allowed"
60 },
61 "409": {
62 "$ref": "#/components/responses/revision_conflict"
63 },
64 "410": {
65 "$ref": "#/components/responses/cursor_expired"
66 },
67 "422": {
68 "$ref": "#/components/responses/invalid_input"
69 },
70 "428": {
71 "$ref": "#/components/responses/precondition_required"
72 },
73 "503": {
74 "$ref": "#/components/responses/unavailable"
75 }
76 },
77 "x-plan-part": "3a"
78 }
79 },
80 "/capabilities": {
81 "get": {
82 "operationId": "get_capabilities",
83 "parameters": [],
84 "responses": {
85 "200": {
86 "description": "OK",
87 "headers": {
88 "ETag": {
89 "schema": {
90 "type": "string",
91 "pattern": "^\"(0|[1-9][0-9]*)\"$"
92 }
93 },
94 "Cache-Control": {
95 "schema": {
96 "const": "no-store"
97 }
98 }
99 },
100 "content": {
101 "application/json": {
102 "schema": {
103 "$ref": "#/components/schemas/PersonAPICapabilities"
104 }
105 }
106 }
107 },
108 "401": {
109 "$ref": "#/components/responses/unauthenticated"
110 },
111 "403": {
112 "$ref": "#/components/responses/forbidden"
113 },
114 "404": {
115 "$ref": "#/components/responses/not_found"
116 },
117 "405": {
118 "$ref": "#/components/responses/method_not_allowed"
119 },
120 "409": {
121 "$ref": "#/components/responses/revision_conflict"
122 },
123 "410": {
124 "$ref": "#/components/responses/cursor_expired"
125 },
126 "422": {
127 "$ref": "#/components/responses/invalid_input"
128 },
129 "428": {
130 "$ref": "#/components/responses/precondition_required"
131 },
132 "503": {
133 "$ref": "#/components/responses/unavailable"
134 }
135 },
136 "x-plan-part": "3a"
137 }
138 },
139 "/me/settings": {
140 "get": {
141 "operationId": "get_me_settings",
142 "parameters": [],
143 "responses": {
144 "200": {
145 "description": "OK",
146 "headers": {
147 "ETag": {
148 "schema": {
149 "type": "string",
150 "pattern": "^\"(0|[1-9][0-9]*)\"$"
151 }
152 },
153 "Cache-Control": {
154 "schema": {
155 "const": "no-store"
156 }
157 }
158 },
159 "content": {
160 "application/json": {
161 "schema": {
162 "$ref": "#/components/schemas/Settings"
163 }
164 }
165 }
166 },
167 "401": {
168 "$ref": "#/components/responses/unauthenticated"
169 },
170 "403": {
171 "$ref": "#/components/responses/forbidden"
172 },
173 "404": {
174 "$ref": "#/components/responses/not_found"
175 },
176 "405": {
177 "$ref": "#/components/responses/method_not_allowed"
178 },
179 "409": {
180 "$ref": "#/components/responses/revision_conflict"
181 },
182 "410": {
183 "$ref": "#/components/responses/cursor_expired"
184 },
185 "422": {
186 "$ref": "#/components/responses/invalid_input"
187 },
188 "428": {
189 "$ref": "#/components/responses/precondition_required"
190 },
191 "503": {
192 "$ref": "#/components/responses/unavailable"
193 }
194 },
195 "x-plan-part": "3a"
196 },
197 "patch": {
198 "operationId": "patch_me_settings",
199 "parameters": [
200 {
201 "name": "Idempotency-Key",
202 "in": "header",
203 "required": true,
204 "schema": {
205 "type": "string",
206 "minLength": 1,
207 "maxLength": 256,
208 "x-maxBytes": 256
209 }
210 },
211 {
212 "name": "If-Match",
213 "in": "header",
214 "required": true,
215 "schema": {
216 "type": "string",
217 "pattern": "^\"(0|[1-9][0-9]*)\"$"
218 }
219 }
220 ],
221 "responses": {
222 "200": {
223 "description": "OK",
224 "headers": {
225 "ETag": {
226 "schema": {
227 "type": "string",
228 "pattern": "^\"(0|[1-9][0-9]*)\"$"
229 }
230 },
231 "Cache-Control": {
232 "schema": {
233 "const": "no-store"
234 }
235 }
236 },
237 "content": {
238 "application/json": {
239 "schema": {
240 "$ref": "#/components/schemas/Settings"
241 }
242 }
243 }
244 },
245 "401": {
246 "$ref": "#/components/responses/unauthenticated"
247 },
248 "403": {
249 "$ref": "#/components/responses/forbidden"
250 },
251 "404": {
252 "$ref": "#/components/responses/not_found"
253 },
254 "405": {
255 "$ref": "#/components/responses/method_not_allowed"
256 },
257 "409": {
258 "$ref": "#/components/responses/revision_conflict"
259 },
260 "410": {
261 "$ref": "#/components/responses/cursor_expired"
262 },
263 "422": {
264 "$ref": "#/components/responses/invalid_input"
265 },
266 "428": {
267 "$ref": "#/components/responses/precondition_required"
268 },
269 "503": {
270 "$ref": "#/components/responses/unavailable"
271 }
272 },
273 "x-plan-part": "3a",
274 "requestBody": {
275 "required": true,
276 "content": {
277 "application/json": {
278 "schema": {
279 "$ref": "#/components/schemas/SettingsInput"
280 }
281 }
282 },
283 "x-maxBytes": 65536,
284 "x-rejectDuplicateKeys": true,
285 "x-rejectUnknownFields": true
286 }
287 }
288 },
289 "/people": {
290 "get": {
291 "operationId": "get_people",
292 "parameters": [
293 {
294 "name": "cursor",
295 "in": "query",
296 "schema": {
297 "type": "string"
298 }
299 },
300 {
301 "name": "limit",
302 "in": "query",
303 "schema": {
304 "type": "integer",
305 "minimum": 1,
306 "maximum": 100,
307 "default": 50
308 }
309 }
310 ],
311 "responses": {
312 "200": {
313 "description": "OK",
314 "headers": {
315 "ETag": {
316 "schema": {
317 "type": "string",
318 "pattern": "^\"(0|[1-9][0-9]*)\"$"
319 }
320 },
321 "Cache-Control": {
322 "schema": {
323 "const": "no-store"
324 }
325 }
326 },
327 "content": {
328 "application/json": {
329 "schema": {
330 "$ref": "#/components/schemas/PersonPage"
331 }
332 }
333 }
334 },
335 "401": {
336 "$ref": "#/components/responses/unauthenticated"
337 },
338 "403": {
339 "$ref": "#/components/responses/forbidden"
340 },
341 "404": {
342 "$ref": "#/components/responses/not_found"
343 },
344 "405": {
345 "$ref": "#/components/responses/method_not_allowed"
346 },
347 "409": {
348 "$ref": "#/components/responses/revision_conflict"
349 },
350 "410": {
351 "$ref": "#/components/responses/cursor_expired"
352 },
353 "422": {
354 "$ref": "#/components/responses/invalid_input"
355 },
356 "428": {
357 "$ref": "#/components/responses/precondition_required"
358 },
359 "503": {
360 "$ref": "#/components/responses/unavailable"
361 }
362 },
363 "x-plan-part": "3a"
364 }
365 },
366 "/conversation": {
367 "get": {
368 "operationId": "get_conversation",
369 "parameters": [
370 {
371 "name": "cursor",
372 "in": "query",
373 "schema": {
374 "type": "string"
375 }
376 },
377 {
378 "name": "limit",
379 "in": "query",
380 "schema": {
381 "type": "integer",
382 "minimum": 1,
383 "maximum": 100,
384 "default": 50
385 }
386 }
387 ],
388 "responses": {
389 "200": {
390 "description": "OK",
391 "headers": {
392 "ETag": {
393 "schema": {
394 "type": "string",
395 "pattern": "^\"(0|[1-9][0-9]*)\"$"
396 }
397 },
398 "Cache-Control": {
399 "schema": {
400 "const": "no-store"
401 }
402 }
403 },
404 "content": {
405 "application/json": {
406 "schema": {
407 "$ref": "#/components/schemas/ConversationPage"
408 }
409 }
410 }
411 },
412 "401": {
413 "$ref": "#/components/responses/unauthenticated"
414 },
415 "403": {
416 "$ref": "#/components/responses/forbidden"
417 },
418 "404": {
419 "$ref": "#/components/responses/not_found"
420 },
421 "405": {
422 "$ref": "#/components/responses/method_not_allowed"
423 },
424 "409": {
425 "$ref": "#/components/responses/revision_conflict"
426 },
427 "410": {
428 "$ref": "#/components/responses/cursor_expired"
429 },
430 "422": {
431 "$ref": "#/components/responses/invalid_input"
432 },
433 "428": {
434 "$ref": "#/components/responses/precondition_required"
435 },
436 "503": {
437 "$ref": "#/components/responses/unavailable"
438 }
439 },
440 "x-plan-part": "3a"
441 }
442 },
443 "/conversation/messages": {
444 "post": {
445 "operationId": "post_conversation_messages",
446 "parameters": [
447 {
448 "name": "Idempotency-Key",
449 "in": "header",
450 "required": true,
451 "schema": {
452 "type": "string",
453 "minLength": 1,
454 "maxLength": 256,
455 "x-maxBytes": 256
456 }
457 },
458 {
459 "name": "If-Match",
460 "in": "header",
461 "required": false,
462 "schema": {
463 "type": "string",
464 "pattern": "^\"(0|[1-9][0-9]*)\"$"
465 }
466 }
467 ],
468 "responses": {
469 "200": {
470 "description": "OK",
471 "headers": {
472 "ETag": {
473 "schema": {
474 "type": "string",
475 "pattern": "^\"(0|[1-9][0-9]*)\"$"
476 }
477 },
478 "Cache-Control": {
479 "schema": {
480 "const": "no-store"
481 }
482 }
483 },
484 "content": {
485 "application/json": {
486 "schema": {
487 "$ref": "#/components/schemas/PersonAPIMessage"
488 }
489 }
490 }
491 },
492 "401": {
493 "$ref": "#/components/responses/unauthenticated"
494 },
495 "403": {
496 "$ref": "#/components/responses/forbidden"
497 },
498 "404": {
499 "$ref": "#/components/responses/not_found"
500 },
501 "405": {
502 "$ref": "#/components/responses/method_not_allowed"
503 },
504 "409": {
505 "$ref": "#/components/responses/revision_conflict"
506 },
507 "410": {
508 "$ref": "#/components/responses/cursor_expired"
509 },
510 "422": {
511 "$ref": "#/components/responses/invalid_input"
512 },
513 "428": {
514 "$ref": "#/components/responses/precondition_required"
515 },
516 "503": {
517 "$ref": "#/components/responses/unavailable"
518 }
519 },
520 "x-plan-part": "3a",
521 "requestBody": {
522 "required": true,
523 "content": {
524 "application/json": {
525 "schema": {
526 "$ref": "#/components/schemas/MessageInput"
527 }
528 }
529 },
530 "x-maxBytes": 65536,
531 "x-rejectDuplicateKeys": true,
532 "x-rejectUnknownFields": true
533 }
534 }
535 },
536 "/conversation/cards": {
537 "get": {
538 "operationId": "get_conversation_cards",
539 "parameters": [
540 {
541 "name": "cursor",
542 "in": "query",
543 "schema": {
544 "type": "string"
545 }
546 },
547 {
548 "name": "limit",
549 "in": "query",
550 "schema": {
551 "type": "integer",
552 "minimum": 1,
553 "maximum": 100,
554 "default": 50
555 }
556 }
557 ],
558 "responses": {
559 "200": {
560 "description": "OK",
561 "headers": {
562 "ETag": {
563 "schema": {
564 "type": "string",
565 "pattern": "^\"(0|[1-9][0-9]*)\"$"
566 }
567 },
568 "Cache-Control": {
569 "schema": {
570 "const": "no-store"
571 }
572 }
573 },
574 "content": {
575 "application/json": {
576 "schema": {
577 "$ref": "#/components/schemas/CardPage"
578 }
579 }
580 }
581 },
582 "401": {
583 "$ref": "#/components/responses/unauthenticated"
584 },
585 "403": {
586 "$ref": "#/components/responses/forbidden"
587 },
588 "404": {
589 "$ref": "#/components/responses/not_found"
590 },
591 "405": {
592 "$ref": "#/components/responses/method_not_allowed"
593 },
594 "409": {
595 "$ref": "#/components/responses/revision_conflict"
596 },
597 "410": {
598 "$ref": "#/components/responses/cursor_expired"
599 },
600 "422": {
601 "$ref": "#/components/responses/invalid_input"
602 },
603 "428": {
604 "$ref": "#/components/responses/precondition_required"
605 },
606 "503": {
607 "$ref": "#/components/responses/unavailable"
608 }
609 },
610 "x-plan-part": "3a"
611 }
612 },
613 "/cards/{id}": {
614 "get": {
615 "operationId": "get_cards_id",
616 "parameters": [
617 {
618 "name": "id",
619 "in": "path",
620 "required": true,
621 "schema": {
622 "type": "string",
623 "minLength": 1
624 }
625 }
626 ],
627 "responses": {
628 "200": {
629 "description": "OK",
630 "headers": {
631 "ETag": {
632 "schema": {
633 "type": "string",
634 "pattern": "^\"(0|[1-9][0-9]*)\"$"
635 }
636 },
637 "Cache-Control": {
638 "schema": {
639 "const": "no-store"
640 }
641 }
642 },
643 "content": {
644 "application/json": {
645 "schema": {
646 "oneOf": [
647 {
648 "$ref": "#/components/schemas/Card"
649 },
650 {
651 "$ref": "#/components/schemas/PersonAPICard"
652 }
653 ]
654 }
655 }
656 }
657 },
658 "401": {
659 "$ref": "#/components/responses/unauthenticated"
660 },
661 "403": {
662 "$ref": "#/components/responses/forbidden"
663 },
664 "404": {
665 "$ref": "#/components/responses/not_found"
666 },
667 "405": {
668 "$ref": "#/components/responses/method_not_allowed"
669 },
670 "409": {
671 "$ref": "#/components/responses/revision_conflict"
672 },
673 "410": {
674 "$ref": "#/components/responses/cursor_expired"
675 },
676 "422": {
677 "$ref": "#/components/responses/invalid_input"
678 },
679 "428": {
680 "$ref": "#/components/responses/precondition_required"
681 },
682 "503": {
683 "$ref": "#/components/responses/unavailable"
684 }
685 },
686 "x-plan-part": "3a",
687 "x-earlierPersonAPI": {
688 "when": "The id does not start with c_.",
689 "operation": {
690 "operationId": "get_cards_id",
691 "parameters": [
692 {
693 "name": "id",
694 "in": "path",
695 "required": true,
696 "schema": {
697 "type": "string",
698 "minLength": 1
699 }
700 }
701 ],
702 "responses": {
703 "200": {
704 "description": "OK",
705 "headers": {
706 "ETag": {
707 "schema": {
708 "type": "string",
709 "pattern": "^\"(0|[1-9][0-9]*)\"$"
710 }
711 },
712 "Cache-Control": {
713 "schema": {
714 "const": "no-store"
715 }
716 }
717 },
718 "content": {
719 "application/json": {
720 "schema": {
721 "$ref": "#/components/schemas/PersonAPICard"
722 }
723 }
724 }
725 },
726 "401": {
727 "$ref": "#/components/responses/unauthenticated"
728 },
729 "403": {
730 "$ref": "#/components/responses/forbidden"
731 },
732 "404": {
733 "$ref": "#/components/responses/not_found"
734 },
735 "405": {
736 "$ref": "#/components/responses/method_not_allowed"
737 },
738 "409": {
739 "$ref": "#/components/responses/revision_conflict"
740 },
741 "410": {
742 "$ref": "#/components/responses/cursor_expired"
743 },
744 "422": {
745 "$ref": "#/components/responses/invalid_input"
746 },
747 "428": {
748 "$ref": "#/components/responses/precondition_required"
749 },
750 "503": {
751 "$ref": "#/components/responses/unavailable"
752 }
753 },
754 "x-plan-part": "3a"
755 }
756 },
757 "description": "Direct card read, independent of the snapshot window. IDs beginning `c_` select the thin store and require a device bearer; all others select the earlier person API. There is no lookup fallback. The oneOf is distinguished by the ID prefix and required shape: thin Card includes state and question; PersonAPICard includes resource_id and actions. Thin reads enforce current membership and device, current person, Coordinator lane and not held, returning the snapshot cardView projection and revision. Missing, invisible and wrong-store cards are not_found.",
758 "security": [
759 {
760 "personBearer": []
761 }
762 ]
763 }
764 },
765 "/tasks": {
766 "get": {
767 "operationId": "get_tasks",
768 "summary": "Read the team's tasks",
769 "description": "A request without an `Authorization` header, that is a browser session, gets the earlier person API's answer in `x-earlierPersonAPI`.",
770 "security": [
771 {
772 "personBearer": []
773 }
774 ],
775 "parameters": [],
776 "responses": {
777 "200": {
778 "description": "OK",
779 "headers": {
780 "Cache-Control": {
781 "schema": {
782 "const": "no-store"
783 }
784 }
785 },
786 "content": {
787 "application/json": {
788 "schema": {
789 "$ref": "#/components/schemas/TaskList"
790 }
791 }
792 }
793 },
794 "401": {
795 "$ref": "#/components/responses/unauthenticated"
796 },
797 "default": {
798 "description": "An error, with one of the codes in `Error`",
799 "headers": {
800 "Cache-Control": {
801 "schema": {
802 "const": "no-store"
803 }
804 }
805 },
806 "content": {
807 "application/json": {
808 "schema": {
809 "$ref": "#/components/schemas/Error"
810 }
811 }
812 }
813 }
814 },
815 "x-earlierPersonAPI": {
816 "servedWhen": "The request has no `Authorization` header: a browser session.",
817 "operation": {
818 "operationId": "get_tasks",
819 "parameters": [
820 {
821 "name": "cursor",
822 "in": "query",
823 "schema": {
824 "type": "string"
825 }
826 },
827 {
828 "name": "limit",
829 "in": "query",
830 "schema": {
831 "type": "integer",
832 "minimum": 1,
833 "maximum": 100,
834 "default": 50
835 }
836 }
837 ],
838 "responses": {
839 "200": {
840 "description": "OK",
841 "headers": {
842 "ETag": {
843 "schema": {
844 "type": "string",
845 "pattern": "^\"(0|[1-9][0-9]*)\"$"
846 }
847 },
848 "Cache-Control": {
849 "schema": {
850 "const": "no-store"
851 }
852 }
853 },
854 "content": {
855 "application/json": {
856 "schema": {
857 "$ref": "#/components/schemas/TaskPage"
858 }
859 }
860 }
861 },
862 "401": {
863 "$ref": "#/components/responses/unauthenticated"
864 },
865 "403": {
866 "$ref": "#/components/responses/forbidden"
867 },
868 "404": {
869 "$ref": "#/components/responses/not_found"
870 },
871 "405": {
872 "$ref": "#/components/responses/method_not_allowed"
873 },
874 "409": {
875 "$ref": "#/components/responses/revision_conflict"
876 },
877 "410": {
878 "$ref": "#/components/responses/cursor_expired"
879 },
880 "422": {
881 "$ref": "#/components/responses/invalid_input"
882 },
883 "428": {
884 "$ref": "#/components/responses/precondition_required"
885 },
886 "503": {
887 "$ref": "#/components/responses/unavailable"
888 }
889 },
890 "x-plan-part": "3a"
891 }
892 }
893 },
894 "post": {
895 "operationId": "post_tasks",
896 "parameters": [
897 {
898 "name": "Idempotency-Key",
899 "in": "header",
900 "required": true,
901 "schema": {
902 "type": "string",
903 "minLength": 1,
904 "maxLength": 256,
905 "x-maxBytes": 256
906 }
907 },
908 {
909 "name": "If-Match",
910 "in": "header",
911 "required": false,
912 "schema": {
913 "type": "string",
914 "pattern": "^\"(0|[1-9][0-9]*)\"$"
915 }
916 }
917 ],
918 "responses": {
919 "200": {
920 "description": "OK",
921 "headers": {
922 "ETag": {
923 "schema": {
924 "type": "string",
925 "pattern": "^\"(0|[1-9][0-9]*)\"$"
926 }
927 },
928 "Cache-Control": {
929 "schema": {
930 "const": "no-store"
931 }
932 }
933 },
934 "content": {
935 "application/json": {
936 "schema": {
937 "$ref": "#/components/schemas/Plan"
938 }
939 }
940 }
941 },
942 "401": {
943 "$ref": "#/components/responses/unauthenticated"
944 },
945 "403": {
946 "$ref": "#/components/responses/forbidden"
947 },
948 "404": {
949 "$ref": "#/components/responses/not_found"
950 },
951 "405": {
952 "$ref": "#/components/responses/method_not_allowed"
953 },
954 "409": {
955 "$ref": "#/components/responses/revision_conflict"
956 },
957 "410": {
958 "$ref": "#/components/responses/cursor_expired"
959 },
960 "422": {
961 "$ref": "#/components/responses/invalid_input"
962 },
963 "428": {
964 "$ref": "#/components/responses/precondition_required"
965 },
966 "503": {
967 "$ref": "#/components/responses/unavailable"
968 }
969 },
970 "x-plan-part": "3a",
971 "requestBody": {
972 "required": true,
973 "content": {
974 "application/json": {
975 "schema": {
976 "$ref": "#/components/schemas/PlanInput"
977 }
978 }
979 },
980 "x-maxBytes": 65536,
981 "x-rejectDuplicateKeys": true,
982 "x-rejectUnknownFields": true
983 }
984 }
985 },
986 "/tasks/{id}": {
987 "get": {
988 "operationId": "get_tasks_id",
989 "summary": "Read one task",
990 "description": "With its steps, thread and cards. Task ids from this API start with `tk`. Any other id is a task of the earlier person API: that request gets the earlier answer in `x-earlierPersonAPI`, with a bearer or a browser session. A browser session asking for a `tk` id is 401 `unauthenticated`.",
991 "security": [
992 {
993 "personBearer": []
994 }
995 ],
996 "parameters": [
997 {
998 "name": "id",
999 "in": "path",
1000 "required": true,
1001 "schema": {
1002 "type": "string",
1003 "minLength": 1
1004 }
1005 }
1006 ],
1007 "responses": {
1008 "200": {
1009 "description": "OK",
1010 "headers": {
1011 "Cache-Control": {
1012 "schema": {
1013 "const": "no-store"
1014 }
1015 }
1016 },
1017 "content": {
1018 "application/json": {
1019 "schema": {
1020 "$ref": "#/components/schemas/Task"
1021 }
1022 }
1023 }
1024 },
1025 "401": {
1026 "$ref": "#/components/responses/unauthenticated"
1027 },
1028 "default": {
1029 "description": "An error, with one of the codes in `Error`",
1030 "headers": {
1031 "Cache-Control": {
1032 "schema": {
1033 "const": "no-store"
1034 }
1035 }
1036 },
1037 "content": {
1038 "application/json": {
1039 "schema": {
1040 "$ref": "#/components/schemas/Error"
1041 }
1042 }
1043 }
1044 }
1045 },
1046 "x-earlierPersonAPI": {
1047 "servedWhen": "The id does not start with `tk`.",
1048 "operation": {
1049 "operationId": "get_tasks_id",
1050 "parameters": [
1051 {
1052 "name": "id",
1053 "in": "path",
1054 "required": true,
1055 "schema": {
1056 "type": "string",
1057 "minLength": 1
1058 }
1059 }
1060 ],
1061 "responses": {
1062 "200": {
1063 "description": "OK",
1064 "headers": {
1065 "ETag": {
1066 "schema": {
1067 "type": "string",
1068 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1069 }
1070 },
1071 "Cache-Control": {
1072 "schema": {
1073 "const": "no-store"
1074 }
1075 }
1076 },
1077 "content": {
1078 "application/json": {
1079 "schema": {
1080 "$ref": "#/components/schemas/PersonAPITask"
1081 }
1082 }
1083 }
1084 },
1085 "401": {
1086 "$ref": "#/components/responses/unauthenticated"
1087 },
1088 "403": {
1089 "$ref": "#/components/responses/forbidden"
1090 },
1091 "404": {
1092 "$ref": "#/components/responses/not_found"
1093 },
1094 "405": {
1095 "$ref": "#/components/responses/method_not_allowed"
1096 },
1097 "409": {
1098 "$ref": "#/components/responses/revision_conflict"
1099 },
1100 "410": {
1101 "$ref": "#/components/responses/cursor_expired"
1102 },
1103 "422": {
1104 "$ref": "#/components/responses/invalid_input"
1105 },
1106 "428": {
1107 "$ref": "#/components/responses/precondition_required"
1108 },
1109 "503": {
1110 "$ref": "#/components/responses/unavailable"
1111 }
1112 },
1113 "x-plan-part": "3a"
1114 }
1115 }
1116 }
1117 },
1118 "/tasks/{id}/cancel": {
1119 "post": {
1120 "operationId": "post_tasks_id_cancel",
1121 "summary": "Cancel a task",
1122 "description": "202 with the attempt the cancel applies to; 409 `task_ended` once it has ended. No body is read. Task ids from this API start with `tk`. Any other id is a task of the earlier person API: that request gets the earlier answer in `x-earlierPersonAPI`, with a bearer or a browser session. A browser session asking for a `tk` id is 401 `unauthenticated`.",
1123 "security": [
1124 {
1125 "personBearer": []
1126 }
1127 ],
1128 "parameters": [
1129 {
1130 "name": "id",
1131 "in": "path",
1132 "required": true,
1133 "schema": {
1134 "type": "string",
1135 "minLength": 1
1136 }
1137 }
1138 ],
1139 "responses": {
1140 "202": {
1141 "description": "Accepted",
1142 "headers": {
1143 "Cache-Control": {
1144 "schema": {
1145 "const": "no-store"
1146 }
1147 }
1148 },
1149 "content": {
1150 "application/json": {
1151 "schema": {
1152 "$ref": "#/components/schemas/TaskAccepted"
1153 }
1154 }
1155 }
1156 },
1157 "401": {
1158 "$ref": "#/components/responses/unauthenticated"
1159 },
1160 "default": {
1161 "description": "An error, with one of the codes in `Error`",
1162 "headers": {
1163 "Cache-Control": {
1164 "schema": {
1165 "const": "no-store"
1166 }
1167 }
1168 },
1169 "content": {
1170 "application/json": {
1171 "schema": {
1172 "$ref": "#/components/schemas/Error"
1173 }
1174 }
1175 }
1176 }
1177 },
1178 "x-earlierPersonAPI": {
1179 "servedWhen": "The id does not start with `tk`.",
1180 "operation": {
1181 "operationId": "post_tasks_id_cancel",
1182 "parameters": [
1183 {
1184 "name": "id",
1185 "in": "path",
1186 "required": true,
1187 "schema": {
1188 "type": "string",
1189 "minLength": 1
1190 }
1191 },
1192 {
1193 "name": "Idempotency-Key",
1194 "in": "header",
1195 "required": true,
1196 "schema": {
1197 "type": "string",
1198 "minLength": 1,
1199 "maxLength": 256,
1200 "x-maxBytes": 256
1201 }
1202 },
1203 {
1204 "name": "If-Match",
1205 "in": "header",
1206 "required": true,
1207 "schema": {
1208 "type": "string",
1209 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1210 }
1211 }
1212 ],
1213 "responses": {
1214 "200": {
1215 "description": "OK",
1216 "headers": {
1217 "ETag": {
1218 "schema": {
1219 "type": "string",
1220 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1221 }
1222 },
1223 "Cache-Control": {
1224 "schema": {
1225 "const": "no-store"
1226 }
1227 }
1228 },
1229 "content": {
1230 "application/json": {
1231 "schema": {
1232 "$ref": "#/components/schemas/Ack"
1233 }
1234 }
1235 }
1236 },
1237 "401": {
1238 "$ref": "#/components/responses/unauthenticated"
1239 },
1240 "403": {
1241 "$ref": "#/components/responses/forbidden"
1242 },
1243 "404": {
1244 "$ref": "#/components/responses/not_found"
1245 },
1246 "405": {
1247 "$ref": "#/components/responses/method_not_allowed"
1248 },
1249 "409": {
1250 "$ref": "#/components/responses/revision_conflict"
1251 },
1252 "410": {
1253 "$ref": "#/components/responses/cursor_expired"
1254 },
1255 "422": {
1256 "$ref": "#/components/responses/invalid_input"
1257 },
1258 "428": {
1259 "$ref": "#/components/responses/precondition_required"
1260 },
1261 "503": {
1262 "$ref": "#/components/responses/unavailable"
1263 }
1264 },
1265 "x-plan-part": "3a",
1266 "requestBody": {
1267 "required": true,
1268 "content": {
1269 "application/json": {
1270 "schema": {
1271 "$ref": "#/components/schemas/Empty"
1272 }
1273 }
1274 },
1275 "x-maxBytes": 65536,
1276 "x-rejectDuplicateKeys": true,
1277 "x-rejectUnknownFields": true
1278 }
1279 }
1280 }
1281 }
1282 },
1283 "/tasks/{id}/thread": {
1284 "get": {
1285 "operationId": "get_tasks_id_thread",
1286 "parameters": [
1287 {
1288 "name": "id",
1289 "in": "path",
1290 "required": true,
1291 "schema": {
1292 "type": "string",
1293 "minLength": 1
1294 }
1295 },
1296 {
1297 "name": "cursor",
1298 "in": "query",
1299 "schema": {
1300 "type": "string"
1301 }
1302 },
1303 {
1304 "name": "limit",
1305 "in": "query",
1306 "schema": {
1307 "type": "integer",
1308 "minimum": 1,
1309 "maximum": 100,
1310 "default": 50
1311 }
1312 }
1313 ],
1314 "responses": {
1315 "200": {
1316 "description": "OK",
1317 "headers": {
1318 "ETag": {
1319 "schema": {
1320 "type": "string",
1321 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1322 }
1323 },
1324 "Cache-Control": {
1325 "schema": {
1326 "const": "no-store"
1327 }
1328 }
1329 },
1330 "content": {
1331 "application/json": {
1332 "schema": {
1333 "$ref": "#/components/schemas/ConversationPage"
1334 }
1335 }
1336 }
1337 },
1338 "401": {
1339 "$ref": "#/components/responses/unauthenticated"
1340 },
1341 "403": {
1342 "$ref": "#/components/responses/forbidden"
1343 },
1344 "404": {
1345 "$ref": "#/components/responses/not_found"
1346 },
1347 "405": {
1348 "$ref": "#/components/responses/method_not_allowed"
1349 },
1350 "409": {
1351 "$ref": "#/components/responses/revision_conflict"
1352 },
1353 "410": {
1354 "$ref": "#/components/responses/cursor_expired"
1355 },
1356 "422": {
1357 "$ref": "#/components/responses/invalid_input"
1358 },
1359 "428": {
1360 "$ref": "#/components/responses/precondition_required"
1361 },
1362 "503": {
1363 "$ref": "#/components/responses/unavailable"
1364 }
1365 },
1366 "x-plan-part": "3a"
1367 },
1368 "post": {
1369 "operationId": "post_tasks_id_thread",
1370 "summary": "Post to a task's thread",
1371 "security": [
1372 {
1373 "personBearer": []
1374 }
1375 ],
1376 "parameters": [
1377 {
1378 "name": "id",
1379 "in": "path",
1380 "required": true,
1381 "schema": {
1382 "type": "string",
1383 "minLength": 1
1384 }
1385 }
1386 ],
1387 "responses": {
1388 "200": {
1389 "description": "OK",
1390 "headers": {
1391 "Cache-Control": {
1392 "schema": {
1393 "const": "no-store"
1394 }
1395 }
1396 },
1397 "content": {
1398 "application/json": {
1399 "schema": {
1400 "$ref": "#/components/schemas/ThreadEntry"
1401 }
1402 }
1403 }
1404 },
1405 "401": {
1406 "$ref": "#/components/responses/unauthenticated"
1407 },
1408 "default": {
1409 "description": "An error, with one of the codes in `Error`",
1410 "headers": {
1411 "Cache-Control": {
1412 "schema": {
1413 "const": "no-store"
1414 }
1415 }
1416 },
1417 "content": {
1418 "application/json": {
1419 "schema": {
1420 "$ref": "#/components/schemas/Error"
1421 }
1422 }
1423 }
1424 }
1425 },
1426 "requestBody": {
1427 "required": true,
1428 "content": {
1429 "application/json": {
1430 "schema": {
1431 "$ref": "#/components/schemas/PostThread"
1432 }
1433 }
1434 },
1435 "x-maxBytes": 32768,
1436 "x-rejectUnknownFields": true
1437 }
1438 }
1439 },
1440 "/tasks/{id}/thread/messages": {
1441 "post": {
1442 "operationId": "post_tasks_id_thread_messages",
1443 "parameters": [
1444 {
1445 "name": "id",
1446 "in": "path",
1447 "required": true,
1448 "schema": {
1449 "type": "string",
1450 "minLength": 1
1451 }
1452 },
1453 {
1454 "name": "Idempotency-Key",
1455 "in": "header",
1456 "required": true,
1457 "schema": {
1458 "type": "string",
1459 "minLength": 1,
1460 "maxLength": 256,
1461 "x-maxBytes": 256
1462 }
1463 },
1464 {
1465 "name": "If-Match",
1466 "in": "header",
1467 "required": false,
1468 "schema": {
1469 "type": "string",
1470 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1471 }
1472 }
1473 ],
1474 "responses": {
1475 "200": {
1476 "description": "OK",
1477 "headers": {
1478 "ETag": {
1479 "schema": {
1480 "type": "string",
1481 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1482 }
1483 },
1484 "Cache-Control": {
1485 "schema": {
1486 "const": "no-store"
1487 }
1488 }
1489 },
1490 "content": {
1491 "application/json": {
1492 "schema": {
1493 "$ref": "#/components/schemas/PersonAPIMessage"
1494 }
1495 }
1496 }
1497 },
1498 "401": {
1499 "$ref": "#/components/responses/unauthenticated"
1500 },
1501 "403": {
1502 "$ref": "#/components/responses/forbidden"
1503 },
1504 "404": {
1505 "$ref": "#/components/responses/not_found"
1506 },
1507 "405": {
1508 "$ref": "#/components/responses/method_not_allowed"
1509 },
1510 "409": {
1511 "$ref": "#/components/responses/revision_conflict"
1512 },
1513 "410": {
1514 "$ref": "#/components/responses/cursor_expired"
1515 },
1516 "422": {
1517 "$ref": "#/components/responses/invalid_input"
1518 },
1519 "428": {
1520 "$ref": "#/components/responses/precondition_required"
1521 },
1522 "503": {
1523 "$ref": "#/components/responses/unavailable"
1524 }
1525 },
1526 "x-plan-part": "3a",
1527 "requestBody": {
1528 "required": true,
1529 "content": {
1530 "application/json": {
1531 "schema": {
1532 "$ref": "#/components/schemas/MessageInput"
1533 }
1534 }
1535 },
1536 "x-maxBytes": 65536,
1537 "x-rejectDuplicateKeys": true,
1538 "x-rejectUnknownFields": true
1539 }
1540 }
1541 },
1542 "/conversation/messages/{id}/route": {
1543 "post": {
1544 "operationId": "post_conversation_messages_id_route",
1545 "parameters": [
1546 {
1547 "name": "id",
1548 "in": "path",
1549 "required": true,
1550 "schema": {
1551 "type": "string",
1552 "minLength": 1
1553 }
1554 },
1555 {
1556 "name": "Idempotency-Key",
1557 "in": "header",
1558 "required": true,
1559 "schema": {
1560 "type": "string",
1561 "minLength": 1,
1562 "maxLength": 256,
1563 "x-maxBytes": 256
1564 }
1565 },
1566 {
1567 "name": "If-Match",
1568 "in": "header",
1569 "required": true,
1570 "schema": {
1571 "type": "string",
1572 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1573 }
1574 }
1575 ],
1576 "responses": {
1577 "200": {
1578 "description": "OK",
1579 "headers": {
1580 "ETag": {
1581 "schema": {
1582 "type": "string",
1583 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1584 }
1585 },
1586 "Cache-Control": {
1587 "schema": {
1588 "const": "no-store"
1589 }
1590 }
1591 },
1592 "content": {
1593 "application/json": {
1594 "schema": {
1595 "$ref": "#/components/schemas/PersonAPIMessage"
1596 }
1597 }
1598 }
1599 },
1600 "401": {
1601 "$ref": "#/components/responses/unauthenticated"
1602 },
1603 "403": {
1604 "$ref": "#/components/responses/forbidden"
1605 },
1606 "404": {
1607 "$ref": "#/components/responses/not_found"
1608 },
1609 "405": {
1610 "$ref": "#/components/responses/method_not_allowed"
1611 },
1612 "409": {
1613 "$ref": "#/components/responses/revision_conflict"
1614 },
1615 "410": {
1616 "$ref": "#/components/responses/cursor_expired"
1617 },
1618 "422": {
1619 "$ref": "#/components/responses/invalid_input"
1620 },
1621 "428": {
1622 "$ref": "#/components/responses/precondition_required"
1623 },
1624 "503": {
1625 "$ref": "#/components/responses/unavailable"
1626 }
1627 },
1628 "x-plan-part": "3a",
1629 "requestBody": {
1630 "required": true,
1631 "content": {
1632 "application/json": {
1633 "schema": {
1634 "$ref": "#/components/schemas/RouteInput"
1635 }
1636 }
1637 },
1638 "x-maxBytes": 65536,
1639 "x-rejectDuplicateKeys": true,
1640 "x-rejectUnknownFields": true
1641 }
1642 }
1643 },
1644 "/tasks/{id}/plan": {
1645 "get": {
1646 "operationId": "get_tasks_id_plan",
1647 "parameters": [
1648 {
1649 "name": "id",
1650 "in": "path",
1651 "required": true,
1652 "schema": {
1653 "type": "string",
1654 "minLength": 1
1655 }
1656 }
1657 ],
1658 "responses": {
1659 "200": {
1660 "description": "OK",
1661 "headers": {
1662 "ETag": {
1663 "schema": {
1664 "type": "string",
1665 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1666 }
1667 },
1668 "Cache-Control": {
1669 "schema": {
1670 "const": "no-store"
1671 }
1672 }
1673 },
1674 "content": {
1675 "application/json": {
1676 "schema": {
1677 "$ref": "#/components/schemas/Plan"
1678 }
1679 }
1680 }
1681 },
1682 "401": {
1683 "$ref": "#/components/responses/unauthenticated"
1684 },
1685 "403": {
1686 "$ref": "#/components/responses/forbidden"
1687 },
1688 "404": {
1689 "$ref": "#/components/responses/not_found"
1690 },
1691 "405": {
1692 "$ref": "#/components/responses/method_not_allowed"
1693 },
1694 "409": {
1695 "$ref": "#/components/responses/revision_conflict"
1696 },
1697 "410": {
1698 "$ref": "#/components/responses/cursor_expired"
1699 },
1700 "422": {
1701 "$ref": "#/components/responses/invalid_input"
1702 },
1703 "428": {
1704 "$ref": "#/components/responses/precondition_required"
1705 },
1706 "503": {
1707 "$ref": "#/components/responses/unavailable"
1708 }
1709 },
1710 "x-plan-part": "3a"
1711 },
1712 "patch": {
1713 "operationId": "patch_tasks_id_plan",
1714 "parameters": [
1715 {
1716 "name": "id",
1717 "in": "path",
1718 "required": true,
1719 "schema": {
1720 "type": "string",
1721 "minLength": 1
1722 }
1723 },
1724 {
1725 "name": "Idempotency-Key",
1726 "in": "header",
1727 "required": true,
1728 "schema": {
1729 "type": "string",
1730 "minLength": 1,
1731 "maxLength": 256,
1732 "x-maxBytes": 256
1733 }
1734 },
1735 {
1736 "name": "If-Match",
1737 "in": "header",
1738 "required": true,
1739 "schema": {
1740 "type": "string",
1741 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1742 }
1743 }
1744 ],
1745 "responses": {
1746 "200": {
1747 "description": "OK",
1748 "headers": {
1749 "ETag": {
1750 "schema": {
1751 "type": "string",
1752 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1753 }
1754 },
1755 "Cache-Control": {
1756 "schema": {
1757 "const": "no-store"
1758 }
1759 }
1760 },
1761 "content": {
1762 "application/json": {
1763 "schema": {
1764 "$ref": "#/components/schemas/Plan"
1765 }
1766 }
1767 }
1768 },
1769 "401": {
1770 "$ref": "#/components/responses/unauthenticated"
1771 },
1772 "403": {
1773 "$ref": "#/components/responses/forbidden"
1774 },
1775 "404": {
1776 "$ref": "#/components/responses/not_found"
1777 },
1778 "405": {
1779 "$ref": "#/components/responses/method_not_allowed"
1780 },
1781 "409": {
1782 "$ref": "#/components/responses/revision_conflict"
1783 },
1784 "410": {
1785 "$ref": "#/components/responses/cursor_expired"
1786 },
1787 "422": {
1788 "$ref": "#/components/responses/invalid_input"
1789 },
1790 "428": {
1791 "$ref": "#/components/responses/precondition_required"
1792 },
1793 "503": {
1794 "$ref": "#/components/responses/unavailable"
1795 }
1796 },
1797 "x-plan-part": "3a",
1798 "requestBody": {
1799 "required": true,
1800 "content": {
1801 "application/json": {
1802 "schema": {
1803 "$ref": "#/components/schemas/PlanInput"
1804 }
1805 }
1806 },
1807 "x-maxBytes": 65536,
1808 "x-rejectDuplicateKeys": true,
1809 "x-rejectUnknownFields": true
1810 }
1811 }
1812 },
1813 "/tasks/{id}/plan/approve": {
1814 "post": {
1815 "operationId": "post_tasks_id_plan_approve",
1816 "parameters": [
1817 {
1818 "name": "id",
1819 "in": "path",
1820 "required": true,
1821 "schema": {
1822 "type": "string",
1823 "minLength": 1
1824 }
1825 },
1826 {
1827 "name": "Idempotency-Key",
1828 "in": "header",
1829 "required": true,
1830 "schema": {
1831 "type": "string",
1832 "minLength": 1,
1833 "maxLength": 256,
1834 "x-maxBytes": 256
1835 }
1836 },
1837 {
1838 "name": "If-Match",
1839 "in": "header",
1840 "required": true,
1841 "schema": {
1842 "type": "string",
1843 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1844 }
1845 }
1846 ],
1847 "responses": {
1848 "200": {
1849 "description": "OK",
1850 "headers": {
1851 "ETag": {
1852 "schema": {
1853 "type": "string",
1854 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1855 }
1856 },
1857 "Cache-Control": {
1858 "schema": {
1859 "const": "no-store"
1860 }
1861 }
1862 },
1863 "content": {
1864 "application/json": {
1865 "schema": {
1866 "$ref": "#/components/schemas/PersonAPITask"
1867 }
1868 }
1869 }
1870 },
1871 "401": {
1872 "$ref": "#/components/responses/unauthenticated"
1873 },
1874 "403": {
1875 "$ref": "#/components/responses/forbidden"
1876 },
1877 "404": {
1878 "$ref": "#/components/responses/not_found"
1879 },
1880 "405": {
1881 "$ref": "#/components/responses/method_not_allowed"
1882 },
1883 "409": {
1884 "$ref": "#/components/responses/revision_conflict"
1885 },
1886 "410": {
1887 "$ref": "#/components/responses/cursor_expired"
1888 },
1889 "422": {
1890 "$ref": "#/components/responses/invalid_input"
1891 },
1892 "428": {
1893 "$ref": "#/components/responses/precondition_required"
1894 },
1895 "503": {
1896 "$ref": "#/components/responses/unavailable"
1897 }
1898 },
1899 "x-plan-part": "3a",
1900 "requestBody": {
1901 "required": true,
1902 "content": {
1903 "application/json": {
1904 "schema": {
1905 "$ref": "#/components/schemas/Empty"
1906 }
1907 }
1908 },
1909 "x-maxBytes": 65536,
1910 "x-rejectDuplicateKeys": true,
1911 "x-rejectUnknownFields": true
1912 }
1913 }
1914 },
1915 "/tasks/{id}/project": {
1916 "post": {
1917 "operationId": "post_tasks_id_project",
1918 "parameters": [
1919 {
1920 "name": "id",
1921 "in": "path",
1922 "required": true,
1923 "schema": {
1924 "type": "string",
1925 "minLength": 1
1926 }
1927 },
1928 {
1929 "name": "Idempotency-Key",
1930 "in": "header",
1931 "required": true,
1932 "schema": {
1933 "type": "string",
1934 "minLength": 1,
1935 "maxLength": 256,
1936 "x-maxBytes": 256
1937 }
1938 },
1939 {
1940 "name": "If-Match",
1941 "in": "header",
1942 "required": true,
1943 "schema": {
1944 "type": "string",
1945 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1946 }
1947 }
1948 ],
1949 "responses": {
1950 "200": {
1951 "description": "OK",
1952 "headers": {
1953 "ETag": {
1954 "schema": {
1955 "type": "string",
1956 "pattern": "^\"(0|[1-9][0-9]*)\"$"
1957 }
1958 },
1959 "Cache-Control": {
1960 "schema": {
1961 "const": "no-store"
1962 }
1963 }
1964 },
1965 "content": {
1966 "application/json": {
1967 "schema": {
1968 "$ref": "#/components/schemas/PersonAPITask"
1969 }
1970 }
1971 }
1972 },
1973 "401": {
1974 "$ref": "#/components/responses/unauthenticated"
1975 },
1976 "403": {
1977 "$ref": "#/components/responses/forbidden"
1978 },
1979 "404": {
1980 "$ref": "#/components/responses/not_found"
1981 },
1982 "405": {
1983 "$ref": "#/components/responses/method_not_allowed"
1984 },
1985 "409": {
1986 "$ref": "#/components/responses/revision_conflict"
1987 },
1988 "410": {
1989 "$ref": "#/components/responses/cursor_expired"
1990 },
1991 "422": {
1992 "$ref": "#/components/responses/invalid_input"
1993 },
1994 "428": {
1995 "$ref": "#/components/responses/precondition_required"
1996 },
1997 "503": {
1998 "$ref": "#/components/responses/unavailable"
1999 }
2000 },
2001 "x-plan-part": "3a",
2002 "requestBody": {
2003 "required": true,
2004 "content": {
2005 "application/json": {
2006 "schema": {
2007 "$ref": "#/components/schemas/ProjectInput"
2008 }
2009 }
2010 },
2011 "x-maxBytes": 65536,
2012 "x-rejectDuplicateKeys": true,
2013 "x-rejectUnknownFields": true
2014 }
2015 }
2016 },
2017 "/questions/{id}": {
2018 "get": {
2019 "operationId": "get_questions_id",
2020 "summary": "Read a question about a task",
2021 "description": "Question ids from this API start with `q_`. Any other id gets the earlier person API's answer in `x-earlierPersonAPI`, with a bearer or a browser session. A browser session asking for a `q_` id is 401 `unauthenticated`.",
2022 "security": [
2023 {
2024 "personBearer": []
2025 }
2026 ],
2027 "parameters": [
2028 {
2029 "name": "id",
2030 "in": "path",
2031 "required": true,
2032 "schema": {
2033 "type": "string",
2034 "minLength": 1
2035 }
2036 }
2037 ],
2038 "responses": {
2039 "200": {
2040 "description": "OK",
2041 "headers": {
2042 "Cache-Control": {
2043 "schema": {
2044 "const": "no-store"
2045 }
2046 }
2047 },
2048 "content": {
2049 "application/json": {
2050 "schema": {
2051 "$ref": "#/components/schemas/Question"
2052 }
2053 }
2054 }
2055 },
2056 "401": {
2057 "$ref": "#/components/responses/unauthenticated"
2058 },
2059 "default": {
2060 "description": "An error, with one of the codes in `Error`",
2061 "headers": {
2062 "Cache-Control": {
2063 "schema": {
2064 "const": "no-store"
2065 }
2066 }
2067 },
2068 "content": {
2069 "application/json": {
2070 "schema": {
2071 "$ref": "#/components/schemas/Error"
2072 }
2073 }
2074 }
2075 }
2076 },
2077 "x-earlierPersonAPI": {
2078 "servedWhen": "The id does not start with `q_`.",
2079 "operation": {
2080 "operationId": "get_questions_id",
2081 "parameters": [
2082 {
2083 "name": "id",
2084 "in": "path",
2085 "required": true,
2086 "schema": {
2087 "type": "string",
2088 "minLength": 1
2089 }
2090 }
2091 ],
2092 "responses": {
2093 "200": {
2094 "description": "OK",
2095 "headers": {
2096 "ETag": {
2097 "schema": {
2098 "type": "string",
2099 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2100 }
2101 },
2102 "Cache-Control": {
2103 "schema": {
2104 "const": "no-store"
2105 }
2106 }
2107 },
2108 "content": {
2109 "application/json": {
2110 "schema": {
2111 "$ref": "#/components/schemas/PersonAPIQuestion"
2112 }
2113 }
2114 }
2115 },
2116 "401": {
2117 "$ref": "#/components/responses/unauthenticated"
2118 },
2119 "403": {
2120 "$ref": "#/components/responses/forbidden"
2121 },
2122 "404": {
2123 "$ref": "#/components/responses/not_found"
2124 },
2125 "405": {
2126 "$ref": "#/components/responses/method_not_allowed"
2127 },
2128 "409": {
2129 "$ref": "#/components/responses/revision_conflict"
2130 },
2131 "410": {
2132 "$ref": "#/components/responses/cursor_expired"
2133 },
2134 "422": {
2135 "$ref": "#/components/responses/invalid_input"
2136 },
2137 "428": {
2138 "$ref": "#/components/responses/precondition_required"
2139 },
2140 "503": {
2141 "$ref": "#/components/responses/unavailable"
2142 }
2143 },
2144 "x-plan-part": "3a"
2145 }
2146 }
2147 }
2148 },
2149 "/questions/{id}/answer": {
2150 "post": {
2151 "operationId": "post_questions_id_answer",
2152 "parameters": [
2153 {
2154 "name": "id",
2155 "in": "path",
2156 "required": true,
2157 "schema": {
2158 "type": "string",
2159 "minLength": 1
2160 }
2161 },
2162 {
2163 "name": "Idempotency-Key",
2164 "in": "header",
2165 "required": true,
2166 "schema": {
2167 "type": "string",
2168 "minLength": 1,
2169 "maxLength": 256,
2170 "x-maxBytes": 256
2171 }
2172 },
2173 {
2174 "name": "If-Match",
2175 "in": "header",
2176 "required": true,
2177 "schema": {
2178 "type": "string",
2179 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2180 }
2181 }
2182 ],
2183 "responses": {
2184 "200": {
2185 "description": "OK",
2186 "headers": {
2187 "ETag": {
2188 "schema": {
2189 "type": "string",
2190 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2191 }
2192 },
2193 "Cache-Control": {
2194 "schema": {
2195 "const": "no-store"
2196 }
2197 }
2198 },
2199 "content": {
2200 "application/json": {
2201 "schema": {
2202 "$ref": "#/components/schemas/Ack"
2203 }
2204 }
2205 }
2206 },
2207 "401": {
2208 "$ref": "#/components/responses/unauthenticated"
2209 },
2210 "403": {
2211 "$ref": "#/components/responses/forbidden"
2212 },
2213 "404": {
2214 "$ref": "#/components/responses/not_found"
2215 },
2216 "405": {
2217 "$ref": "#/components/responses/method_not_allowed"
2218 },
2219 "409": {
2220 "$ref": "#/components/responses/revision_conflict"
2221 },
2222 "410": {
2223 "$ref": "#/components/responses/cursor_expired"
2224 },
2225 "422": {
2226 "$ref": "#/components/responses/invalid_input"
2227 },
2228 "428": {
2229 "$ref": "#/components/responses/precondition_required"
2230 },
2231 "503": {
2232 "$ref": "#/components/responses/unavailable"
2233 }
2234 },
2235 "x-plan-part": "3a",
2236 "requestBody": {
2237 "required": true,
2238 "content": {
2239 "application/json": {
2240 "schema": {
2241 "$ref": "#/components/schemas/AnswerInput"
2242 }
2243 }
2244 },
2245 "x-maxBytes": 65536,
2246 "x-rejectDuplicateKeys": true,
2247 "x-rejectUnknownFields": true
2248 }
2249 }
2250 },
2251 "/tasks/{id}/rendered-approval": {
2252 "post": {
2253 "operationId": "post_tasks_id_rendered_approval",
2254 "parameters": [
2255 {
2256 "name": "id",
2257 "in": "path",
2258 "required": true,
2259 "schema": {
2260 "type": "string",
2261 "minLength": 1
2262 }
2263 },
2264 {
2265 "name": "Idempotency-Key",
2266 "in": "header",
2267 "required": true,
2268 "schema": {
2269 "type": "string",
2270 "minLength": 1,
2271 "maxLength": 256,
2272 "x-maxBytes": 256
2273 }
2274 },
2275 {
2276 "name": "If-Match",
2277 "in": "header",
2278 "required": true,
2279 "schema": {
2280 "type": "string",
2281 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2282 }
2283 }
2284 ],
2285 "responses": {
2286 "200": {
2287 "description": "OK",
2288 "headers": {
2289 "ETag": {
2290 "schema": {
2291 "type": "string",
2292 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2293 }
2294 },
2295 "Cache-Control": {
2296 "schema": {
2297 "const": "no-store"
2298 }
2299 }
2300 },
2301 "content": {
2302 "application/json": {
2303 "schema": {
2304 "$ref": "#/components/schemas/Ack"
2305 }
2306 }
2307 }
2308 },
2309 "401": {
2310 "$ref": "#/components/responses/unauthenticated"
2311 },
2312 "403": {
2313 "$ref": "#/components/responses/forbidden"
2314 },
2315 "404": {
2316 "$ref": "#/components/responses/not_found"
2317 },
2318 "405": {
2319 "$ref": "#/components/responses/method_not_allowed"
2320 },
2321 "409": {
2322 "$ref": "#/components/responses/revision_conflict"
2323 },
2324 "410": {
2325 "$ref": "#/components/responses/cursor_expired"
2326 },
2327 "422": {
2328 "$ref": "#/components/responses/invalid_input"
2329 },
2330 "428": {
2331 "$ref": "#/components/responses/precondition_required"
2332 },
2333 "503": {
2334 "$ref": "#/components/responses/unavailable"
2335 }
2336 },
2337 "x-plan-part": "3a",
2338 "requestBody": {
2339 "required": true,
2340 "content": {
2341 "application/json": {
2342 "schema": {
2343 "$ref": "#/components/schemas/RenderedInput"
2344 }
2345 }
2346 },
2347 "x-maxBytes": 65536,
2348 "x-rejectDuplicateKeys": true,
2349 "x-rejectUnknownFields": true
2350 }
2351 }
2352 },
2353 "/tasks/{id}/acknowledge-merge": {
2354 "post": {
2355 "operationId": "post_tasks_id_acknowledge_merge",
2356 "parameters": [
2357 {
2358 "name": "id",
2359 "in": "path",
2360 "required": true,
2361 "schema": {
2362 "type": "string",
2363 "minLength": 1
2364 }
2365 },
2366 {
2367 "name": "Idempotency-Key",
2368 "in": "header",
2369 "required": true,
2370 "schema": {
2371 "type": "string",
2372 "minLength": 1,
2373 "maxLength": 256,
2374 "x-maxBytes": 256
2375 }
2376 },
2377 {
2378 "name": "If-Match",
2379 "in": "header",
2380 "required": true,
2381 "schema": {
2382 "type": "string",
2383 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2384 }
2385 }
2386 ],
2387 "responses": {
2388 "200": {
2389 "description": "OK",
2390 "headers": {
2391 "ETag": {
2392 "schema": {
2393 "type": "string",
2394 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2395 }
2396 },
2397 "Cache-Control": {
2398 "schema": {
2399 "const": "no-store"
2400 }
2401 }
2402 },
2403 "content": {
2404 "application/json": {
2405 "schema": {
2406 "$ref": "#/components/schemas/Ack"
2407 }
2408 }
2409 }
2410 },
2411 "401": {
2412 "$ref": "#/components/responses/unauthenticated"
2413 },
2414 "403": {
2415 "$ref": "#/components/responses/forbidden"
2416 },
2417 "404": {
2418 "$ref": "#/components/responses/not_found"
2419 },
2420 "405": {
2421 "$ref": "#/components/responses/method_not_allowed"
2422 },
2423 "409": {
2424 "$ref": "#/components/responses/revision_conflict"
2425 },
2426 "410": {
2427 "$ref": "#/components/responses/cursor_expired"
2428 },
2429 "422": {
2430 "$ref": "#/components/responses/invalid_input"
2431 },
2432 "428": {
2433 "$ref": "#/components/responses/precondition_required"
2434 },
2435 "503": {
2436 "$ref": "#/components/responses/unavailable"
2437 }
2438 },
2439 "x-plan-part": "3a",
2440 "requestBody": {
2441 "required": true,
2442 "content": {
2443 "application/json": {
2444 "schema": {
2445 "$ref": "#/components/schemas/MergeInput"
2446 }
2447 }
2448 },
2449 "x-maxBytes": 65536,
2450 "x-rejectDuplicateKeys": true,
2451 "x-rejectUnknownFields": true
2452 }
2453 }
2454 },
2455 "/journey": {
2456 "get": {
2457 "operationId": "get_journey",
2458 "parameters": [
2459 {
2460 "name": "cursor",
2461 "in": "query",
2462 "schema": {
2463 "type": "string"
2464 }
2465 },
2466 {
2467 "name": "limit",
2468 "in": "query",
2469 "schema": {
2470 "type": "integer",
2471 "minimum": 1,
2472 "maximum": 100,
2473 "default": 50
2474 }
2475 }
2476 ],
2477 "responses": {
2478 "200": {
2479 "description": "OK",
2480 "headers": {
2481 "ETag": {
2482 "schema": {
2483 "type": "string",
2484 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2485 }
2486 },
2487 "Cache-Control": {
2488 "schema": {
2489 "const": "no-store"
2490 }
2491 }
2492 },
2493 "content": {
2494 "application/json": {
2495 "schema": {
2496 "$ref": "#/components/schemas/TaskPage"
2497 }
2498 }
2499 }
2500 },
2501 "401": {
2502 "$ref": "#/components/responses/unauthenticated"
2503 },
2504 "403": {
2505 "$ref": "#/components/responses/forbidden"
2506 },
2507 "404": {
2508 "$ref": "#/components/responses/not_found"
2509 },
2510 "405": {
2511 "$ref": "#/components/responses/method_not_allowed"
2512 },
2513 "409": {
2514 "$ref": "#/components/responses/revision_conflict"
2515 },
2516 "410": {
2517 "$ref": "#/components/responses/cursor_expired"
2518 },
2519 "422": {
2520 "$ref": "#/components/responses/invalid_input"
2521 },
2522 "428": {
2523 "$ref": "#/components/responses/precondition_required"
2524 },
2525 "503": {
2526 "$ref": "#/components/responses/unavailable"
2527 }
2528 },
2529 "x-plan-part": "3a"
2530 }
2531 },
2532 "/needs-you": {
2533 "get": {
2534 "operationId": "get_needs_you",
2535 "summary": "Read the tasks that need you",
2536 "description": "A request without an `Authorization` header, that is a browser session, gets the earlier person API's answer in `x-earlierPersonAPI`.",
2537 "security": [
2538 {
2539 "personBearer": []
2540 }
2541 ],
2542 "parameters": [],
2543 "responses": {
2544 "200": {
2545 "description": "OK",
2546 "headers": {
2547 "Cache-Control": {
2548 "schema": {
2549 "const": "no-store"
2550 }
2551 }
2552 },
2553 "content": {
2554 "application/json": {
2555 "schema": {
2556 "$ref": "#/components/schemas/TaskList"
2557 }
2558 }
2559 }
2560 },
2561 "401": {
2562 "$ref": "#/components/responses/unauthenticated"
2563 },
2564 "default": {
2565 "description": "An error, with one of the codes in `Error`",
2566 "headers": {
2567 "Cache-Control": {
2568 "schema": {
2569 "const": "no-store"
2570 }
2571 }
2572 },
2573 "content": {
2574 "application/json": {
2575 "schema": {
2576 "$ref": "#/components/schemas/Error"
2577 }
2578 }
2579 }
2580 }
2581 },
2582 "x-earlierPersonAPI": {
2583 "servedWhen": "The request has no `Authorization` header: a browser session.",
2584 "operation": {
2585 "operationId": "get_needs_you",
2586 "parameters": [
2587 {
2588 "name": "cursor",
2589 "in": "query",
2590 "schema": {
2591 "type": "string"
2592 }
2593 },
2594 {
2595 "name": "limit",
2596 "in": "query",
2597 "schema": {
2598 "type": "integer",
2599 "minimum": 1,
2600 "maximum": 100,
2601 "default": 50
2602 }
2603 }
2604 ],
2605 "responses": {
2606 "200": {
2607 "description": "OK",
2608 "headers": {
2609 "ETag": {
2610 "schema": {
2611 "type": "string",
2612 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2613 }
2614 },
2615 "Cache-Control": {
2616 "schema": {
2617 "const": "no-store"
2618 }
2619 }
2620 },
2621 "content": {
2622 "application/json": {
2623 "schema": {
2624 "$ref": "#/components/schemas/TaskPage"
2625 }
2626 }
2627 }
2628 },
2629 "401": {
2630 "$ref": "#/components/responses/unauthenticated"
2631 },
2632 "403": {
2633 "$ref": "#/components/responses/forbidden"
2634 },
2635 "404": {
2636 "$ref": "#/components/responses/not_found"
2637 },
2638 "405": {
2639 "$ref": "#/components/responses/method_not_allowed"
2640 },
2641 "409": {
2642 "$ref": "#/components/responses/revision_conflict"
2643 },
2644 "410": {
2645 "$ref": "#/components/responses/cursor_expired"
2646 },
2647 "422": {
2648 "$ref": "#/components/responses/invalid_input"
2649 },
2650 "428": {
2651 "$ref": "#/components/responses/precondition_required"
2652 },
2653 "503": {
2654 "$ref": "#/components/responses/unavailable"
2655 }
2656 },
2657 "x-plan-part": "3a"
2658 }
2659 }
2660 }
2661 },
2662 "/preferences": {
2663 "get": {
2664 "operationId": "get_preferences",
2665 "parameters": [
2666 {
2667 "name": "cursor",
2668 "in": "query",
2669 "schema": {
2670 "type": "string"
2671 }
2672 },
2673 {
2674 "name": "limit",
2675 "in": "query",
2676 "schema": {
2677 "type": "integer",
2678 "minimum": 1,
2679 "maximum": 100,
2680 "default": 50
2681 }
2682 }
2683 ],
2684 "responses": {
2685 "200": {
2686 "description": "OK",
2687 "headers": {
2688 "ETag": {
2689 "schema": {
2690 "type": "string",
2691 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2692 }
2693 },
2694 "Cache-Control": {
2695 "schema": {
2696 "const": "no-store"
2697 }
2698 }
2699 },
2700 "content": {
2701 "application/json": {
2702 "schema": {
2703 "$ref": "#/components/schemas/PreferencePage"
2704 }
2705 }
2706 }
2707 },
2708 "401": {
2709 "$ref": "#/components/responses/unauthenticated"
2710 },
2711 "403": {
2712 "$ref": "#/components/responses/forbidden"
2713 },
2714 "404": {
2715 "$ref": "#/components/responses/not_found"
2716 },
2717 "405": {
2718 "$ref": "#/components/responses/method_not_allowed"
2719 },
2720 "409": {
2721 "$ref": "#/components/responses/revision_conflict"
2722 },
2723 "410": {
2724 "$ref": "#/components/responses/cursor_expired"
2725 },
2726 "422": {
2727 "$ref": "#/components/responses/invalid_input"
2728 },
2729 "428": {
2730 "$ref": "#/components/responses/precondition_required"
2731 },
2732 "503": {
2733 "$ref": "#/components/responses/unavailable"
2734 }
2735 },
2736 "x-plan-part": "3a"
2737 },
2738 "post": {
2739 "operationId": "post_preferences",
2740 "parameters": [
2741 {
2742 "name": "Idempotency-Key",
2743 "in": "header",
2744 "required": true,
2745 "schema": {
2746 "type": "string",
2747 "minLength": 1,
2748 "maxLength": 256,
2749 "x-maxBytes": 256
2750 }
2751 },
2752 {
2753 "name": "If-Match",
2754 "in": "header",
2755 "required": false,
2756 "schema": {
2757 "type": "string",
2758 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2759 }
2760 }
2761 ],
2762 "responses": {
2763 "200": {
2764 "description": "OK",
2765 "headers": {
2766 "ETag": {
2767 "schema": {
2768 "type": "string",
2769 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2770 }
2771 },
2772 "Cache-Control": {
2773 "schema": {
2774 "const": "no-store"
2775 }
2776 }
2777 },
2778 "content": {
2779 "application/json": {
2780 "schema": {
2781 "$ref": "#/components/schemas/Preference"
2782 }
2783 }
2784 }
2785 },
2786 "401": {
2787 "$ref": "#/components/responses/unauthenticated"
2788 },
2789 "403": {
2790 "$ref": "#/components/responses/forbidden"
2791 },
2792 "404": {
2793 "$ref": "#/components/responses/not_found"
2794 },
2795 "405": {
2796 "$ref": "#/components/responses/method_not_allowed"
2797 },
2798 "409": {
2799 "$ref": "#/components/responses/revision_conflict"
2800 },
2801 "410": {
2802 "$ref": "#/components/responses/cursor_expired"
2803 },
2804 "422": {
2805 "$ref": "#/components/responses/invalid_input"
2806 },
2807 "428": {
2808 "$ref": "#/components/responses/precondition_required"
2809 },
2810 "503": {
2811 "$ref": "#/components/responses/unavailable"
2812 }
2813 },
2814 "x-plan-part": "3a",
2815 "requestBody": {
2816 "required": true,
2817 "content": {
2818 "application/json": {
2819 "schema": {
2820 "$ref": "#/components/schemas/PreferenceInput"
2821 }
2822 }
2823 },
2824 "x-maxBytes": 65536,
2825 "x-rejectDuplicateKeys": true,
2826 "x-rejectUnknownFields": true
2827 }
2828 }
2829 },
2830 "/preferences/{id}": {
2831 "patch": {
2832 "operationId": "patch_preferences_id",
2833 "parameters": [
2834 {
2835 "name": "id",
2836 "in": "path",
2837 "required": true,
2838 "schema": {
2839 "type": "string",
2840 "minLength": 1
2841 }
2842 },
2843 {
2844 "name": "Idempotency-Key",
2845 "in": "header",
2846 "required": true,
2847 "schema": {
2848 "type": "string",
2849 "minLength": 1,
2850 "maxLength": 256,
2851 "x-maxBytes": 256
2852 }
2853 },
2854 {
2855 "name": "If-Match",
2856 "in": "header",
2857 "required": true,
2858 "schema": {
2859 "type": "string",
2860 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2861 }
2862 }
2863 ],
2864 "responses": {
2865 "200": {
2866 "description": "OK",
2867 "headers": {
2868 "ETag": {
2869 "schema": {
2870 "type": "string",
2871 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2872 }
2873 },
2874 "Cache-Control": {
2875 "schema": {
2876 "const": "no-store"
2877 }
2878 }
2879 },
2880 "content": {
2881 "application/json": {
2882 "schema": {
2883 "$ref": "#/components/schemas/Preference"
2884 }
2885 }
2886 }
2887 },
2888 "401": {
2889 "$ref": "#/components/responses/unauthenticated"
2890 },
2891 "403": {
2892 "$ref": "#/components/responses/forbidden"
2893 },
2894 "404": {
2895 "$ref": "#/components/responses/not_found"
2896 },
2897 "405": {
2898 "$ref": "#/components/responses/method_not_allowed"
2899 },
2900 "409": {
2901 "$ref": "#/components/responses/revision_conflict"
2902 },
2903 "410": {
2904 "$ref": "#/components/responses/cursor_expired"
2905 },
2906 "422": {
2907 "$ref": "#/components/responses/invalid_input"
2908 },
2909 "428": {
2910 "$ref": "#/components/responses/precondition_required"
2911 },
2912 "503": {
2913 "$ref": "#/components/responses/unavailable"
2914 }
2915 },
2916 "x-plan-part": "3a",
2917 "requestBody": {
2918 "required": true,
2919 "content": {
2920 "application/json": {
2921 "schema": {
2922 "$ref": "#/components/schemas/PreferenceInput"
2923 }
2924 }
2925 },
2926 "x-maxBytes": 65536,
2927 "x-rejectDuplicateKeys": true,
2928 "x-rejectUnknownFields": true
2929 }
2930 },
2931 "delete": {
2932 "operationId": "delete_preferences_id",
2933 "parameters": [
2934 {
2935 "name": "id",
2936 "in": "path",
2937 "required": true,
2938 "schema": {
2939 "type": "string",
2940 "minLength": 1
2941 }
2942 },
2943 {
2944 "name": "Idempotency-Key",
2945 "in": "header",
2946 "required": true,
2947 "schema": {
2948 "type": "string",
2949 "minLength": 1,
2950 "maxLength": 256,
2951 "x-maxBytes": 256
2952 }
2953 },
2954 {
2955 "name": "If-Match",
2956 "in": "header",
2957 "required": true,
2958 "schema": {
2959 "type": "string",
2960 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2961 }
2962 }
2963 ],
2964 "responses": {
2965 "200": {
2966 "description": "OK",
2967 "headers": {
2968 "ETag": {
2969 "schema": {
2970 "type": "string",
2971 "pattern": "^\"(0|[1-9][0-9]*)\"$"
2972 }
2973 },
2974 "Cache-Control": {
2975 "schema": {
2976 "const": "no-store"
2977 }
2978 }
2979 },
2980 "content": {
2981 "application/json": {
2982 "schema": {
2983 "$ref": "#/components/schemas/Ack"
2984 }
2985 }
2986 }
2987 },
2988 "401": {
2989 "$ref": "#/components/responses/unauthenticated"
2990 },
2991 "403": {
2992 "$ref": "#/components/responses/forbidden"
2993 },
2994 "404": {
2995 "$ref": "#/components/responses/not_found"
2996 },
2997 "405": {
2998 "$ref": "#/components/responses/method_not_allowed"
2999 },
3000 "409": {
3001 "$ref": "#/components/responses/revision_conflict"
3002 },
3003 "410": {
3004 "$ref": "#/components/responses/cursor_expired"
3005 },
3006 "422": {
3007 "$ref": "#/components/responses/invalid_input"
3008 },
3009 "428": {
3010 "$ref": "#/components/responses/precondition_required"
3011 },
3012 "503": {
3013 "$ref": "#/components/responses/unavailable"
3014 }
3015 },
3016 "x-plan-part": "3a",
3017 "requestBody": {
3018 "required": true,
3019 "content": {
3020 "application/json": {
3021 "schema": {
3022 "$ref": "#/components/schemas/Empty"
3023 }
3024 }
3025 },
3026 "x-maxBytes": 65536,
3027 "x-rejectDuplicateKeys": true,
3028 "x-rejectUnknownFields": true
3029 }
3030 }
3031 },
3032 "/coordinator": {
3033 "get": {
3034 "operationId": "get_coordinator",
3035 "parameters": [],
3036 "responses": {
3037 "200": {
3038 "description": "OK",
3039 "headers": {
3040 "ETag": {
3041 "schema": {
3042 "type": "string",
3043 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3044 }
3045 },
3046 "Cache-Control": {
3047 "schema": {
3048 "const": "no-store"
3049 }
3050 }
3051 },
3052 "content": {
3053 "application/json": {
3054 "schema": {
3055 "$ref": "#/components/schemas/PersonAPICoordinator"
3056 }
3057 }
3058 }
3059 },
3060 "401": {
3061 "$ref": "#/components/responses/unauthenticated"
3062 },
3063 "403": {
3064 "$ref": "#/components/responses/forbidden"
3065 },
3066 "404": {
3067 "$ref": "#/components/responses/not_found"
3068 },
3069 "405": {
3070 "$ref": "#/components/responses/method_not_allowed"
3071 },
3072 "409": {
3073 "$ref": "#/components/responses/revision_conflict"
3074 },
3075 "410": {
3076 "$ref": "#/components/responses/cursor_expired"
3077 },
3078 "422": {
3079 "$ref": "#/components/responses/invalid_input"
3080 },
3081 "428": {
3082 "$ref": "#/components/responses/precondition_required"
3083 },
3084 "503": {
3085 "$ref": "#/components/responses/unavailable"
3086 }
3087 },
3088 "x-plan-part": "3a",
3089 "x-unconfiguredRevision": 0
3090 },
3091 "patch": {
3092 "operationId": "patch_coordinator",
3093 "parameters": [
3094 {
3095 "name": "Idempotency-Key",
3096 "in": "header",
3097 "required": true,
3098 "schema": {
3099 "type": "string",
3100 "minLength": 1,
3101 "maxLength": 256,
3102 "x-maxBytes": 256
3103 }
3104 },
3105 {
3106 "name": "If-Match",
3107 "in": "header",
3108 "required": true,
3109 "schema": {
3110 "type": "string",
3111 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3112 }
3113 }
3114 ],
3115 "responses": {
3116 "200": {
3117 "description": "OK",
3118 "headers": {
3119 "ETag": {
3120 "schema": {
3121 "type": "string",
3122 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3123 }
3124 },
3125 "Cache-Control": {
3126 "schema": {
3127 "const": "no-store"
3128 }
3129 }
3130 },
3131 "content": {
3132 "application/json": {
3133 "schema": {
3134 "$ref": "#/components/schemas/PersonAPICoordinator"
3135 }
3136 }
3137 }
3138 },
3139 "401": {
3140 "$ref": "#/components/responses/unauthenticated"
3141 },
3142 "403": {
3143 "$ref": "#/components/responses/forbidden"
3144 },
3145 "404": {
3146 "$ref": "#/components/responses/not_found"
3147 },
3148 "405": {
3149 "$ref": "#/components/responses/method_not_allowed"
3150 },
3151 "409": {
3152 "$ref": "#/components/responses/revision_conflict"
3153 },
3154 "410": {
3155 "$ref": "#/components/responses/cursor_expired"
3156 },
3157 "422": {
3158 "$ref": "#/components/responses/invalid_input"
3159 },
3160 "428": {
3161 "$ref": "#/components/responses/precondition_required"
3162 },
3163 "503": {
3164 "$ref": "#/components/responses/unavailable"
3165 }
3166 },
3167 "x-plan-part": "3a",
3168 "requestBody": {
3169 "required": true,
3170 "content": {
3171 "application/json": {
3172 "schema": {
3173 "$ref": "#/components/schemas/BindingInput"
3174 }
3175 }
3176 },
3177 "x-maxBytes": 65536,
3178 "x-rejectDuplicateKeys": true,
3179 "x-rejectUnknownFields": true
3180 }
3181 }
3182 },
3183 "/coordinator/reset": {
3184 "post": {
3185 "operationId": "post_coordinator_reset",
3186 "parameters": [
3187 {
3188 "name": "Idempotency-Key",
3189 "in": "header",
3190 "required": true,
3191 "schema": {
3192 "type": "string",
3193 "minLength": 1,
3194 "maxLength": 256,
3195 "x-maxBytes": 256
3196 }
3197 },
3198 {
3199 "name": "If-Match",
3200 "in": "header",
3201 "required": true,
3202 "schema": {
3203 "type": "string",
3204 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3205 }
3206 }
3207 ],
3208 "responses": {
3209 "200": {
3210 "description": "OK",
3211 "headers": {
3212 "ETag": {
3213 "schema": {
3214 "type": "string",
3215 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3216 }
3217 },
3218 "Cache-Control": {
3219 "schema": {
3220 "const": "no-store"
3221 }
3222 }
3223 },
3224 "content": {
3225 "application/json": {
3226 "schema": {
3227 "$ref": "#/components/schemas/PersonAPICoordinator"
3228 }
3229 }
3230 }
3231 },
3232 "401": {
3233 "$ref": "#/components/responses/unauthenticated"
3234 },
3235 "403": {
3236 "$ref": "#/components/responses/forbidden"
3237 },
3238 "404": {
3239 "$ref": "#/components/responses/not_found"
3240 },
3241 "405": {
3242 "$ref": "#/components/responses/method_not_allowed"
3243 },
3244 "409": {
3245 "$ref": "#/components/responses/revision_conflict"
3246 },
3247 "410": {
3248 "$ref": "#/components/responses/cursor_expired"
3249 },
3250 "422": {
3251 "$ref": "#/components/responses/invalid_input"
3252 },
3253 "428": {
3254 "$ref": "#/components/responses/precondition_required"
3255 },
3256 "503": {
3257 "$ref": "#/components/responses/unavailable"
3258 }
3259 },
3260 "x-plan-part": "3a",
3261 "requestBody": {
3262 "required": true,
3263 "content": {
3264 "application/json": {
3265 "schema": {
3266 "$ref": "#/components/schemas/Empty"
3267 }
3268 }
3269 },
3270 "x-maxBytes": 65536,
3271 "x-rejectDuplicateKeys": true,
3272 "x-rejectUnknownFields": true
3273 }
3274 }
3275 },
3276 "/coordinator/retry": {
3277 "post": {
3278 "operationId": "post_coordinator_retry",
3279 "parameters": [
3280 {
3281 "name": "Idempotency-Key",
3282 "in": "header",
3283 "required": true,
3284 "schema": {
3285 "type": "string",
3286 "minLength": 1,
3287 "maxLength": 256,
3288 "x-maxBytes": 256
3289 }
3290 },
3291 {
3292 "name": "If-Match",
3293 "in": "header",
3294 "required": true,
3295 "schema": {
3296 "type": "string",
3297 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3298 }
3299 }
3300 ],
3301 "responses": {
3302 "200": {
3303 "description": "OK",
3304 "headers": {
3305 "ETag": {
3306 "schema": {
3307 "type": "string",
3308 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3309 }
3310 },
3311 "Cache-Control": {
3312 "schema": {
3313 "const": "no-store"
3314 }
3315 }
3316 },
3317 "content": {
3318 "application/json": {
3319 "schema": {
3320 "$ref": "#/components/schemas/PersonAPITurn"
3321 }
3322 }
3323 }
3324 },
3325 "401": {
3326 "$ref": "#/components/responses/unauthenticated"
3327 },
3328 "403": {
3329 "$ref": "#/components/responses/forbidden"
3330 },
3331 "404": {
3332 "$ref": "#/components/responses/not_found"
3333 },
3334 "405": {
3335 "$ref": "#/components/responses/method_not_allowed"
3336 },
3337 "409": {
3338 "$ref": "#/components/responses/revision_conflict"
3339 },
3340 "410": {
3341 "$ref": "#/components/responses/cursor_expired"
3342 },
3343 "422": {
3344 "$ref": "#/components/responses/invalid_input"
3345 },
3346 "428": {
3347 "$ref": "#/components/responses/precondition_required"
3348 },
3349 "503": {
3350 "$ref": "#/components/responses/unavailable"
3351 }
3352 },
3353 "x-plan-part": "3a",
3354 "requestBody": {
3355 "required": true,
3356 "content": {
3357 "application/json": {
3358 "schema": {
3359 "$ref": "#/components/schemas/RetryInput"
3360 }
3361 }
3362 },
3363 "x-maxBytes": 65536,
3364 "x-rejectDuplicateKeys": true,
3365 "x-rejectUnknownFields": true
3366 }
3367 }
3368 },
3369 "/coordinator/limits": {
3370 "patch": {
3371 "operationId": "patch_coordinator_limits",
3372 "parameters": [
3373 {
3374 "name": "Idempotency-Key",
3375 "in": "header",
3376 "required": true,
3377 "schema": {
3378 "type": "string",
3379 "minLength": 1,
3380 "maxLength": 256,
3381 "x-maxBytes": 256
3382 }
3383 },
3384 {
3385 "name": "If-Match",
3386 "in": "header",
3387 "required": true,
3388 "schema": {
3389 "type": "string",
3390 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3391 }
3392 }
3393 ],
3394 "responses": {
3395 "200": {
3396 "description": "OK",
3397 "headers": {
3398 "ETag": {
3399 "schema": {
3400 "type": "string",
3401 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3402 }
3403 },
3404 "Cache-Control": {
3405 "schema": {
3406 "const": "no-store"
3407 }
3408 }
3409 },
3410 "content": {
3411 "application/json": {
3412 "schema": {
3413 "$ref": "#/components/schemas/Ack"
3414 }
3415 }
3416 }
3417 },
3418 "401": {
3419 "$ref": "#/components/responses/unauthenticated"
3420 },
3421 "403": {
3422 "$ref": "#/components/responses/forbidden"
3423 },
3424 "404": {
3425 "$ref": "#/components/responses/not_found"
3426 },
3427 "405": {
3428 "$ref": "#/components/responses/method_not_allowed"
3429 },
3430 "409": {
3431 "$ref": "#/components/responses/revision_conflict"
3432 },
3433 "410": {
3434 "$ref": "#/components/responses/cursor_expired"
3435 },
3436 "422": {
3437 "$ref": "#/components/responses/invalid_input"
3438 },
3439 "428": {
3440 "$ref": "#/components/responses/precondition_required"
3441 },
3442 "503": {
3443 "$ref": "#/components/responses/unavailable"
3444 }
3445 },
3446 "x-plan-part": "3a",
3447 "requestBody": {
3448 "required": true,
3449 "content": {
3450 "application/json": {
3451 "schema": {
3452 "$ref": "#/components/schemas/LimitsInput"
3453 }
3454 }
3455 },
3456 "x-maxBytes": 65536,
3457 "x-rejectDuplicateKeys": true,
3458 "x-rejectUnknownFields": true
3459 }
3460 }
3461 },
3462 "/auth/devices": {
3463 "post": {
3464 "operationId": "post_auth_devices",
3465 "parameters": [
3466 {
3467 "name": "Idempotency-Key",
3468 "in": "header",
3469 "required": true,
3470 "schema": {
3471 "type": "string",
3472 "minLength": 1,
3473 "maxLength": 256,
3474 "x-maxBytes": 256
3475 }
3476 }
3477 ],
3478 "responses": {
3479 "200": {
3480 "description": "OK",
3481 "headers": {
3482 "ETag": {
3483 "schema": {
3484 "type": "string",
3485 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3486 }
3487 },
3488 "Cache-Control": {
3489 "schema": {
3490 "const": "no-store"
3491 }
3492 }
3493 },
3494 "content": {
3495 "application/json": {
3496 "schema": {
3497 "$ref": "#/components/schemas/PersonDeviceChallenge"
3498 }
3499 }
3500 }
3501 },
3502 "401": {
3503 "$ref": "#/components/responses/unauthenticated"
3504 },
3505 "403": {
3506 "$ref": "#/components/responses/forbidden"
3507 },
3508 "404": {
3509 "$ref": "#/components/responses/not_found"
3510 },
3511 "405": {
3512 "$ref": "#/components/responses/method_not_allowed"
3513 },
3514 "409": {
3515 "$ref": "#/components/responses/revision_conflict"
3516 },
3517 "410": {
3518 "description": "device_expired",
3519 "content": {
3520 "application/json": {
3521 "schema": {
3522 "$ref": "#/components/schemas/Error"
3523 }
3524 }
3525 }
3526 },
3527 "422": {
3528 "$ref": "#/components/responses/invalid_input"
3529 },
3530 "428": {
3531 "$ref": "#/components/responses/precondition_required"
3532 },
3533 "503": {
3534 "$ref": "#/components/responses/unavailable"
3535 },
3536 "429": {
3537 "description": "slow_down",
3538 "content": {
3539 "application/json": {
3540 "schema": {
3541 "$ref": "#/components/schemas/Error"
3542 }
3543 }
3544 }
3545 }
3546 },
3547 "x-plan-part": "3b",
3548 "requestBody": {
3549 "required": true,
3550 "content": {
3551 "application/json": {
3552 "schema": {
3553 "$ref": "#/components/schemas/BeginDeviceInput"
3554 }
3555 }
3556 },
3557 "x-maxBytes": 65536,
3558 "x-rejectDuplicateKeys": true,
3559 "x-rejectUnknownFields": true
3560 },
3561 "security": [],
3562 "x-proof-audience": "equipo.person.device.v1"
3563 },
3564 "get": {
3565 "operationId": "get_auth_devices",
3566 "parameters": [
3567 {
3568 "name": "cursor",
3569 "in": "query",
3570 "schema": {
3571 "type": "string"
3572 }
3573 },
3574 {
3575 "name": "limit",
3576 "in": "query",
3577 "schema": {
3578 "type": "integer",
3579 "default": 50,
3580 "minimum": 1,
3581 "maximum": 100
3582 }
3583 }
3584 ],
3585 "responses": {
3586 "200": {
3587 "description": "OK",
3588 "headers": {
3589 "ETag": {
3590 "schema": {
3591 "type": "string",
3592 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3593 }
3594 },
3595 "Cache-Control": {
3596 "schema": {
3597 "const": "no-store"
3598 }
3599 }
3600 },
3601 "content": {
3602 "application/json": {
3603 "schema": {
3604 "$ref": "#/components/schemas/DevicePage"
3605 }
3606 }
3607 }
3608 },
3609 "401": {
3610 "$ref": "#/components/responses/unauthenticated"
3611 },
3612 "403": {
3613 "$ref": "#/components/responses/forbidden"
3614 },
3615 "404": {
3616 "$ref": "#/components/responses/not_found"
3617 },
3618 "405": {
3619 "$ref": "#/components/responses/method_not_allowed"
3620 },
3621 "409": {
3622 "$ref": "#/components/responses/revision_conflict"
3623 },
3624 "410": {
3625 "description": "device_expired",
3626 "content": {
3627 "application/json": {
3628 "schema": {
3629 "$ref": "#/components/schemas/Error"
3630 }
3631 }
3632 }
3633 },
3634 "422": {
3635 "$ref": "#/components/responses/invalid_input"
3636 },
3637 "428": {
3638 "$ref": "#/components/responses/precondition_required"
3639 },
3640 "503": {
3641 "$ref": "#/components/responses/unavailable"
3642 },
3643 "429": {
3644 "description": "slow_down",
3645 "content": {
3646 "application/json": {
3647 "schema": {
3648 "$ref": "#/components/schemas/Error"
3649 }
3650 }
3651 }
3652 }
3653 },
3654 "x-plan-part": "3b"
3655 }
3656 },
3657 "/auth/devices/exchange": {
3658 "post": {
3659 "operationId": "post_auth_devices_exchange",
3660 "parameters": [
3661 {
3662 "name": "Idempotency-Key",
3663 "in": "header",
3664 "required": true,
3665 "schema": {
3666 "type": "string",
3667 "minLength": 1,
3668 "maxLength": 256,
3669 "x-maxBytes": 256
3670 }
3671 }
3672 ],
3673 "responses": {
3674 "200": {
3675 "description": "OK",
3676 "headers": {
3677 "ETag": {
3678 "schema": {
3679 "type": "string",
3680 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3681 }
3682 },
3683 "Cache-Control": {
3684 "schema": {
3685 "const": "no-store"
3686 }
3687 }
3688 },
3689 "content": {
3690 "application/json": {
3691 "schema": {
3692 "$ref": "#/components/schemas/PersonCredential"
3693 }
3694 }
3695 }
3696 },
3697 "401": {
3698 "$ref": "#/components/responses/unauthenticated"
3699 },
3700 "403": {
3701 "$ref": "#/components/responses/forbidden"
3702 },
3703 "404": {
3704 "$ref": "#/components/responses/not_found"
3705 },
3706 "405": {
3707 "$ref": "#/components/responses/method_not_allowed"
3708 },
3709 "409": {
3710 "description": "authorization_pending",
3711 "content": {
3712 "application/json": {
3713 "schema": {
3714 "$ref": "#/components/schemas/Error"
3715 }
3716 }
3717 }
3718 },
3719 "410": {
3720 "description": "device_expired",
3721 "content": {
3722 "application/json": {
3723 "schema": {
3724 "$ref": "#/components/schemas/Error"
3725 }
3726 }
3727 }
3728 },
3729 "422": {
3730 "$ref": "#/components/responses/invalid_input"
3731 },
3732 "428": {
3733 "$ref": "#/components/responses/precondition_required"
3734 },
3735 "503": {
3736 "$ref": "#/components/responses/unavailable"
3737 },
3738 "429": {
3739 "description": "slow_down",
3740 "content": {
3741 "application/json": {
3742 "schema": {
3743 "$ref": "#/components/schemas/Error"
3744 }
3745 }
3746 }
3747 }
3748 },
3749 "x-plan-part": "3b",
3750 "requestBody": {
3751 "required": true,
3752 "content": {
3753 "application/json": {
3754 "schema": {
3755 "$ref": "#/components/schemas/PersonDeviceProof"
3756 }
3757 }
3758 },
3759 "x-maxBytes": 65536,
3760 "x-rejectDuplicateKeys": true,
3761 "x-rejectUnknownFields": true
3762 },
3763 "security": [],
3764 "x-proof-audience": "equipo.person.device.v1"
3765 }
3766 },
3767 "/auth/devices/{id}/approve": {
3768 "post": {
3769 "operationId": "post_auth_devices_id_approve",
3770 "parameters": [
3771 {
3772 "name": "id",
3773 "in": "path",
3774 "required": true,
3775 "schema": {
3776 "type": "string"
3777 }
3778 },
3779 {
3780 "name": "Idempotency-Key",
3781 "in": "header",
3782 "required": true,
3783 "schema": {
3784 "type": "string",
3785 "minLength": 1,
3786 "maxLength": 256,
3787 "x-maxBytes": 256
3788 }
3789 },
3790 {
3791 "name": "If-Match",
3792 "in": "header",
3793 "required": true,
3794 "schema": {
3795 "type": "string",
3796 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3797 }
3798 }
3799 ],
3800 "responses": {
3801 "200": {
3802 "description": "OK",
3803 "headers": {
3804 "ETag": {
3805 "schema": {
3806 "type": "string",
3807 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3808 }
3809 },
3810 "Cache-Control": {
3811 "schema": {
3812 "const": "no-store"
3813 }
3814 }
3815 },
3816 "content": {
3817 "application/json": {
3818 "schema": {
3819 "$ref": "#/components/schemas/Ack"
3820 }
3821 }
3822 }
3823 },
3824 "401": {
3825 "$ref": "#/components/responses/unauthenticated"
3826 },
3827 "403": {
3828 "$ref": "#/components/responses/forbidden"
3829 },
3830 "404": {
3831 "$ref": "#/components/responses/not_found"
3832 },
3833 "405": {
3834 "$ref": "#/components/responses/method_not_allowed"
3835 },
3836 "409": {
3837 "$ref": "#/components/responses/revision_conflict"
3838 },
3839 "410": {
3840 "description": "device_expired",
3841 "content": {
3842 "application/json": {
3843 "schema": {
3844 "$ref": "#/components/schemas/Error"
3845 }
3846 }
3847 }
3848 },
3849 "422": {
3850 "$ref": "#/components/responses/invalid_input"
3851 },
3852 "428": {
3853 "$ref": "#/components/responses/precondition_required"
3854 },
3855 "503": {
3856 "$ref": "#/components/responses/unavailable"
3857 },
3858 "429": {
3859 "description": "slow_down",
3860 "content": {
3861 "application/json": {
3862 "schema": {
3863 "$ref": "#/components/schemas/Error"
3864 }
3865 }
3866 }
3867 }
3868 },
3869 "x-plan-part": "3b",
3870 "requestBody": {
3871 "required": true,
3872 "content": {
3873 "application/json": {
3874 "schema": {
3875 "$ref": "#/components/schemas/ApproveDeviceInput"
3876 }
3877 }
3878 },
3879 "x-maxBytes": 65536,
3880 "x-rejectDuplicateKeys": true,
3881 "x-rejectUnknownFields": true
3882 },
3883 "security": [
3884 {
3885 "browserSession": []
3886 }
3887 ]
3888 }
3889 },
3890 "/auth/devices/{id}": {
3891 "delete": {
3892 "operationId": "delete_auth_devices_id",
3893 "parameters": [
3894 {
3895 "name": "id",
3896 "in": "path",
3897 "required": true,
3898 "schema": {
3899 "type": "string"
3900 }
3901 },
3902 {
3903 "name": "Idempotency-Key",
3904 "in": "header",
3905 "required": true,
3906 "schema": {
3907 "type": "string",
3908 "minLength": 1,
3909 "maxLength": 256,
3910 "x-maxBytes": 256
3911 }
3912 },
3913 {
3914 "name": "If-Match",
3915 "in": "header",
3916 "required": true,
3917 "schema": {
3918 "type": "string",
3919 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3920 }
3921 }
3922 ],
3923 "responses": {
3924 "200": {
3925 "description": "OK",
3926 "headers": {
3927 "ETag": {
3928 "schema": {
3929 "type": "string",
3930 "pattern": "^\"(0|[1-9][0-9]*)\"$"
3931 }
3932 },
3933 "Cache-Control": {
3934 "schema": {
3935 "const": "no-store"
3936 }
3937 }
3938 },
3939 "content": {
3940 "application/json": {
3941 "schema": {
3942 "$ref": "#/components/schemas/Ack"
3943 }
3944 }
3945 }
3946 },
3947 "401": {
3948 "$ref": "#/components/responses/unauthenticated"
3949 },
3950 "403": {
3951 "$ref": "#/components/responses/forbidden"
3952 },
3953 "404": {
3954 "$ref": "#/components/responses/not_found"
3955 },
3956 "405": {
3957 "$ref": "#/components/responses/method_not_allowed"
3958 },
3959 "409": {
3960 "$ref": "#/components/responses/revision_conflict"
3961 },
3962 "410": {
3963 "description": "device_expired",
3964 "content": {
3965 "application/json": {
3966 "schema": {
3967 "$ref": "#/components/schemas/Error"
3968 }
3969 }
3970 }
3971 },
3972 "422": {
3973 "$ref": "#/components/responses/invalid_input"
3974 },
3975 "428": {
3976 "$ref": "#/components/responses/precondition_required"
3977 },
3978 "503": {
3979 "$ref": "#/components/responses/unavailable"
3980 },
3981 "429": {
3982 "description": "slow_down",
3983 "content": {
3984 "application/json": {
3985 "schema": {
3986 "$ref": "#/components/schemas/Error"
3987 }
3988 }
3989 }
3990 }
3991 },
3992 "x-plan-part": "3b",
3993 "requestBody": {
3994 "required": true,
3995 "content": {
3996 "application/json": {
3997 "schema": {
3998 "$ref": "#/components/schemas/Empty"
3999 }
4000 }
4001 },
4002 "x-maxBytes": 65536,
4003 "x-rejectDuplicateKeys": true,
4004 "x-rejectUnknownFields": true
4005 }
4006 }
4007 },
4008 "/roster": {
4009 "get": {
4010 "operationId": "get_roster",
4011 "parameters": [
4012 {
4013 "name": "cursor",
4014 "in": "query",
4015 "schema": {
4016 "type": "string"
4017 }
4018 },
4019 {
4020 "name": "limit",
4021 "in": "query",
4022 "schema": {
4023 "type": "integer",
4024 "default": 50,
4025 "minimum": 1,
4026 "maximum": 100
4027 }
4028 }
4029 ],
4030 "responses": {
4031 "200": {
4032 "description": "OK",
4033 "headers": {
4034 "ETag": {
4035 "schema": {
4036 "type": "string",
4037 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4038 }
4039 },
4040 "Cache-Control": {
4041 "schema": {
4042 "const": "no-store"
4043 }
4044 }
4045 },
4046 "content": {
4047 "application/json": {
4048 "schema": {
4049 "$ref": "#/components/schemas/RosterMemberPage"
4050 }
4051 }
4052 }
4053 },
4054 "401": {
4055 "$ref": "#/components/responses/unauthenticated"
4056 },
4057 "403": {
4058 "$ref": "#/components/responses/forbidden"
4059 },
4060 "404": {
4061 "$ref": "#/components/responses/not_found"
4062 },
4063 "405": {
4064 "$ref": "#/components/responses/method_not_allowed"
4065 },
4066 "409": {
4067 "$ref": "#/components/responses/revision_conflict"
4068 },
4069 "410": {
4070 "$ref": "#/components/responses/cursor_expired"
4071 },
4072 "422": {
4073 "$ref": "#/components/responses/invalid_input"
4074 },
4075 "428": {
4076 "$ref": "#/components/responses/precondition_required"
4077 },
4078 "503": {
4079 "$ref": "#/components/responses/unavailable"
4080 }
4081 },
4082 "x-plan-part": "3b"
4083 }
4084 },
4085 "/roster/{address}": {
4086 "put": {
4087 "operationId": "put_roster_address",
4088 "parameters": [
4089 {
4090 "name": "address",
4091 "in": "path",
4092 "required": true,
4093 "schema": {
4094 "type": "string"
4095 }
4096 },
4097 {
4098 "name": "Idempotency-Key",
4099 "in": "header",
4100 "required": true,
4101 "schema": {
4102 "type": "string",
4103 "minLength": 1,
4104 "maxLength": 256,
4105 "x-maxBytes": 256
4106 }
4107 },
4108 {
4109 "name": "If-Match",
4110 "in": "header",
4111 "required": true,
4112 "schema": {
4113 "type": "string",
4114 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4115 }
4116 }
4117 ],
4118 "responses": {
4119 "200": {
4120 "description": "OK",
4121 "headers": {
4122 "ETag": {
4123 "schema": {
4124 "type": "string",
4125 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4126 }
4127 },
4128 "Cache-Control": {
4129 "schema": {
4130 "const": "no-store"
4131 }
4132 }
4133 },
4134 "content": {
4135 "application/json": {
4136 "schema": {
4137 "$ref": "#/components/schemas/Ack"
4138 }
4139 }
4140 }
4141 },
4142 "401": {
4143 "$ref": "#/components/responses/unauthenticated"
4144 },
4145 "403": {
4146 "$ref": "#/components/responses/forbidden"
4147 },
4148 "404": {
4149 "$ref": "#/components/responses/not_found"
4150 },
4151 "405": {
4152 "$ref": "#/components/responses/method_not_allowed"
4153 },
4154 "409": {
4155 "$ref": "#/components/responses/revision_conflict"
4156 },
4157 "410": {
4158 "$ref": "#/components/responses/cursor_expired"
4159 },
4160 "422": {
4161 "$ref": "#/components/responses/invalid_input"
4162 },
4163 "428": {
4164 "$ref": "#/components/responses/precondition_required"
4165 },
4166 "503": {
4167 "$ref": "#/components/responses/unavailable"
4168 }
4169 },
4170 "x-plan-part": "3b",
4171 "requestBody": {
4172 "required": true,
4173 "content": {
4174 "application/json": {
4175 "schema": {
4176 "$ref": "#/components/schemas/RosterInput"
4177 }
4178 }
4179 },
4180 "x-maxBytes": 65536,
4181 "x-rejectDuplicateKeys": true,
4182 "x-rejectUnknownFields": true
4183 }
4184 }
4185 },
4186 "/budgets": {
4187 "get": {
4188 "operationId": "get_budgets",
4189 "parameters": [],
4190 "responses": {
4191 "200": {
4192 "description": "OK",
4193 "headers": {
4194 "ETag": {
4195 "schema": {
4196 "type": "string",
4197 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4198 }
4199 },
4200 "Cache-Control": {
4201 "schema": {
4202 "const": "no-store"
4203 }
4204 }
4205 },
4206 "content": {
4207 "application/json": {
4208 "schema": {
4209 "$ref": "#/components/schemas/Budgets"
4210 }
4211 }
4212 }
4213 },
4214 "401": {
4215 "$ref": "#/components/responses/unauthenticated"
4216 },
4217 "403": {
4218 "$ref": "#/components/responses/forbidden"
4219 },
4220 "404": {
4221 "$ref": "#/components/responses/not_found"
4222 },
4223 "405": {
4224 "$ref": "#/components/responses/method_not_allowed"
4225 },
4226 "409": {
4227 "$ref": "#/components/responses/revision_conflict"
4228 },
4229 "410": {
4230 "$ref": "#/components/responses/cursor_expired"
4231 },
4232 "422": {
4233 "$ref": "#/components/responses/invalid_input"
4234 },
4235 "428": {
4236 "$ref": "#/components/responses/precondition_required"
4237 },
4238 "503": {
4239 "$ref": "#/components/responses/unavailable"
4240 }
4241 },
4242 "x-plan-part": "3b"
4243 },
4244 "put": {
4245 "operationId": "put_budgets",
4246 "parameters": [
4247 {
4248 "name": "Idempotency-Key",
4249 "in": "header",
4250 "required": true,
4251 "schema": {
4252 "type": "string",
4253 "minLength": 1,
4254 "maxLength": 256,
4255 "x-maxBytes": 256
4256 }
4257 },
4258 {
4259 "name": "If-Match",
4260 "in": "header",
4261 "required": true,
4262 "schema": {
4263 "type": "string",
4264 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4265 }
4266 }
4267 ],
4268 "responses": {
4269 "200": {
4270 "description": "OK",
4271 "headers": {
4272 "ETag": {
4273 "schema": {
4274 "type": "string",
4275 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4276 }
4277 },
4278 "Cache-Control": {
4279 "schema": {
4280 "const": "no-store"
4281 }
4282 }
4283 },
4284 "content": {
4285 "application/json": {
4286 "schema": {
4287 "$ref": "#/components/schemas/Ack"
4288 }
4289 }
4290 }
4291 },
4292 "401": {
4293 "$ref": "#/components/responses/unauthenticated"
4294 },
4295 "403": {
4296 "$ref": "#/components/responses/forbidden"
4297 },
4298 "404": {
4299 "$ref": "#/components/responses/not_found"
4300 },
4301 "405": {
4302 "$ref": "#/components/responses/method_not_allowed"
4303 },
4304 "409": {
4305 "$ref": "#/components/responses/revision_conflict"
4306 },
4307 "410": {
4308 "$ref": "#/components/responses/cursor_expired"
4309 },
4310 "422": {
4311 "$ref": "#/components/responses/invalid_input"
4312 },
4313 "428": {
4314 "$ref": "#/components/responses/precondition_required"
4315 },
4316 "503": {
4317 "$ref": "#/components/responses/unavailable"
4318 }
4319 },
4320 "x-plan-part": "3b",
4321 "requestBody": {
4322 "required": true,
4323 "content": {
4324 "application/json": {
4325 "schema": {
4326 "$ref": "#/components/schemas/BudgetsInput"
4327 }
4328 }
4329 },
4330 "x-maxBytes": 65536,
4331 "x-rejectDuplicateKeys": true,
4332 "x-rejectUnknownFields": true
4333 }
4334 }
4335 },
4336 "/teams": {
4337 "get": {
4338 "operationId": "get_teams",
4339 "parameters": [
4340 {
4341 "name": "cursor",
4342 "in": "query",
4343 "schema": {
4344 "type": "string"
4345 }
4346 },
4347 {
4348 "name": "limit",
4349 "in": "query",
4350 "schema": {
4351 "type": "integer",
4352 "default": 50,
4353 "minimum": 1,
4354 "maximum": 100
4355 }
4356 }
4357 ],
4358 "responses": {
4359 "200": {
4360 "description": "OK",
4361 "headers": {
4362 "ETag": {
4363 "schema": {
4364 "type": "string",
4365 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4366 }
4367 },
4368 "Cache-Control": {
4369 "schema": {
4370 "const": "no-store"
4371 }
4372 }
4373 },
4374 "content": {
4375 "application/json": {
4376 "schema": {
4377 "$ref": "#/components/schemas/TeamLinkPage"
4378 }
4379 }
4380 }
4381 },
4382 "401": {
4383 "$ref": "#/components/responses/unauthenticated"
4384 },
4385 "403": {
4386 "$ref": "#/components/responses/forbidden"
4387 },
4388 "404": {
4389 "$ref": "#/components/responses/not_found"
4390 },
4391 "405": {
4392 "$ref": "#/components/responses/method_not_allowed"
4393 },
4394 "409": {
4395 "$ref": "#/components/responses/revision_conflict"
4396 },
4397 "410": {
4398 "$ref": "#/components/responses/cursor_expired"
4399 },
4400 "422": {
4401 "$ref": "#/components/responses/invalid_input"
4402 },
4403 "428": {
4404 "$ref": "#/components/responses/precondition_required"
4405 },
4406 "503": {
4407 "$ref": "#/components/responses/unavailable"
4408 }
4409 },
4410 "x-plan-part": "3b"
4411 }
4412 },
4413 "/teams/links": {
4414 "post": {
4415 "operationId": "post_teams_links",
4416 "parameters": [
4417 {
4418 "name": "Idempotency-Key",
4419 "in": "header",
4420 "required": true,
4421 "schema": {
4422 "type": "string",
4423 "minLength": 1,
4424 "maxLength": 256,
4425 "x-maxBytes": 256
4426 }
4427 }
4428 ],
4429 "responses": {
4430 "200": {
4431 "description": "OK",
4432 "headers": {
4433 "ETag": {
4434 "schema": {
4435 "type": "string",
4436 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4437 }
4438 },
4439 "Cache-Control": {
4440 "schema": {
4441 "const": "no-store"
4442 }
4443 }
4444 },
4445 "content": {
4446 "application/json": {
4447 "schema": {
4448 "$ref": "#/components/schemas/TeamLink"
4449 }
4450 }
4451 }
4452 },
4453 "401": {
4454 "$ref": "#/components/responses/unauthenticated"
4455 },
4456 "403": {
4457 "$ref": "#/components/responses/forbidden"
4458 },
4459 "404": {
4460 "$ref": "#/components/responses/not_found"
4461 },
4462 "405": {
4463 "$ref": "#/components/responses/method_not_allowed"
4464 },
4465 "409": {
4466 "$ref": "#/components/responses/revision_conflict"
4467 },
4468 "410": {
4469 "$ref": "#/components/responses/cursor_expired"
4470 },
4471 "422": {
4472 "$ref": "#/components/responses/invalid_input"
4473 },
4474 "428": {
4475 "$ref": "#/components/responses/precondition_required"
4476 },
4477 "503": {
4478 "$ref": "#/components/responses/unavailable"
4479 }
4480 },
4481 "x-plan-part": "3b",
4482 "requestBody": {
4483 "required": true,
4484 "content": {
4485 "application/json": {
4486 "schema": {
4487 "$ref": "#/components/schemas/TeamLinkInput"
4488 }
4489 }
4490 },
4491 "x-maxBytes": 65536,
4492 "x-rejectDuplicateKeys": true,
4493 "x-rejectUnknownFields": true
4494 }
4495 }
4496 },
4497 "/teams/links/{id}": {
4498 "patch": {
4499 "operationId": "patch_teams_links_id",
4500 "parameters": [
4501 {
4502 "name": "id",
4503 "in": "path",
4504 "required": true,
4505 "schema": {
4506 "type": "string"
4507 }
4508 },
4509 {
4510 "name": "Idempotency-Key",
4511 "in": "header",
4512 "required": true,
4513 "schema": {
4514 "type": "string",
4515 "minLength": 1,
4516 "maxLength": 256,
4517 "x-maxBytes": 256
4518 }
4519 },
4520 {
4521 "name": "If-Match",
4522 "in": "header",
4523 "required": true,
4524 "schema": {
4525 "type": "string",
4526 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4527 }
4528 }
4529 ],
4530 "responses": {
4531 "200": {
4532 "description": "OK",
4533 "headers": {
4534 "ETag": {
4535 "schema": {
4536 "type": "string",
4537 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4538 }
4539 },
4540 "Cache-Control": {
4541 "schema": {
4542 "const": "no-store"
4543 }
4544 }
4545 },
4546 "content": {
4547 "application/json": {
4548 "schema": {
4549 "$ref": "#/components/schemas/TeamLink"
4550 }
4551 }
4552 }
4553 },
4554 "401": {
4555 "$ref": "#/components/responses/unauthenticated"
4556 },
4557 "403": {
4558 "$ref": "#/components/responses/forbidden"
4559 },
4560 "404": {
4561 "$ref": "#/components/responses/not_found"
4562 },
4563 "405": {
4564 "$ref": "#/components/responses/method_not_allowed"
4565 },
4566 "409": {
4567 "$ref": "#/components/responses/revision_conflict"
4568 },
4569 "410": {
4570 "$ref": "#/components/responses/cursor_expired"
4571 },
4572 "422": {
4573 "$ref": "#/components/responses/invalid_input"
4574 },
4575 "428": {
4576 "$ref": "#/components/responses/precondition_required"
4577 },
4578 "503": {
4579 "$ref": "#/components/responses/unavailable"
4580 }
4581 },
4582 "x-plan-part": "3b",
4583 "requestBody": {
4584 "required": true,
4585 "content": {
4586 "application/json": {
4587 "schema": {
4588 "$ref": "#/components/schemas/TeamLinkInput"
4589 }
4590 }
4591 },
4592 "x-maxBytes": 65536,
4593 "x-rejectDuplicateKeys": true,
4594 "x-rejectUnknownFields": true
4595 }
4596 },
4597 "delete": {
4598 "operationId": "delete_teams_links_id",
4599 "parameters": [
4600 {
4601 "name": "id",
4602 "in": "path",
4603 "required": true,
4604 "schema": {
4605 "type": "string"
4606 }
4607 },
4608 {
4609 "name": "Idempotency-Key",
4610 "in": "header",
4611 "required": true,
4612 "schema": {
4613 "type": "string",
4614 "minLength": 1,
4615 "maxLength": 256,
4616 "x-maxBytes": 256
4617 }
4618 },
4619 {
4620 "name": "If-Match",
4621 "in": "header",
4622 "required": true,
4623 "schema": {
4624 "type": "string",
4625 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4626 }
4627 }
4628 ],
4629 "responses": {
4630 "200": {
4631 "description": "OK",
4632 "headers": {
4633 "ETag": {
4634 "schema": {
4635 "type": "string",
4636 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4637 }
4638 },
4639 "Cache-Control": {
4640 "schema": {
4641 "const": "no-store"
4642 }
4643 }
4644 },
4645 "content": {
4646 "application/json": {
4647 "schema": {
4648 "$ref": "#/components/schemas/Ack"
4649 }
4650 }
4651 }
4652 },
4653 "401": {
4654 "$ref": "#/components/responses/unauthenticated"
4655 },
4656 "403": {
4657 "$ref": "#/components/responses/forbidden"
4658 },
4659 "404": {
4660 "$ref": "#/components/responses/not_found"
4661 },
4662 "405": {
4663 "$ref": "#/components/responses/method_not_allowed"
4664 },
4665 "409": {
4666 "$ref": "#/components/responses/revision_conflict"
4667 },
4668 "410": {
4669 "$ref": "#/components/responses/cursor_expired"
4670 },
4671 "422": {
4672 "$ref": "#/components/responses/invalid_input"
4673 },
4674 "428": {
4675 "$ref": "#/components/responses/precondition_required"
4676 },
4677 "503": {
4678 "$ref": "#/components/responses/unavailable"
4679 }
4680 },
4681 "x-plan-part": "3b",
4682 "requestBody": {
4683 "required": true,
4684 "content": {
4685 "application/json": {
4686 "schema": {
4687 "$ref": "#/components/schemas/Empty"
4688 }
4689 }
4690 },
4691 "x-maxBytes": 65536,
4692 "x-rejectDuplicateKeys": true,
4693 "x-rejectUnknownFields": true
4694 }
4695 }
4696 },
4697 "/accounts": {
4698 "get": {
4699 "operationId": "get_accounts",
4700 "parameters": [
4701 {
4702 "name": "cursor",
4703 "in": "query",
4704 "schema": {
4705 "type": "string"
4706 }
4707 },
4708 {
4709 "name": "limit",
4710 "in": "query",
4711 "schema": {
4712 "type": "integer",
4713 "default": 50,
4714 "minimum": 1,
4715 "maximum": 100
4716 }
4717 }
4718 ],
4719 "responses": {
4720 "200": {
4721 "description": "OK",
4722 "headers": {
4723 "ETag": {
4724 "schema": {
4725 "type": "string",
4726 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4727 }
4728 },
4729 "Cache-Control": {
4730 "schema": {
4731 "const": "no-store"
4732 }
4733 }
4734 },
4735 "content": {
4736 "application/json": {
4737 "schema": {
4738 "$ref": "#/components/schemas/AccountPage"
4739 }
4740 }
4741 }
4742 },
4743 "401": {
4744 "$ref": "#/components/responses/unauthenticated"
4745 },
4746 "403": {
4747 "$ref": "#/components/responses/forbidden"
4748 },
4749 "404": {
4750 "$ref": "#/components/responses/not_found"
4751 },
4752 "405": {
4753 "$ref": "#/components/responses/method_not_allowed"
4754 },
4755 "409": {
4756 "$ref": "#/components/responses/revision_conflict"
4757 },
4758 "410": {
4759 "$ref": "#/components/responses/cursor_expired"
4760 },
4761 "422": {
4762 "$ref": "#/components/responses/invalid_input"
4763 },
4764 "428": {
4765 "$ref": "#/components/responses/precondition_required"
4766 },
4767 "503": {
4768 "$ref": "#/components/responses/unavailable"
4769 }
4770 },
4771 "x-plan-part": "3b"
4772 },
4773 "post": {
4774 "operationId": "post_accounts",
4775 "parameters": [
4776 {
4777 "name": "Idempotency-Key",
4778 "in": "header",
4779 "required": true,
4780 "schema": {
4781 "type": "string",
4782 "minLength": 1,
4783 "maxLength": 256,
4784 "x-maxBytes": 256
4785 }
4786 }
4787 ],
4788 "responses": {
4789 "200": {
4790 "description": "OK",
4791 "headers": {
4792 "ETag": {
4793 "schema": {
4794 "type": "string",
4795 "pattern": "^\"(0|[1-9][0-9]*)\"$"
4796 }
4797 },
4798 "Cache-Control": {
4799 "schema": {
4800 "const": "no-store"
4801 }
4802 }
4803 },
4804 "content": {
4805 "application/json": {
4806 "schema": {
4807 "$ref": "#/components/schemas/Account"
4808 }
4809 }
4810 }
4811 },
4812 "401": {
4813 "$ref": "#/components/responses/unauthenticated"
4814 },
4815 "403": {
4816 "$ref": "#/components/responses/forbidden"
4817 },
4818 "404": {
4819 "$ref": "#/components/responses/not_found"
4820 },
4821 "405": {
4822 "$ref": "#/components/responses/method_not_allowed"
4823 },
4824 "409": {
4825 "$ref": "#/components/responses/revision_conflict"
4826 },
4827 "410": {
4828 "$ref": "#/components/responses/cursor_expired"
4829 },
4830 "422": {
4831 "$ref": "#/components/responses/invalid_input"
4832 },
4833 "428": {
4834 "$ref": "#/components/responses/precondition_required"
4835 },
4836 "503": {
4837 "$ref": "#/components/responses/unavailable"
4838 }
4839 },
4840 "x-plan-part": "3b",
4841 "requestBody": {
4842 "required": true,
4843 "content": {
4844 "application/json": {
4845 "schema": {
4846 "$ref": "#/components/schemas/LabelInput"
4847 }
4848 }
4849 },
4850 "x-maxBytes": 65536,
4851 "x-rejectDuplicateKeys": true,
4852 "x-rejectUnknownFields": true
4853 }
4854 }
4855 },
4856 "/projects": {
4857 "get": {
4858 "operationId": "get_projects",
4859 "summary": "Read the team's projects",
4860 "description": "With `allowed`, the repositories your runner lets you add, and `home`, where new projects go. This route answers a device bearer only: without an `Authorization` header it is 401 `unauthenticated`.",
4861 "security": [
4862 {
4863 "personBearer": []
4864 }
4865 ],
4866 "parameters": [],
4867 "responses": {
4868 "200": {
4869 "description": "OK",
4870 "headers": {
4871 "Cache-Control": {
4872 "schema": {
4873 "const": "no-store"
4874 }
4875 }
4876 },
4877 "content": {
4878 "application/json": {
4879 "schema": {
4880 "$ref": "#/components/schemas/ProjectList"
4881 }
4882 }
4883 }
4884 },
4885 "401": {
4886 "$ref": "#/components/responses/unauthenticated"
4887 },
4888 "default": {
4889 "description": "An error, with one of the codes in `Error`",
4890 "headers": {
4891 "Cache-Control": {
4892 "schema": {
4893 "const": "no-store"
4894 }
4895 }
4896 },
4897 "content": {
4898 "application/json": {
4899 "schema": {
4900 "$ref": "#/components/schemas/Error"
4901 }
4902 }
4903 }
4904 }
4905 }
4906 },
4907 "post": {
4908 "operationId": "post_projects",
4909 "summary": "Add a repository as a project",
4910 "description": "201 for a new project, 200 when it was already one. A repository outside your runner's allowlist is 422 `repo_not_allowed`. This route answers a device bearer only.",
4911 "security": [
4912 {
4913 "personBearer": []
4914 }
4915 ],
4916 "parameters": [],
4917 "responses": {
4918 "201": {
4919 "description": "Created",
4920 "headers": {
4921 "Cache-Control": {
4922 "schema": {
4923 "const": "no-store"
4924 }
4925 }
4926 },
4927 "content": {
4928 "application/json": {
4929 "schema": {
4930 "$ref": "#/components/schemas/Project"
4931 }
4932 }
4933 }
4934 },
4935 "200": {
4936 "description": "OK",
4937 "headers": {
4938 "Cache-Control": {
4939 "schema": {
4940 "const": "no-store"
4941 }
4942 }
4943 },
4944 "content": {
4945 "application/json": {
4946 "schema": {
4947 "$ref": "#/components/schemas/Project"
4948 }
4949 }
4950 }
4951 },
4952 "401": {
4953 "$ref": "#/components/responses/unauthenticated"
4954 },
4955 "default": {
4956 "description": "An error, with one of the codes in `Error`",
4957 "headers": {
4958 "Cache-Control": {
4959 "schema": {
4960 "const": "no-store"
4961 }
4962 }
4963 },
4964 "content": {
4965 "application/json": {
4966 "schema": {
4967 "$ref": "#/components/schemas/Error"
4968 }
4969 }
4970 }
4971 }
4972 },
4973 "requestBody": {
4974 "required": true,
4975 "content": {
4976 "application/json": {
4977 "schema": {
4978 "$ref": "#/components/schemas/AddProject"
4979 }
4980 }
4981 },
4982 "x-maxBytes": 32768,
4983 "x-rejectUnknownFields": true
4984 }
4985 }
4986 },
4987 "/projects/{id}": {
4988 "get": {
4989 "operationId": "get_projects_id",
4990 "parameters": [
4991 {
4992 "name": "id",
4993 "in": "path",
4994 "required": true,
4995 "schema": {
4996 "type": "string"
4997 }
4998 }
4999 ],
5000 "responses": {
5001 "200": {
5002 "description": "OK",
5003 "headers": {
5004 "ETag": {
5005 "schema": {
5006 "type": "string",
5007 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5008 }
5009 },
5010 "Cache-Control": {
5011 "schema": {
5012 "const": "no-store"
5013 }
5014 }
5015 },
5016 "content": {
5017 "application/json": {
5018 "schema": {
5019 "$ref": "#/components/schemas/PersonAPIProject"
5020 }
5021 }
5022 }
5023 },
5024 "401": {
5025 "$ref": "#/components/responses/unauthenticated"
5026 },
5027 "403": {
5028 "$ref": "#/components/responses/forbidden"
5029 },
5030 "404": {
5031 "$ref": "#/components/responses/not_found"
5032 },
5033 "405": {
5034 "$ref": "#/components/responses/method_not_allowed"
5035 },
5036 "409": {
5037 "$ref": "#/components/responses/revision_conflict"
5038 },
5039 "410": {
5040 "$ref": "#/components/responses/cursor_expired"
5041 },
5042 "422": {
5043 "$ref": "#/components/responses/invalid_input"
5044 },
5045 "428": {
5046 "$ref": "#/components/responses/precondition_required"
5047 },
5048 "503": {
5049 "$ref": "#/components/responses/unavailable"
5050 }
5051 },
5052 "x-plan-part": "3b"
5053 },
5054 "patch": {
5055 "operationId": "patch_projects_id",
5056 "parameters": [
5057 {
5058 "name": "id",
5059 "in": "path",
5060 "required": true,
5061 "schema": {
5062 "type": "string"
5063 }
5064 },
5065 {
5066 "name": "Idempotency-Key",
5067 "in": "header",
5068 "required": true,
5069 "schema": {
5070 "type": "string",
5071 "minLength": 1,
5072 "maxLength": 256,
5073 "x-maxBytes": 256
5074 }
5075 },
5076 {
5077 "name": "If-Match",
5078 "in": "header",
5079 "required": true,
5080 "schema": {
5081 "type": "string",
5082 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5083 }
5084 }
5085 ],
5086 "responses": {
5087 "200": {
5088 "description": "OK",
5089 "headers": {
5090 "ETag": {
5091 "schema": {
5092 "type": "string",
5093 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5094 }
5095 },
5096 "Cache-Control": {
5097 "schema": {
5098 "const": "no-store"
5099 }
5100 }
5101 },
5102 "content": {
5103 "application/json": {
5104 "schema": {
5105 "$ref": "#/components/schemas/PersonAPIProject"
5106 }
5107 }
5108 }
5109 },
5110 "401": {
5111 "$ref": "#/components/responses/unauthenticated"
5112 },
5113 "403": {
5114 "$ref": "#/components/responses/forbidden"
5115 },
5116 "404": {
5117 "$ref": "#/components/responses/not_found"
5118 },
5119 "405": {
5120 "$ref": "#/components/responses/method_not_allowed"
5121 },
5122 "409": {
5123 "$ref": "#/components/responses/revision_conflict"
5124 },
5125 "410": {
5126 "$ref": "#/components/responses/cursor_expired"
5127 },
5128 "422": {
5129 "$ref": "#/components/responses/invalid_input"
5130 },
5131 "428": {
5132 "$ref": "#/components/responses/precondition_required"
5133 },
5134 "503": {
5135 "$ref": "#/components/responses/unavailable"
5136 }
5137 },
5138 "x-plan-part": "3b",
5139 "requestBody": {
5140 "required": true,
5141 "content": {
5142 "application/json": {
5143 "schema": {
5144 "$ref": "#/components/schemas/ProjectFields"
5145 }
5146 }
5147 },
5148 "x-maxBytes": 65536,
5149 "x-rejectDuplicateKeys": true,
5150 "x-rejectUnknownFields": true
5151 }
5152 },
5153 "delete": {
5154 "operationId": "delete_projects_id",
5155 "summary": "Remove a project",
5156 "description": "200 with the project, its `state` now `removed`.",
5157 "security": [
5158 {
5159 "personBearer": []
5160 }
5161 ],
5162 "parameters": [
5163 {
5164 "name": "id",
5165 "in": "path",
5166 "required": true,
5167 "schema": {
5168 "type": "string",
5169 "minLength": 1
5170 }
5171 }
5172 ],
5173 "responses": {
5174 "200": {
5175 "description": "OK",
5176 "headers": {
5177 "Cache-Control": {
5178 "schema": {
5179 "const": "no-store"
5180 }
5181 }
5182 },
5183 "content": {
5184 "application/json": {
5185 "schema": {
5186 "$ref": "#/components/schemas/Project"
5187 }
5188 }
5189 }
5190 },
5191 "401": {
5192 "$ref": "#/components/responses/unauthenticated"
5193 },
5194 "default": {
5195 "description": "An error, with one of the codes in `Error`",
5196 "headers": {
5197 "Cache-Control": {
5198 "schema": {
5199 "const": "no-store"
5200 }
5201 }
5202 },
5203 "content": {
5204 "application/json": {
5205 "schema": {
5206 "$ref": "#/components/schemas/Error"
5207 }
5208 }
5209 }
5210 }
5211 }
5212 }
5213 },
5214 "/projects/{id}/settings": {
5215 "get": {
5216 "operationId": "get_projects_id_settings",
5217 "parameters": [
5218 {
5219 "name": "id",
5220 "in": "path",
5221 "required": true,
5222 "schema": {
5223 "type": "string"
5224 }
5225 }
5226 ],
5227 "responses": {
5228 "200": {
5229 "description": "OK",
5230 "headers": {
5231 "ETag": {
5232 "schema": {
5233 "type": "string",
5234 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5235 }
5236 },
5237 "Cache-Control": {
5238 "schema": {
5239 "const": "no-store"
5240 }
5241 }
5242 },
5243 "content": {
5244 "application/json": {
5245 "schema": {
5246 "$ref": "#/components/schemas/ProjectSettings"
5247 }
5248 }
5249 }
5250 },
5251 "401": {
5252 "$ref": "#/components/responses/unauthenticated"
5253 },
5254 "403": {
5255 "$ref": "#/components/responses/forbidden"
5256 },
5257 "404": {
5258 "$ref": "#/components/responses/not_found"
5259 },
5260 "405": {
5261 "$ref": "#/components/responses/method_not_allowed"
5262 },
5263 "409": {
5264 "$ref": "#/components/responses/revision_conflict"
5265 },
5266 "410": {
5267 "$ref": "#/components/responses/cursor_expired"
5268 },
5269 "422": {
5270 "$ref": "#/components/responses/invalid_input"
5271 },
5272 "428": {
5273 "$ref": "#/components/responses/precondition_required"
5274 },
5275 "503": {
5276 "$ref": "#/components/responses/unavailable"
5277 }
5278 },
5279 "x-plan-part": "3b"
5280 },
5281 "patch": {
5282 "operationId": "patch_projects_id_settings",
5283 "parameters": [
5284 {
5285 "name": "id",
5286 "in": "path",
5287 "required": true,
5288 "schema": {
5289 "type": "string"
5290 }
5291 },
5292 {
5293 "name": "Idempotency-Key",
5294 "in": "header",
5295 "required": true,
5296 "schema": {
5297 "type": "string",
5298 "minLength": 1,
5299 "maxLength": 256,
5300 "x-maxBytes": 256
5301 }
5302 },
5303 {
5304 "name": "If-Match",
5305 "in": "header",
5306 "required": true,
5307 "schema": {
5308 "type": "string",
5309 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5310 }
5311 }
5312 ],
5313 "responses": {
5314 "200": {
5315 "description": "OK",
5316 "headers": {
5317 "ETag": {
5318 "schema": {
5319 "type": "string",
5320 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5321 }
5322 },
5323 "Cache-Control": {
5324 "schema": {
5325 "const": "no-store"
5326 }
5327 }
5328 },
5329 "content": {
5330 "application/json": {
5331 "schema": {
5332 "$ref": "#/components/schemas/Ack"
5333 }
5334 }
5335 }
5336 },
5337 "401": {
5338 "$ref": "#/components/responses/unauthenticated"
5339 },
5340 "403": {
5341 "$ref": "#/components/responses/forbidden"
5342 },
5343 "404": {
5344 "$ref": "#/components/responses/not_found"
5345 },
5346 "405": {
5347 "$ref": "#/components/responses/method_not_allowed"
5348 },
5349 "409": {
5350 "$ref": "#/components/responses/revision_conflict"
5351 },
5352 "410": {
5353 "$ref": "#/components/responses/cursor_expired"
5354 },
5355 "422": {
5356 "$ref": "#/components/responses/invalid_input"
5357 },
5358 "428": {
5359 "$ref": "#/components/responses/precondition_required"
5360 },
5361 "503": {
5362 "$ref": "#/components/responses/unavailable"
5363 }
5364 },
5365 "x-plan-part": "3b",
5366 "requestBody": {
5367 "required": true,
5368 "content": {
5369 "application/json": {
5370 "schema": {
5371 "$ref": "#/components/schemas/ProjectSettingsInput"
5372 }
5373 }
5374 },
5375 "x-maxBytes": 65536,
5376 "x-rejectDuplicateKeys": true,
5377 "x-rejectUnknownFields": true
5378 }
5379 }
5380 },
5381 "/projects/{id}/my-settings": {
5382 "patch": {
5383 "operationId": "patch_projects_id_my_settings",
5384 "parameters": [
5385 {
5386 "name": "id",
5387 "in": "path",
5388 "required": true,
5389 "schema": {
5390 "type": "string"
5391 }
5392 },
5393 {
5394 "name": "Idempotency-Key",
5395 "in": "header",
5396 "required": true,
5397 "schema": {
5398 "type": "string",
5399 "minLength": 1,
5400 "maxLength": 256,
5401 "x-maxBytes": 256
5402 }
5403 },
5404 {
5405 "name": "If-Match",
5406 "in": "header",
5407 "required": true,
5408 "schema": {
5409 "type": "string",
5410 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5411 }
5412 }
5413 ],
5414 "responses": {
5415 "200": {
5416 "description": "OK",
5417 "headers": {
5418 "ETag": {
5419 "schema": {
5420 "type": "string",
5421 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5422 }
5423 },
5424 "Cache-Control": {
5425 "schema": {
5426 "const": "no-store"
5427 }
5428 }
5429 },
5430 "content": {
5431 "application/json": {
5432 "schema": {
5433 "$ref": "#/components/schemas/Ack"
5434 }
5435 }
5436 }
5437 },
5438 "401": {
5439 "$ref": "#/components/responses/unauthenticated"
5440 },
5441 "403": {
5442 "$ref": "#/components/responses/forbidden"
5443 },
5444 "404": {
5445 "$ref": "#/components/responses/not_found"
5446 },
5447 "405": {
5448 "$ref": "#/components/responses/method_not_allowed"
5449 },
5450 "409": {
5451 "$ref": "#/components/responses/revision_conflict"
5452 },
5453 "410": {
5454 "$ref": "#/components/responses/cursor_expired"
5455 },
5456 "422": {
5457 "$ref": "#/components/responses/invalid_input"
5458 },
5459 "428": {
5460 "$ref": "#/components/responses/precondition_required"
5461 },
5462 "503": {
5463 "$ref": "#/components/responses/unavailable"
5464 }
5465 },
5466 "x-plan-part": "3b",
5467 "requestBody": {
5468 "required": true,
5469 "content": {
5470 "application/json": {
5471 "schema": {
5472 "$ref": "#/components/schemas/ProjectSettingsInput"
5473 }
5474 }
5475 },
5476 "x-maxBytes": 65536,
5477 "x-rejectDuplicateKeys": true,
5478 "x-rejectUnknownFields": true
5479 }
5480 }
5481 },
5482 "/specialists": {
5483 "get": {
5484 "operationId": "get_specialists",
5485 "summary": "Read the team's specialists",
5486 "description": "A request without an `Authorization` header, that is a browser session, gets the earlier person API's answer in `x-earlierPersonAPI`.",
5487 "security": [
5488 {
5489 "personBearer": []
5490 }
5491 ],
5492 "parameters": [],
5493 "responses": {
5494 "200": {
5495 "description": "OK",
5496 "headers": {
5497 "Cache-Control": {
5498 "schema": {
5499 "const": "no-store"
5500 }
5501 }
5502 },
5503 "content": {
5504 "application/json": {
5505 "schema": {
5506 "$ref": "#/components/schemas/SpecialistList"
5507 }
5508 }
5509 }
5510 },
5511 "401": {
5512 "$ref": "#/components/responses/unauthenticated"
5513 },
5514 "default": {
5515 "description": "An error, with one of the codes in `Error`",
5516 "headers": {
5517 "Cache-Control": {
5518 "schema": {
5519 "const": "no-store"
5520 }
5521 }
5522 },
5523 "content": {
5524 "application/json": {
5525 "schema": {
5526 "$ref": "#/components/schemas/Error"
5527 }
5528 }
5529 }
5530 }
5531 },
5532 "x-earlierPersonAPI": {
5533 "servedWhen": "The request has no `Authorization` header: a browser session.",
5534 "operation": {
5535 "operationId": "get_specialists",
5536 "parameters": [
5537 {
5538 "name": "cursor",
5539 "in": "query",
5540 "schema": {
5541 "type": "string"
5542 }
5543 },
5544 {
5545 "name": "limit",
5546 "in": "query",
5547 "schema": {
5548 "type": "integer",
5549 "default": 50,
5550 "minimum": 1,
5551 "maximum": 100
5552 }
5553 }
5554 ],
5555 "responses": {
5556 "200": {
5557 "description": "OK",
5558 "headers": {
5559 "ETag": {
5560 "schema": {
5561 "type": "string",
5562 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5563 }
5564 },
5565 "Cache-Control": {
5566 "schema": {
5567 "const": "no-store"
5568 }
5569 }
5570 },
5571 "content": {
5572 "application/json": {
5573 "schema": {
5574 "$ref": "#/components/schemas/SpecialistPage"
5575 }
5576 }
5577 }
5578 },
5579 "401": {
5580 "$ref": "#/components/responses/unauthenticated"
5581 },
5582 "403": {
5583 "$ref": "#/components/responses/forbidden"
5584 },
5585 "404": {
5586 "$ref": "#/components/responses/not_found"
5587 },
5588 "405": {
5589 "$ref": "#/components/responses/method_not_allowed"
5590 },
5591 "409": {
5592 "$ref": "#/components/responses/revision_conflict"
5593 },
5594 "410": {
5595 "$ref": "#/components/responses/cursor_expired"
5596 },
5597 "422": {
5598 "$ref": "#/components/responses/invalid_input"
5599 },
5600 "428": {
5601 "$ref": "#/components/responses/precondition_required"
5602 },
5603 "503": {
5604 "$ref": "#/components/responses/unavailable"
5605 }
5606 },
5607 "x-plan-part": "3b"
5608 }
5609 }
5610 },
5611 "post": {
5612 "operationId": "post_specialists",
5613 "parameters": [
5614 {
5615 "name": "Idempotency-Key",
5616 "in": "header",
5617 "required": true,
5618 "schema": {
5619 "type": "string",
5620 "minLength": 1,
5621 "maxLength": 256,
5622 "x-maxBytes": 256
5623 }
5624 }
5625 ],
5626 "responses": {
5627 "200": {
5628 "description": "OK",
5629 "headers": {
5630 "ETag": {
5631 "schema": {
5632 "type": "string",
5633 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5634 }
5635 },
5636 "Cache-Control": {
5637 "schema": {
5638 "const": "no-store"
5639 }
5640 }
5641 },
5642 "content": {
5643 "application/json": {
5644 "schema": {
5645 "$ref": "#/components/schemas/PersonAPISpecialist"
5646 }
5647 }
5648 }
5649 },
5650 "401": {
5651 "$ref": "#/components/responses/unauthenticated"
5652 },
5653 "403": {
5654 "$ref": "#/components/responses/forbidden"
5655 },
5656 "404": {
5657 "$ref": "#/components/responses/not_found"
5658 },
5659 "405": {
5660 "$ref": "#/components/responses/method_not_allowed"
5661 },
5662 "409": {
5663 "$ref": "#/components/responses/revision_conflict"
5664 },
5665 "410": {
5666 "$ref": "#/components/responses/cursor_expired"
5667 },
5668 "422": {
5669 "$ref": "#/components/responses/invalid_input"
5670 },
5671 "428": {
5672 "$ref": "#/components/responses/precondition_required"
5673 },
5674 "503": {
5675 "$ref": "#/components/responses/unavailable"
5676 }
5677 },
5678 "x-plan-part": "3b",
5679 "requestBody": {
5680 "required": true,
5681 "content": {
5682 "application/json": {
5683 "schema": {
5684 "$ref": "#/components/schemas/SpecialistInput"
5685 }
5686 }
5687 },
5688 "x-maxBytes": 65536,
5689 "x-rejectDuplicateKeys": true,
5690 "x-rejectUnknownFields": true
5691 }
5692 }
5693 },
5694 "/specialists/{id}": {
5695 "get": {
5696 "operationId": "get_specialists_id",
5697 "parameters": [
5698 {
5699 "name": "id",
5700 "in": "path",
5701 "required": true,
5702 "schema": {
5703 "type": "string"
5704 }
5705 }
5706 ],
5707 "responses": {
5708 "200": {
5709 "description": "OK",
5710 "headers": {
5711 "ETag": {
5712 "schema": {
5713 "type": "string",
5714 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5715 }
5716 },
5717 "Cache-Control": {
5718 "schema": {
5719 "const": "no-store"
5720 }
5721 }
5722 },
5723 "content": {
5724 "application/json": {
5725 "schema": {
5726 "$ref": "#/components/schemas/PersonAPISpecialist"
5727 }
5728 }
5729 }
5730 },
5731 "401": {
5732 "$ref": "#/components/responses/unauthenticated"
5733 },
5734 "403": {
5735 "$ref": "#/components/responses/forbidden"
5736 },
5737 "404": {
5738 "$ref": "#/components/responses/not_found"
5739 },
5740 "405": {
5741 "$ref": "#/components/responses/method_not_allowed"
5742 },
5743 "409": {
5744 "$ref": "#/components/responses/revision_conflict"
5745 },
5746 "410": {
5747 "$ref": "#/components/responses/cursor_expired"
5748 },
5749 "422": {
5750 "$ref": "#/components/responses/invalid_input"
5751 },
5752 "428": {
5753 "$ref": "#/components/responses/precondition_required"
5754 },
5755 "503": {
5756 "$ref": "#/components/responses/unavailable"
5757 }
5758 },
5759 "x-plan-part": "3b"
5760 },
5761 "patch": {
5762 "operationId": "patch_specialists_id",
5763 "parameters": [
5764 {
5765 "name": "id",
5766 "in": "path",
5767 "required": true,
5768 "schema": {
5769 "type": "string"
5770 }
5771 },
5772 {
5773 "name": "Idempotency-Key",
5774 "in": "header",
5775 "required": true,
5776 "schema": {
5777 "type": "string",
5778 "minLength": 1,
5779 "maxLength": 256,
5780 "x-maxBytes": 256
5781 }
5782 },
5783 {
5784 "name": "If-Match",
5785 "in": "header",
5786 "required": true,
5787 "schema": {
5788 "type": "string",
5789 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5790 }
5791 }
5792 ],
5793 "responses": {
5794 "200": {
5795 "description": "OK",
5796 "headers": {
5797 "ETag": {
5798 "schema": {
5799 "type": "string",
5800 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5801 }
5802 },
5803 "Cache-Control": {
5804 "schema": {
5805 "const": "no-store"
5806 }
5807 }
5808 },
5809 "content": {
5810 "application/json": {
5811 "schema": {
5812 "$ref": "#/components/schemas/PersonAPISpecialist"
5813 }
5814 }
5815 }
5816 },
5817 "401": {
5818 "$ref": "#/components/responses/unauthenticated"
5819 },
5820 "403": {
5821 "$ref": "#/components/responses/forbidden"
5822 },
5823 "404": {
5824 "$ref": "#/components/responses/not_found"
5825 },
5826 "405": {
5827 "$ref": "#/components/responses/method_not_allowed"
5828 },
5829 "409": {
5830 "$ref": "#/components/responses/revision_conflict"
5831 },
5832 "410": {
5833 "$ref": "#/components/responses/cursor_expired"
5834 },
5835 "422": {
5836 "$ref": "#/components/responses/invalid_input"
5837 },
5838 "428": {
5839 "$ref": "#/components/responses/precondition_required"
5840 },
5841 "503": {
5842 "$ref": "#/components/responses/unavailable"
5843 }
5844 },
5845 "x-plan-part": "3b",
5846 "requestBody": {
5847 "required": true,
5848 "content": {
5849 "application/json": {
5850 "schema": {
5851 "$ref": "#/components/schemas/SpecialistInput"
5852 }
5853 }
5854 },
5855 "x-maxBytes": 65536,
5856 "x-rejectDuplicateKeys": true,
5857 "x-rejectUnknownFields": true
5858 }
5859 },
5860 "delete": {
5861 "operationId": "delete_specialists_id",
5862 "parameters": [
5863 {
5864 "name": "id",
5865 "in": "path",
5866 "required": true,
5867 "schema": {
5868 "type": "string"
5869 }
5870 },
5871 {
5872 "name": "Idempotency-Key",
5873 "in": "header",
5874 "required": true,
5875 "schema": {
5876 "type": "string",
5877 "minLength": 1,
5878 "maxLength": 256,
5879 "x-maxBytes": 256
5880 }
5881 },
5882 {
5883 "name": "If-Match",
5884 "in": "header",
5885 "required": true,
5886 "schema": {
5887 "type": "string",
5888 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5889 }
5890 }
5891 ],
5892 "responses": {
5893 "200": {
5894 "description": "OK",
5895 "headers": {
5896 "ETag": {
5897 "schema": {
5898 "type": "string",
5899 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5900 }
5901 },
5902 "Cache-Control": {
5903 "schema": {
5904 "const": "no-store"
5905 }
5906 }
5907 },
5908 "content": {
5909 "application/json": {
5910 "schema": {
5911 "$ref": "#/components/schemas/Ack"
5912 }
5913 }
5914 }
5915 },
5916 "401": {
5917 "$ref": "#/components/responses/unauthenticated"
5918 },
5919 "403": {
5920 "$ref": "#/components/responses/forbidden"
5921 },
5922 "404": {
5923 "$ref": "#/components/responses/not_found"
5924 },
5925 "405": {
5926 "$ref": "#/components/responses/method_not_allowed"
5927 },
5928 "409": {
5929 "$ref": "#/components/responses/revision_conflict"
5930 },
5931 "410": {
5932 "$ref": "#/components/responses/cursor_expired"
5933 },
5934 "422": {
5935 "$ref": "#/components/responses/invalid_input"
5936 },
5937 "428": {
5938 "$ref": "#/components/responses/precondition_required"
5939 },
5940 "503": {
5941 "$ref": "#/components/responses/unavailable"
5942 }
5943 },
5944 "x-plan-part": "3b",
5945 "requestBody": {
5946 "required": true,
5947 "content": {
5948 "application/json": {
5949 "schema": {
5950 "$ref": "#/components/schemas/Empty"
5951 }
5952 }
5953 },
5954 "x-maxBytes": 65536,
5955 "x-rejectDuplicateKeys": true,
5956 "x-rejectUnknownFields": true
5957 }
5958 }
5959 },
5960 "/playbooks": {
5961 "get": {
5962 "operationId": "get_playbooks",
5963 "parameters": [
5964 {
5965 "name": "cursor",
5966 "in": "query",
5967 "schema": {
5968 "type": "string"
5969 }
5970 },
5971 {
5972 "name": "limit",
5973 "in": "query",
5974 "schema": {
5975 "type": "integer",
5976 "default": 50,
5977 "minimum": 1,
5978 "maximum": 100
5979 }
5980 }
5981 ],
5982 "responses": {
5983 "200": {
5984 "description": "OK",
5985 "headers": {
5986 "ETag": {
5987 "schema": {
5988 "type": "string",
5989 "pattern": "^\"(0|[1-9][0-9]*)\"$"
5990 }
5991 },
5992 "Cache-Control": {
5993 "schema": {
5994 "const": "no-store"
5995 }
5996 }
5997 },
5998 "content": {
5999 "application/json": {
6000 "schema": {
6001 "$ref": "#/components/schemas/PlaybookPage"
6002 }
6003 }
6004 }
6005 },
6006 "401": {
6007 "$ref": "#/components/responses/unauthenticated"
6008 },
6009 "403": {
6010 "$ref": "#/components/responses/forbidden"
6011 },
6012 "404": {
6013 "$ref": "#/components/responses/not_found"
6014 },
6015 "405": {
6016 "$ref": "#/components/responses/method_not_allowed"
6017 },
6018 "409": {
6019 "$ref": "#/components/responses/revision_conflict"
6020 },
6021 "410": {
6022 "$ref": "#/components/responses/cursor_expired"
6023 },
6024 "422": {
6025 "$ref": "#/components/responses/invalid_input"
6026 },
6027 "428": {
6028 "$ref": "#/components/responses/precondition_required"
6029 },
6030 "503": {
6031 "$ref": "#/components/responses/unavailable"
6032 }
6033 },
6034 "x-plan-part": "3b"
6035 },
6036 "post": {
6037 "operationId": "post_playbooks",
6038 "parameters": [
6039 {
6040 "name": "Idempotency-Key",
6041 "in": "header",
6042 "required": true,
6043 "schema": {
6044 "type": "string",
6045 "minLength": 1,
6046 "maxLength": 256,
6047 "x-maxBytes": 256
6048 }
6049 }
6050 ],
6051 "responses": {
6052 "200": {
6053 "description": "OK",
6054 "headers": {
6055 "ETag": {
6056 "schema": {
6057 "type": "string",
6058 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6059 }
6060 },
6061 "Cache-Control": {
6062 "schema": {
6063 "const": "no-store"
6064 }
6065 }
6066 },
6067 "content": {
6068 "application/json": {
6069 "schema": {
6070 "$ref": "#/components/schemas/Playbook"
6071 }
6072 }
6073 }
6074 },
6075 "401": {
6076 "$ref": "#/components/responses/unauthenticated"
6077 },
6078 "403": {
6079 "$ref": "#/components/responses/forbidden"
6080 },
6081 "404": {
6082 "$ref": "#/components/responses/not_found"
6083 },
6084 "405": {
6085 "$ref": "#/components/responses/method_not_allowed"
6086 },
6087 "409": {
6088 "$ref": "#/components/responses/revision_conflict"
6089 },
6090 "410": {
6091 "$ref": "#/components/responses/cursor_expired"
6092 },
6093 "422": {
6094 "$ref": "#/components/responses/invalid_input"
6095 },
6096 "428": {
6097 "$ref": "#/components/responses/precondition_required"
6098 },
6099 "503": {
6100 "$ref": "#/components/responses/unavailable"
6101 }
6102 },
6103 "x-plan-part": "3b",
6104 "requestBody": {
6105 "required": true,
6106 "content": {
6107 "application/json": {
6108 "schema": {
6109 "$ref": "#/components/schemas/PlaybookInput"
6110 }
6111 }
6112 },
6113 "x-maxBytes": 65536,
6114 "x-rejectDuplicateKeys": true,
6115 "x-rejectUnknownFields": true
6116 }
6117 }
6118 },
6119 "/playbooks/{id}": {
6120 "get": {
6121 "operationId": "get_playbooks_id",
6122 "parameters": [
6123 {
6124 "name": "id",
6125 "in": "path",
6126 "required": true,
6127 "schema": {
6128 "type": "string"
6129 }
6130 }
6131 ],
6132 "responses": {
6133 "200": {
6134 "description": "OK",
6135 "headers": {
6136 "ETag": {
6137 "schema": {
6138 "type": "string",
6139 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6140 }
6141 },
6142 "Cache-Control": {
6143 "schema": {
6144 "const": "no-store"
6145 }
6146 }
6147 },
6148 "content": {
6149 "application/json": {
6150 "schema": {
6151 "$ref": "#/components/schemas/Playbook"
6152 }
6153 }
6154 }
6155 },
6156 "401": {
6157 "$ref": "#/components/responses/unauthenticated"
6158 },
6159 "403": {
6160 "$ref": "#/components/responses/forbidden"
6161 },
6162 "404": {
6163 "$ref": "#/components/responses/not_found"
6164 },
6165 "405": {
6166 "$ref": "#/components/responses/method_not_allowed"
6167 },
6168 "409": {
6169 "$ref": "#/components/responses/revision_conflict"
6170 },
6171 "410": {
6172 "$ref": "#/components/responses/cursor_expired"
6173 },
6174 "422": {
6175 "$ref": "#/components/responses/invalid_input"
6176 },
6177 "428": {
6178 "$ref": "#/components/responses/precondition_required"
6179 },
6180 "503": {
6181 "$ref": "#/components/responses/unavailable"
6182 }
6183 },
6184 "x-plan-part": "3b"
6185 },
6186 "patch": {
6187 "operationId": "patch_playbooks_id",
6188 "parameters": [
6189 {
6190 "name": "id",
6191 "in": "path",
6192 "required": true,
6193 "schema": {
6194 "type": "string"
6195 }
6196 },
6197 {
6198 "name": "Idempotency-Key",
6199 "in": "header",
6200 "required": true,
6201 "schema": {
6202 "type": "string",
6203 "minLength": 1,
6204 "maxLength": 256,
6205 "x-maxBytes": 256
6206 }
6207 },
6208 {
6209 "name": "If-Match",
6210 "in": "header",
6211 "required": true,
6212 "schema": {
6213 "type": "string",
6214 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6215 }
6216 }
6217 ],
6218 "responses": {
6219 "200": {
6220 "description": "OK",
6221 "headers": {
6222 "ETag": {
6223 "schema": {
6224 "type": "string",
6225 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6226 }
6227 },
6228 "Cache-Control": {
6229 "schema": {
6230 "const": "no-store"
6231 }
6232 }
6233 },
6234 "content": {
6235 "application/json": {
6236 "schema": {
6237 "$ref": "#/components/schemas/Playbook"
6238 }
6239 }
6240 }
6241 },
6242 "401": {
6243 "$ref": "#/components/responses/unauthenticated"
6244 },
6245 "403": {
6246 "$ref": "#/components/responses/forbidden"
6247 },
6248 "404": {
6249 "$ref": "#/components/responses/not_found"
6250 },
6251 "405": {
6252 "$ref": "#/components/responses/method_not_allowed"
6253 },
6254 "409": {
6255 "$ref": "#/components/responses/revision_conflict"
6256 },
6257 "410": {
6258 "$ref": "#/components/responses/cursor_expired"
6259 },
6260 "422": {
6261 "$ref": "#/components/responses/invalid_input"
6262 },
6263 "428": {
6264 "$ref": "#/components/responses/precondition_required"
6265 },
6266 "503": {
6267 "$ref": "#/components/responses/unavailable"
6268 }
6269 },
6270 "x-plan-part": "3b",
6271 "requestBody": {
6272 "required": true,
6273 "content": {
6274 "application/json": {
6275 "schema": {
6276 "$ref": "#/components/schemas/PlaybookInput"
6277 }
6278 }
6279 },
6280 "x-maxBytes": 65536,
6281 "x-rejectDuplicateKeys": true,
6282 "x-rejectUnknownFields": true
6283 }
6284 },
6285 "delete": {
6286 "operationId": "delete_playbooks_id",
6287 "parameters": [
6288 {
6289 "name": "id",
6290 "in": "path",
6291 "required": true,
6292 "schema": {
6293 "type": "string"
6294 }
6295 },
6296 {
6297 "name": "Idempotency-Key",
6298 "in": "header",
6299 "required": true,
6300 "schema": {
6301 "type": "string",
6302 "minLength": 1,
6303 "maxLength": 256,
6304 "x-maxBytes": 256
6305 }
6306 },
6307 {
6308 "name": "If-Match",
6309 "in": "header",
6310 "required": true,
6311 "schema": {
6312 "type": "string",
6313 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6314 }
6315 }
6316 ],
6317 "responses": {
6318 "200": {
6319 "description": "OK",
6320 "headers": {
6321 "ETag": {
6322 "schema": {
6323 "type": "string",
6324 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6325 }
6326 },
6327 "Cache-Control": {
6328 "schema": {
6329 "const": "no-store"
6330 }
6331 }
6332 },
6333 "content": {
6334 "application/json": {
6335 "schema": {
6336 "$ref": "#/components/schemas/Ack"
6337 }
6338 }
6339 }
6340 },
6341 "401": {
6342 "$ref": "#/components/responses/unauthenticated"
6343 },
6344 "403": {
6345 "$ref": "#/components/responses/forbidden"
6346 },
6347 "404": {
6348 "$ref": "#/components/responses/not_found"
6349 },
6350 "405": {
6351 "$ref": "#/components/responses/method_not_allowed"
6352 },
6353 "409": {
6354 "$ref": "#/components/responses/revision_conflict"
6355 },
6356 "410": {
6357 "$ref": "#/components/responses/cursor_expired"
6358 },
6359 "422": {
6360 "$ref": "#/components/responses/invalid_input"
6361 },
6362 "428": {
6363 "$ref": "#/components/responses/precondition_required"
6364 },
6365 "503": {
6366 "$ref": "#/components/responses/unavailable"
6367 }
6368 },
6369 "x-plan-part": "3b",
6370 "requestBody": {
6371 "required": true,
6372 "content": {
6373 "application/json": {
6374 "schema": {
6375 "$ref": "#/components/schemas/Empty"
6376 }
6377 }
6378 },
6379 "x-maxBytes": 65536,
6380 "x-rejectDuplicateKeys": true,
6381 "x-rejectUnknownFields": true
6382 }
6383 }
6384 },
6385 "/templates": {
6386 "get": {
6387 "operationId": "get_templates",
6388 "parameters": [
6389 {
6390 "name": "cursor",
6391 "in": "query",
6392 "schema": {
6393 "type": "string"
6394 }
6395 },
6396 {
6397 "name": "limit",
6398 "in": "query",
6399 "schema": {
6400 "type": "integer",
6401 "default": 50,
6402 "minimum": 1,
6403 "maximum": 100
6404 }
6405 }
6406 ],
6407 "responses": {
6408 "200": {
6409 "description": "OK",
6410 "headers": {
6411 "ETag": {
6412 "schema": {
6413 "type": "string",
6414 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6415 }
6416 },
6417 "Cache-Control": {
6418 "schema": {
6419 "const": "no-store"
6420 }
6421 }
6422 },
6423 "content": {
6424 "application/json": {
6425 "schema": {
6426 "$ref": "#/components/schemas/TemplatePage"
6427 }
6428 }
6429 }
6430 },
6431 "401": {
6432 "$ref": "#/components/responses/unauthenticated"
6433 },
6434 "403": {
6435 "$ref": "#/components/responses/forbidden"
6436 },
6437 "404": {
6438 "$ref": "#/components/responses/not_found"
6439 },
6440 "405": {
6441 "$ref": "#/components/responses/method_not_allowed"
6442 },
6443 "409": {
6444 "$ref": "#/components/responses/revision_conflict"
6445 },
6446 "410": {
6447 "$ref": "#/components/responses/cursor_expired"
6448 },
6449 "422": {
6450 "$ref": "#/components/responses/invalid_input"
6451 },
6452 "428": {
6453 "$ref": "#/components/responses/precondition_required"
6454 },
6455 "503": {
6456 "$ref": "#/components/responses/unavailable"
6457 }
6458 },
6459 "x-plan-part": "3b"
6460 }
6461 },
6462 "/templates/{id}": {
6463 "get": {
6464 "operationId": "get_templates_id",
6465 "parameters": [
6466 {
6467 "name": "id",
6468 "in": "path",
6469 "required": true,
6470 "schema": {
6471 "type": "string"
6472 }
6473 }
6474 ],
6475 "responses": {
6476 "200": {
6477 "description": "OK",
6478 "headers": {
6479 "ETag": {
6480 "schema": {
6481 "type": "string",
6482 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6483 }
6484 },
6485 "Cache-Control": {
6486 "schema": {
6487 "const": "no-store"
6488 }
6489 }
6490 },
6491 "content": {
6492 "application/json": {
6493 "schema": {
6494 "$ref": "#/components/schemas/Template"
6495 }
6496 }
6497 }
6498 },
6499 "401": {
6500 "$ref": "#/components/responses/unauthenticated"
6501 },
6502 "403": {
6503 "$ref": "#/components/responses/forbidden"
6504 },
6505 "404": {
6506 "$ref": "#/components/responses/not_found"
6507 },
6508 "405": {
6509 "$ref": "#/components/responses/method_not_allowed"
6510 },
6511 "409": {
6512 "$ref": "#/components/responses/revision_conflict"
6513 },
6514 "410": {
6515 "$ref": "#/components/responses/cursor_expired"
6516 },
6517 "422": {
6518 "$ref": "#/components/responses/invalid_input"
6519 },
6520 "428": {
6521 "$ref": "#/components/responses/precondition_required"
6522 },
6523 "503": {
6524 "$ref": "#/components/responses/unavailable"
6525 }
6526 },
6527 "x-plan-part": "3b"
6528 }
6529 },
6530 "/templates/{id}/install": {
6531 "post": {
6532 "operationId": "post_templates_id_install",
6533 "parameters": [
6534 {
6535 "name": "id",
6536 "in": "path",
6537 "required": true,
6538 "schema": {
6539 "type": "string"
6540 }
6541 },
6542 {
6543 "name": "Idempotency-Key",
6544 "in": "header",
6545 "required": true,
6546 "schema": {
6547 "type": "string",
6548 "minLength": 1,
6549 "maxLength": 256,
6550 "x-maxBytes": 256
6551 }
6552 }
6553 ],
6554 "responses": {
6555 "200": {
6556 "description": "OK",
6557 "headers": {
6558 "ETag": {
6559 "schema": {
6560 "type": "string",
6561 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6562 }
6563 },
6564 "Cache-Control": {
6565 "schema": {
6566 "const": "no-store"
6567 }
6568 }
6569 },
6570 "content": {
6571 "application/json": {
6572 "schema": {
6573 "$ref": "#/components/schemas/InstalledTemplate"
6574 }
6575 }
6576 }
6577 },
6578 "401": {
6579 "$ref": "#/components/responses/unauthenticated"
6580 },
6581 "403": {
6582 "$ref": "#/components/responses/forbidden"
6583 },
6584 "404": {
6585 "$ref": "#/components/responses/not_found"
6586 },
6587 "405": {
6588 "$ref": "#/components/responses/method_not_allowed"
6589 },
6590 "409": {
6591 "$ref": "#/components/responses/revision_conflict"
6592 },
6593 "410": {
6594 "$ref": "#/components/responses/cursor_expired"
6595 },
6596 "422": {
6597 "$ref": "#/components/responses/invalid_input"
6598 },
6599 "428": {
6600 "$ref": "#/components/responses/precondition_required"
6601 },
6602 "503": {
6603 "$ref": "#/components/responses/unavailable"
6604 }
6605 },
6606 "x-plan-part": "3b",
6607 "requestBody": {
6608 "required": true,
6609 "content": {
6610 "application/json": {
6611 "schema": {
6612 "$ref": "#/components/schemas/TemplateInstallInput"
6613 }
6614 }
6615 },
6616 "x-maxBytes": 65536,
6617 "x-rejectDuplicateKeys": true,
6618 "x-rejectUnknownFields": true
6619 }
6620 }
6621 },
6622 "/specialists/{id}/template-diff": {
6623 "get": {
6624 "operationId": "get_specialists_id_template_diff",
6625 "parameters": [
6626 {
6627 "name": "id",
6628 "in": "path",
6629 "required": true,
6630 "schema": {
6631 "type": "string"
6632 }
6633 }
6634 ],
6635 "responses": {
6636 "200": {
6637 "description": "OK",
6638 "headers": {
6639 "ETag": {
6640 "schema": {
6641 "type": "string",
6642 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6643 }
6644 },
6645 "Cache-Control": {
6646 "schema": {
6647 "const": "no-store"
6648 }
6649 }
6650 },
6651 "content": {
6652 "application/json": {
6653 "schema": {
6654 "$ref": "#/components/schemas/TemplateDiff"
6655 }
6656 }
6657 }
6658 },
6659 "401": {
6660 "$ref": "#/components/responses/unauthenticated"
6661 },
6662 "403": {
6663 "$ref": "#/components/responses/forbidden"
6664 },
6665 "404": {
6666 "$ref": "#/components/responses/not_found"
6667 },
6668 "405": {
6669 "$ref": "#/components/responses/method_not_allowed"
6670 },
6671 "409": {
6672 "$ref": "#/components/responses/revision_conflict"
6673 },
6674 "410": {
6675 "$ref": "#/components/responses/cursor_expired"
6676 },
6677 "422": {
6678 "$ref": "#/components/responses/invalid_input"
6679 },
6680 "428": {
6681 "$ref": "#/components/responses/precondition_required"
6682 },
6683 "503": {
6684 "$ref": "#/components/responses/unavailable"
6685 }
6686 },
6687 "x-plan-part": "3b"
6688 }
6689 },
6690 "/playbooks/{id}/template-diff": {
6691 "get": {
6692 "operationId": "get_playbooks_id_template_diff",
6693 "parameters": [
6694 {
6695 "name": "id",
6696 "in": "path",
6697 "required": true,
6698 "schema": {
6699 "type": "string"
6700 }
6701 }
6702 ],
6703 "responses": {
6704 "200": {
6705 "description": "OK",
6706 "headers": {
6707 "ETag": {
6708 "schema": {
6709 "type": "string",
6710 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6711 }
6712 },
6713 "Cache-Control": {
6714 "schema": {
6715 "const": "no-store"
6716 }
6717 }
6718 },
6719 "content": {
6720 "application/json": {
6721 "schema": {
6722 "$ref": "#/components/schemas/TemplateDiff"
6723 }
6724 }
6725 }
6726 },
6727 "401": {
6728 "$ref": "#/components/responses/unauthenticated"
6729 },
6730 "403": {
6731 "$ref": "#/components/responses/forbidden"
6732 },
6733 "404": {
6734 "$ref": "#/components/responses/not_found"
6735 },
6736 "405": {
6737 "$ref": "#/components/responses/method_not_allowed"
6738 },
6739 "409": {
6740 "$ref": "#/components/responses/revision_conflict"
6741 },
6742 "410": {
6743 "$ref": "#/components/responses/cursor_expired"
6744 },
6745 "422": {
6746 "$ref": "#/components/responses/invalid_input"
6747 },
6748 "428": {
6749 "$ref": "#/components/responses/precondition_required"
6750 },
6751 "503": {
6752 "$ref": "#/components/responses/unavailable"
6753 }
6754 },
6755 "x-plan-part": "3b"
6756 }
6757 },
6758 "/specialists/{id}/template-update": {
6759 "post": {
6760 "operationId": "post_specialists_id_template_update",
6761 "parameters": [
6762 {
6763 "name": "id",
6764 "in": "path",
6765 "required": true,
6766 "schema": {
6767 "type": "string"
6768 }
6769 },
6770 {
6771 "name": "Idempotency-Key",
6772 "in": "header",
6773 "required": true,
6774 "schema": {
6775 "type": "string",
6776 "minLength": 1,
6777 "maxLength": 256,
6778 "x-maxBytes": 256
6779 }
6780 },
6781 {
6782 "name": "If-Match",
6783 "in": "header",
6784 "required": true,
6785 "schema": {
6786 "type": "string",
6787 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6788 }
6789 }
6790 ],
6791 "responses": {
6792 "200": {
6793 "description": "OK",
6794 "headers": {
6795 "ETag": {
6796 "schema": {
6797 "type": "string",
6798 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6799 }
6800 },
6801 "Cache-Control": {
6802 "schema": {
6803 "const": "no-store"
6804 }
6805 }
6806 },
6807 "content": {
6808 "application/json": {
6809 "schema": {
6810 "$ref": "#/components/schemas/PersonAPISpecialist"
6811 }
6812 }
6813 }
6814 },
6815 "401": {
6816 "$ref": "#/components/responses/unauthenticated"
6817 },
6818 "403": {
6819 "$ref": "#/components/responses/forbidden"
6820 },
6821 "404": {
6822 "$ref": "#/components/responses/not_found"
6823 },
6824 "405": {
6825 "$ref": "#/components/responses/method_not_allowed"
6826 },
6827 "409": {
6828 "$ref": "#/components/responses/revision_conflict"
6829 },
6830 "410": {
6831 "$ref": "#/components/responses/cursor_expired"
6832 },
6833 "422": {
6834 "$ref": "#/components/responses/invalid_input"
6835 },
6836 "428": {
6837 "$ref": "#/components/responses/precondition_required"
6838 },
6839 "503": {
6840 "$ref": "#/components/responses/unavailable"
6841 }
6842 },
6843 "x-plan-part": "3b",
6844 "requestBody": {
6845 "required": true,
6846 "content": {
6847 "application/json": {
6848 "schema": {
6849 "$ref": "#/components/schemas/TemplateUpdateInput"
6850 }
6851 }
6852 },
6853 "x-maxBytes": 65536,
6854 "x-rejectDuplicateKeys": true,
6855 "x-rejectUnknownFields": true
6856 }
6857 }
6858 },
6859 "/playbooks/{id}/template-update": {
6860 "post": {
6861 "operationId": "post_playbooks_id_template_update",
6862 "parameters": [
6863 {
6864 "name": "id",
6865 "in": "path",
6866 "required": true,
6867 "schema": {
6868 "type": "string"
6869 }
6870 },
6871 {
6872 "name": "Idempotency-Key",
6873 "in": "header",
6874 "required": true,
6875 "schema": {
6876 "type": "string",
6877 "minLength": 1,
6878 "maxLength": 256,
6879 "x-maxBytes": 256
6880 }
6881 },
6882 {
6883 "name": "If-Match",
6884 "in": "header",
6885 "required": true,
6886 "schema": {
6887 "type": "string",
6888 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6889 }
6890 }
6891 ],
6892 "responses": {
6893 "200": {
6894 "description": "OK",
6895 "headers": {
6896 "ETag": {
6897 "schema": {
6898 "type": "string",
6899 "pattern": "^\"(0|[1-9][0-9]*)\"$"
6900 }
6901 },
6902 "Cache-Control": {
6903 "schema": {
6904 "const": "no-store"
6905 }
6906 }
6907 },
6908 "content": {
6909 "application/json": {
6910 "schema": {
6911 "$ref": "#/components/schemas/Playbook"
6912 }
6913 }
6914 }
6915 },
6916 "401": {
6917 "$ref": "#/components/responses/unauthenticated"
6918 },
6919 "403": {
6920 "$ref": "#/components/responses/forbidden"
6921 },
6922 "404": {
6923 "$ref": "#/components/responses/not_found"
6924 },
6925 "405": {
6926 "$ref": "#/components/responses/method_not_allowed"
6927 },
6928 "409": {
6929 "$ref": "#/components/responses/revision_conflict"
6930 },
6931 "410": {
6932 "$ref": "#/components/responses/cursor_expired"
6933 },
6934 "422": {
6935 "$ref": "#/components/responses/invalid_input"
6936 },
6937 "428": {
6938 "$ref": "#/components/responses/precondition_required"
6939 },
6940 "503": {
6941 "$ref": "#/components/responses/unavailable"
6942 }
6943 },
6944 "x-plan-part": "3b",
6945 "requestBody": {
6946 "required": true,
6947 "content": {
6948 "application/json": {
6949 "schema": {
6950 "$ref": "#/components/schemas/TemplateUpdateInput"
6951 }
6952 }
6953 },
6954 "x-maxBytes": 65536,
6955 "x-rejectDuplicateKeys": true,
6956 "x-rejectUnknownFields": true
6957 }
6958 }
6959 },
6960 "/connections": {
6961 "get": {
6962 "operationId": "get_connections",
6963 "summary": "Read your connections",
6964 "description": "Every runner's. A request without an `Authorization` header, that is a browser session, gets the earlier person API's answer in `x-earlierPersonAPI`.",
6965 "security": [
6966 {
6967 "personBearer": []
6968 }
6969 ],
6970 "parameters": [],
6971 "responses": {
6972 "200": {
6973 "description": "OK",
6974 "headers": {
6975 "Cache-Control": {
6976 "schema": {
6977 "const": "no-store"
6978 }
6979 }
6980 },
6981 "content": {
6982 "application/json": {
6983 "schema": {
6984 "$ref": "#/components/schemas/ConnectionList"
6985 }
6986 }
6987 }
6988 },
6989 "401": {
6990 "$ref": "#/components/responses/unauthenticated"
6991 },
6992 "default": {
6993 "description": "An error, with one of the codes in `Error`",
6994 "headers": {
6995 "Cache-Control": {
6996 "schema": {
6997 "const": "no-store"
6998 }
6999 }
7000 },
7001 "content": {
7002 "application/json": {
7003 "schema": {
7004 "$ref": "#/components/schemas/Error"
7005 }
7006 }
7007 }
7008 }
7009 },
7010 "x-earlierPersonAPI": {
7011 "servedWhen": "The request has no `Authorization` header: a browser session.",
7012 "operation": {
7013 "operationId": "get_connections",
7014 "parameters": [
7015 {
7016 "name": "cursor",
7017 "in": "query",
7018 "schema": {
7019 "type": "string"
7020 }
7021 },
7022 {
7023 "name": "limit",
7024 "in": "query",
7025 "schema": {
7026 "type": "integer",
7027 "default": 50,
7028 "minimum": 1,
7029 "maximum": 100
7030 }
7031 }
7032 ],
7033 "responses": {
7034 "200": {
7035 "description": "OK",
7036 "headers": {
7037 "ETag": {
7038 "schema": {
7039 "type": "string",
7040 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7041 }
7042 },
7043 "Cache-Control": {
7044 "schema": {
7045 "const": "no-store"
7046 }
7047 }
7048 },
7049 "content": {
7050 "application/json": {
7051 "schema": {
7052 "$ref": "#/components/schemas/ConnectionPage"
7053 }
7054 }
7055 }
7056 },
7057 "401": {
7058 "$ref": "#/components/responses/unauthenticated"
7059 },
7060 "403": {
7061 "$ref": "#/components/responses/forbidden"
7062 },
7063 "404": {
7064 "$ref": "#/components/responses/not_found"
7065 },
7066 "405": {
7067 "$ref": "#/components/responses/method_not_allowed"
7068 },
7069 "409": {
7070 "$ref": "#/components/responses/revision_conflict"
7071 },
7072 "410": {
7073 "$ref": "#/components/responses/cursor_expired"
7074 },
7075 "422": {
7076 "$ref": "#/components/responses/invalid_input"
7077 },
7078 "428": {
7079 "$ref": "#/components/responses/precondition_required"
7080 },
7081 "503": {
7082 "$ref": "#/components/responses/unavailable"
7083 }
7084 },
7085 "x-plan-part": "3b"
7086 }
7087 }
7088 },
7089 "post": {
7090 "operationId": "post_connections",
7091 "summary": "Connect an account",
7092 "description": "202 with the attempt connecting. `runner_id` empty means your primary runner.",
7093 "security": [
7094 {
7095 "personBearer": []
7096 }
7097 ],
7098 "parameters": [],
7099 "responses": {
7100 "202": {
7101 "description": "Accepted",
7102 "headers": {
7103 "Cache-Control": {
7104 "schema": {
7105 "const": "no-store"
7106 }
7107 }
7108 },
7109 "content": {
7110 "application/json": {
7111 "schema": {
7112 "$ref": "#/components/schemas/Connection"
7113 }
7114 }
7115 }
7116 },
7117 "401": {
7118 "$ref": "#/components/responses/unauthenticated"
7119 },
7120 "default": {
7121 "description": "An error, with one of the codes in `Error`",
7122 "headers": {
7123 "Cache-Control": {
7124 "schema": {
7125 "const": "no-store"
7126 }
7127 }
7128 },
7129 "content": {
7130 "application/json": {
7131 "schema": {
7132 "$ref": "#/components/schemas/Error"
7133 }
7134 }
7135 }
7136 }
7137 },
7138 "requestBody": {
7139 "required": true,
7140 "content": {
7141 "application/json": {
7142 "schema": {
7143 "$ref": "#/components/schemas/Connect"
7144 }
7145 }
7146 },
7147 "x-maxBytes": 32768,
7148 "x-rejectUnknownFields": true
7149 }
7150 }
7151 },
7152 "/connections/{id}": {
7153 "get": {
7154 "operationId": "get_connections_id",
7155 "summary": "Read one connection",
7156 "description": "Connection ids from this API start with `cn_`. Any other id gets the earlier person API's answer in `x-earlierPersonAPI`, with a bearer or a browser session. A browser session asking for a `cn_` id is 401 `unauthenticated`.",
7157 "security": [
7158 {
7159 "personBearer": []
7160 }
7161 ],
7162 "parameters": [
7163 {
7164 "name": "id",
7165 "in": "path",
7166 "required": true,
7167 "schema": {
7168 "type": "string",
7169 "minLength": 1
7170 }
7171 }
7172 ],
7173 "responses": {
7174 "200": {
7175 "description": "OK",
7176 "headers": {
7177 "Cache-Control": {
7178 "schema": {
7179 "const": "no-store"
7180 }
7181 }
7182 },
7183 "content": {
7184 "application/json": {
7185 "schema": {
7186 "$ref": "#/components/schemas/Connection"
7187 }
7188 }
7189 }
7190 },
7191 "401": {
7192 "$ref": "#/components/responses/unauthenticated"
7193 },
7194 "default": {
7195 "description": "An error, with one of the codes in `Error`",
7196 "headers": {
7197 "Cache-Control": {
7198 "schema": {
7199 "const": "no-store"
7200 }
7201 }
7202 },
7203 "content": {
7204 "application/json": {
7205 "schema": {
7206 "$ref": "#/components/schemas/Error"
7207 }
7208 }
7209 }
7210 }
7211 },
7212 "x-earlierPersonAPI": {
7213 "servedWhen": "The id does not start with `cn_`.",
7214 "operation": {
7215 "operationId": "get_connections_id",
7216 "parameters": [
7217 {
7218 "name": "id",
7219 "in": "path",
7220 "required": true,
7221 "schema": {
7222 "type": "string"
7223 }
7224 }
7225 ],
7226 "responses": {
7227 "200": {
7228 "description": "OK",
7229 "headers": {
7230 "ETag": {
7231 "schema": {
7232 "type": "string",
7233 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7234 }
7235 },
7236 "Cache-Control": {
7237 "schema": {
7238 "const": "no-store"
7239 }
7240 }
7241 },
7242 "content": {
7243 "application/json": {
7244 "schema": {
7245 "$ref": "#/components/schemas/PersonAPIConnection"
7246 }
7247 }
7248 }
7249 },
7250 "401": {
7251 "$ref": "#/components/responses/unauthenticated"
7252 },
7253 "403": {
7254 "$ref": "#/components/responses/forbidden"
7255 },
7256 "404": {
7257 "$ref": "#/components/responses/not_found"
7258 },
7259 "405": {
7260 "$ref": "#/components/responses/method_not_allowed"
7261 },
7262 "409": {
7263 "$ref": "#/components/responses/revision_conflict"
7264 },
7265 "410": {
7266 "$ref": "#/components/responses/cursor_expired"
7267 },
7268 "422": {
7269 "$ref": "#/components/responses/invalid_input"
7270 },
7271 "428": {
7272 "$ref": "#/components/responses/precondition_required"
7273 },
7274 "503": {
7275 "$ref": "#/components/responses/unavailable"
7276 }
7277 },
7278 "x-plan-part": "3b"
7279 }
7280 }
7281 },
7282 "patch": {
7283 "operationId": "patch_connections_id",
7284 "parameters": [
7285 {
7286 "name": "id",
7287 "in": "path",
7288 "required": true,
7289 "schema": {
7290 "type": "string"
7291 }
7292 },
7293 {
7294 "name": "Idempotency-Key",
7295 "in": "header",
7296 "required": true,
7297 "schema": {
7298 "type": "string",
7299 "minLength": 1,
7300 "maxLength": 256,
7301 "x-maxBytes": 256
7302 }
7303 },
7304 {
7305 "name": "If-Match",
7306 "in": "header",
7307 "required": true,
7308 "schema": {
7309 "type": "string",
7310 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7311 }
7312 }
7313 ],
7314 "responses": {
7315 "200": {
7316 "description": "OK",
7317 "headers": {
7318 "ETag": {
7319 "schema": {
7320 "type": "string",
7321 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7322 }
7323 },
7324 "Cache-Control": {
7325 "schema": {
7326 "const": "no-store"
7327 }
7328 }
7329 },
7330 "content": {
7331 "application/json": {
7332 "schema": {
7333 "$ref": "#/components/schemas/Ack"
7334 }
7335 }
7336 }
7337 },
7338 "401": {
7339 "$ref": "#/components/responses/unauthenticated"
7340 },
7341 "403": {
7342 "$ref": "#/components/responses/forbidden"
7343 },
7344 "404": {
7345 "$ref": "#/components/responses/not_found"
7346 },
7347 "405": {
7348 "$ref": "#/components/responses/method_not_allowed"
7349 },
7350 "409": {
7351 "$ref": "#/components/responses/revision_conflict"
7352 },
7353 "410": {
7354 "$ref": "#/components/responses/cursor_expired"
7355 },
7356 "422": {
7357 "$ref": "#/components/responses/invalid_input"
7358 },
7359 "428": {
7360 "$ref": "#/components/responses/precondition_required"
7361 },
7362 "503": {
7363 "$ref": "#/components/responses/unavailable"
7364 }
7365 },
7366 "x-plan-part": "3b",
7367 "requestBody": {
7368 "required": true,
7369 "content": {
7370 "application/json": {
7371 "schema": {
7372 "$ref": "#/components/schemas/LabelInput"
7373 }
7374 }
7375 },
7376 "x-maxBytes": 65536,
7377 "x-rejectDuplicateKeys": true,
7378 "x-rejectUnknownFields": true
7379 }
7380 },
7381 "delete": {
7382 "operationId": "delete_connections_id",
7383 "summary": "Sign out of a connection",
7384 "description": "202; it is signed out once the runner reports it. Connection ids from this API start with `cn_`. Any other id gets the earlier person API's answer in `x-earlierPersonAPI`, with a bearer or a browser session. A browser session asking for a `cn_` id is 401 `unauthenticated`.",
7385 "security": [
7386 {
7387 "personBearer": []
7388 }
7389 ],
7390 "parameters": [
7391 {
7392 "name": "id",
7393 "in": "path",
7394 "required": true,
7395 "schema": {
7396 "type": "string",
7397 "minLength": 1
7398 }
7399 }
7400 ],
7401 "responses": {
7402 "202": {
7403 "description": "Accepted",
7404 "headers": {
7405 "Cache-Control": {
7406 "schema": {
7407 "const": "no-store"
7408 }
7409 }
7410 },
7411 "content": {
7412 "application/json": {
7413 "schema": {
7414 "$ref": "#/components/schemas/Connection"
7415 }
7416 }
7417 }
7418 },
7419 "401": {
7420 "$ref": "#/components/responses/unauthenticated"
7421 },
7422 "default": {
7423 "description": "An error, with one of the codes in `Error`",
7424 "headers": {
7425 "Cache-Control": {
7426 "schema": {
7427 "const": "no-store"
7428 }
7429 }
7430 },
7431 "content": {
7432 "application/json": {
7433 "schema": {
7434 "$ref": "#/components/schemas/Error"
7435 }
7436 }
7437 }
7438 }
7439 },
7440 "x-earlierPersonAPI": {
7441 "servedWhen": "The id does not start with `cn_`.",
7442 "operation": {
7443 "operationId": "delete_connections_id",
7444 "parameters": [
7445 {
7446 "name": "id",
7447 "in": "path",
7448 "required": true,
7449 "schema": {
7450 "type": "string"
7451 }
7452 },
7453 {
7454 "name": "Idempotency-Key",
7455 "in": "header",
7456 "required": true,
7457 "schema": {
7458 "type": "string",
7459 "minLength": 1,
7460 "maxLength": 256,
7461 "x-maxBytes": 256
7462 }
7463 },
7464 {
7465 "name": "If-Match",
7466 "in": "header",
7467 "required": true,
7468 "schema": {
7469 "type": "string",
7470 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7471 }
7472 }
7473 ],
7474 "responses": {
7475 "200": {
7476 "description": "OK",
7477 "headers": {
7478 "ETag": {
7479 "schema": {
7480 "type": "string",
7481 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7482 }
7483 },
7484 "Cache-Control": {
7485 "schema": {
7486 "const": "no-store"
7487 }
7488 }
7489 },
7490 "content": {
7491 "application/json": {
7492 "schema": {
7493 "$ref": "#/components/schemas/Ack"
7494 }
7495 }
7496 }
7497 },
7498 "401": {
7499 "$ref": "#/components/responses/unauthenticated"
7500 },
7501 "403": {
7502 "$ref": "#/components/responses/forbidden"
7503 },
7504 "404": {
7505 "$ref": "#/components/responses/not_found"
7506 },
7507 "405": {
7508 "$ref": "#/components/responses/method_not_allowed"
7509 },
7510 "409": {
7511 "$ref": "#/components/responses/revision_conflict"
7512 },
7513 "410": {
7514 "$ref": "#/components/responses/cursor_expired"
7515 },
7516 "422": {
7517 "$ref": "#/components/responses/invalid_input"
7518 },
7519 "428": {
7520 "$ref": "#/components/responses/precondition_required"
7521 },
7522 "503": {
7523 "$ref": "#/components/responses/unavailable"
7524 }
7525 },
7526 "x-plan-part": "3b",
7527 "requestBody": {
7528 "required": true,
7529 "content": {
7530 "application/json": {
7531 "schema": {
7532 "$ref": "#/components/schemas/Empty"
7533 }
7534 }
7535 },
7536 "x-maxBytes": 65536,
7537 "x-rejectDuplicateKeys": true,
7538 "x-rejectUnknownFields": true
7539 }
7540 }
7541 }
7542 }
7543 },
7544 "/projects/{id}/connections": {
7545 "put": {
7546 "operationId": "put_projects_id_connections",
7547 "parameters": [
7548 {
7549 "name": "id",
7550 "in": "path",
7551 "required": true,
7552 "schema": {
7553 "type": "string"
7554 }
7555 },
7556 {
7557 "name": "Idempotency-Key",
7558 "in": "header",
7559 "required": true,
7560 "schema": {
7561 "type": "string",
7562 "minLength": 1,
7563 "maxLength": 256,
7564 "x-maxBytes": 256
7565 }
7566 },
7567 {
7568 "name": "If-Match",
7569 "in": "header",
7570 "required": true,
7571 "schema": {
7572 "type": "string",
7573 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7574 }
7575 }
7576 ],
7577 "responses": {
7578 "200": {
7579 "description": "OK",
7580 "headers": {
7581 "ETag": {
7582 "schema": {
7583 "type": "string",
7584 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7585 }
7586 },
7587 "Cache-Control": {
7588 "schema": {
7589 "const": "no-store"
7590 }
7591 }
7592 },
7593 "content": {
7594 "application/json": {
7595 "schema": {
7596 "$ref": "#/components/schemas/Ack"
7597 }
7598 }
7599 }
7600 },
7601 "401": {
7602 "$ref": "#/components/responses/unauthenticated"
7603 },
7604 "403": {
7605 "$ref": "#/components/responses/forbidden"
7606 },
7607 "404": {
7608 "$ref": "#/components/responses/not_found"
7609 },
7610 "405": {
7611 "$ref": "#/components/responses/method_not_allowed"
7612 },
7613 "409": {
7614 "$ref": "#/components/responses/revision_conflict"
7615 },
7616 "410": {
7617 "$ref": "#/components/responses/cursor_expired"
7618 },
7619 "422": {
7620 "$ref": "#/components/responses/invalid_input"
7621 },
7622 "428": {
7623 "$ref": "#/components/responses/precondition_required"
7624 },
7625 "503": {
7626 "$ref": "#/components/responses/unavailable"
7627 }
7628 },
7629 "x-plan-part": "3b",
7630 "requestBody": {
7631 "required": true,
7632 "content": {
7633 "application/json": {
7634 "schema": {
7635 "$ref": "#/components/schemas/ConnectionChoiceInput"
7636 }
7637 }
7638 },
7639 "x-maxBytes": 65536,
7640 "x-rejectDuplicateKeys": true,
7641 "x-rejectUnknownFields": true
7642 }
7643 }
7644 },
7645 "/tasks/{id}/steps/{key}/selection": {
7646 "post": {
7647 "operationId": "post_tasks_id_steps_key_selection",
7648 "parameters": [
7649 {
7650 "name": "id",
7651 "in": "path",
7652 "required": true,
7653 "schema": {
7654 "type": "string"
7655 }
7656 },
7657 {
7658 "name": "key",
7659 "in": "path",
7660 "required": true,
7661 "schema": {
7662 "type": "string"
7663 }
7664 },
7665 {
7666 "name": "Idempotency-Key",
7667 "in": "header",
7668 "required": true,
7669 "schema": {
7670 "type": "string",
7671 "minLength": 1,
7672 "maxLength": 256,
7673 "x-maxBytes": 256
7674 }
7675 },
7676 {
7677 "name": "If-Match",
7678 "in": "header",
7679 "required": true,
7680 "schema": {
7681 "type": "string",
7682 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7683 }
7684 }
7685 ],
7686 "responses": {
7687 "200": {
7688 "description": "OK",
7689 "headers": {
7690 "ETag": {
7691 "schema": {
7692 "type": "string",
7693 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7694 }
7695 },
7696 "Cache-Control": {
7697 "schema": {
7698 "const": "no-store"
7699 }
7700 }
7701 },
7702 "content": {
7703 "application/json": {
7704 "schema": {
7705 "$ref": "#/components/schemas/Selected"
7706 }
7707 }
7708 }
7709 },
7710 "401": {
7711 "$ref": "#/components/responses/unauthenticated"
7712 },
7713 "403": {
7714 "$ref": "#/components/responses/forbidden"
7715 },
7716 "404": {
7717 "$ref": "#/components/responses/not_found"
7718 },
7719 "405": {
7720 "$ref": "#/components/responses/method_not_allowed"
7721 },
7722 "409": {
7723 "$ref": "#/components/responses/revision_conflict"
7724 },
7725 "410": {
7726 "$ref": "#/components/responses/cursor_expired"
7727 },
7728 "422": {
7729 "$ref": "#/components/responses/invalid_input"
7730 },
7731 "428": {
7732 "$ref": "#/components/responses/precondition_required"
7733 },
7734 "503": {
7735 "$ref": "#/components/responses/unavailable"
7736 }
7737 },
7738 "x-plan-part": "3b",
7739 "requestBody": {
7740 "required": true,
7741 "content": {
7742 "application/json": {
7743 "schema": {
7744 "$ref": "#/components/schemas/SelectionInput"
7745 }
7746 }
7747 },
7748 "x-maxBytes": 65536,
7749 "x-rejectDuplicateKeys": true,
7750 "x-rejectUnknownFields": true
7751 }
7752 }
7753 },
7754 "/runners": {
7755 "get": {
7756 "operationId": "get_runners",
7757 "summary": "Read your runners",
7758 "description": "Primary first. A request without an `Authorization` header, that is a browser session, gets the earlier person API's answer in `x-earlierPersonAPI`.",
7759 "security": [
7760 {
7761 "personBearer": []
7762 }
7763 ],
7764 "parameters": [],
7765 "responses": {
7766 "200": {
7767 "description": "OK",
7768 "headers": {
7769 "Cache-Control": {
7770 "schema": {
7771 "const": "no-store"
7772 }
7773 }
7774 },
7775 "content": {
7776 "application/json": {
7777 "schema": {
7778 "$ref": "#/components/schemas/RunnerList"
7779 }
7780 }
7781 }
7782 },
7783 "401": {
7784 "$ref": "#/components/responses/unauthenticated"
7785 },
7786 "default": {
7787 "description": "An error, with one of the codes in `Error`",
7788 "headers": {
7789 "Cache-Control": {
7790 "schema": {
7791 "const": "no-store"
7792 }
7793 }
7794 },
7795 "content": {
7796 "application/json": {
7797 "schema": {
7798 "$ref": "#/components/schemas/Error"
7799 }
7800 }
7801 }
7802 }
7803 },
7804 "x-earlierPersonAPI": {
7805 "servedWhen": "The request has no `Authorization` header: a browser session.",
7806 "operation": {
7807 "operationId": "get_runners",
7808 "parameters": [
7809 {
7810 "name": "cursor",
7811 "in": "query",
7812 "schema": {
7813 "type": "string"
7814 }
7815 },
7816 {
7817 "name": "limit",
7818 "in": "query",
7819 "schema": {
7820 "type": "integer",
7821 "default": 50,
7822 "minimum": 1,
7823 "maximum": 100
7824 }
7825 }
7826 ],
7827 "responses": {
7828 "200": {
7829 "description": "OK",
7830 "headers": {
7831 "ETag": {
7832 "schema": {
7833 "type": "string",
7834 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7835 }
7836 },
7837 "Cache-Control": {
7838 "schema": {
7839 "const": "no-store"
7840 }
7841 }
7842 },
7843 "content": {
7844 "application/json": {
7845 "schema": {
7846 "$ref": "#/components/schemas/RunnerPage"
7847 }
7848 }
7849 }
7850 },
7851 "401": {
7852 "$ref": "#/components/responses/unauthenticated"
7853 },
7854 "403": {
7855 "$ref": "#/components/responses/forbidden"
7856 },
7857 "404": {
7858 "$ref": "#/components/responses/not_found"
7859 },
7860 "405": {
7861 "$ref": "#/components/responses/method_not_allowed"
7862 },
7863 "409": {
7864 "$ref": "#/components/responses/revision_conflict"
7865 },
7866 "410": {
7867 "$ref": "#/components/responses/cursor_expired"
7868 },
7869 "422": {
7870 "$ref": "#/components/responses/invalid_input"
7871 },
7872 "428": {
7873 "$ref": "#/components/responses/precondition_required"
7874 },
7875 "503": {
7876 "$ref": "#/components/responses/unavailable"
7877 }
7878 },
7879 "x-plan-part": "3b"
7880 }
7881 }
7882 }
7883 },
7884 "/runners/{id}": {
7885 "get": {
7886 "operationId": "get_runners_id",
7887 "parameters": [
7888 {
7889 "name": "id",
7890 "in": "path",
7891 "required": true,
7892 "schema": {
7893 "type": "string"
7894 }
7895 }
7896 ],
7897 "responses": {
7898 "200": {
7899 "description": "OK",
7900 "headers": {
7901 "ETag": {
7902 "schema": {
7903 "type": "string",
7904 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7905 }
7906 },
7907 "Cache-Control": {
7908 "schema": {
7909 "const": "no-store"
7910 }
7911 }
7912 },
7913 "content": {
7914 "application/json": {
7915 "schema": {
7916 "$ref": "#/components/schemas/PersonAPIRunner"
7917 }
7918 }
7919 }
7920 },
7921 "401": {
7922 "$ref": "#/components/responses/unauthenticated"
7923 },
7924 "403": {
7925 "$ref": "#/components/responses/forbidden"
7926 },
7927 "404": {
7928 "$ref": "#/components/responses/not_found"
7929 },
7930 "405": {
7931 "$ref": "#/components/responses/method_not_allowed"
7932 },
7933 "409": {
7934 "$ref": "#/components/responses/revision_conflict"
7935 },
7936 "410": {
7937 "$ref": "#/components/responses/cursor_expired"
7938 },
7939 "422": {
7940 "$ref": "#/components/responses/invalid_input"
7941 },
7942 "428": {
7943 "$ref": "#/components/responses/precondition_required"
7944 },
7945 "503": {
7946 "$ref": "#/components/responses/unavailable"
7947 }
7948 },
7949 "x-plan-part": "3b"
7950 },
7951 "delete": {
7952 "operationId": "delete_runners_id",
7953 "parameters": [
7954 {
7955 "name": "id",
7956 "in": "path",
7957 "required": true,
7958 "schema": {
7959 "type": "string"
7960 }
7961 },
7962 {
7963 "name": "Idempotency-Key",
7964 "in": "header",
7965 "required": true,
7966 "schema": {
7967 "type": "string",
7968 "minLength": 1,
7969 "maxLength": 256,
7970 "x-maxBytes": 256
7971 }
7972 },
7973 {
7974 "name": "If-Match",
7975 "in": "header",
7976 "required": true,
7977 "schema": {
7978 "type": "string",
7979 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7980 }
7981 }
7982 ],
7983 "responses": {
7984 "200": {
7985 "description": "OK",
7986 "headers": {
7987 "ETag": {
7988 "schema": {
7989 "type": "string",
7990 "pattern": "^\"(0|[1-9][0-9]*)\"$"
7991 }
7992 },
7993 "Cache-Control": {
7994 "schema": {
7995 "const": "no-store"
7996 }
7997 }
7998 },
7999 "content": {
8000 "application/json": {
8001 "schema": {
8002 "$ref": "#/components/schemas/Ack"
8003 }
8004 }
8005 }
8006 },
8007 "401": {
8008 "$ref": "#/components/responses/unauthenticated"
8009 },
8010 "403": {
8011 "$ref": "#/components/responses/forbidden"
8012 },
8013 "404": {
8014 "$ref": "#/components/responses/not_found"
8015 },
8016 "405": {
8017 "$ref": "#/components/responses/method_not_allowed"
8018 },
8019 "409": {
8020 "$ref": "#/components/responses/revision_conflict"
8021 },
8022 "410": {
8023 "$ref": "#/components/responses/cursor_expired"
8024 },
8025 "422": {
8026 "$ref": "#/components/responses/invalid_input"
8027 },
8028 "428": {
8029 "$ref": "#/components/responses/precondition_required"
8030 },
8031 "503": {
8032 "$ref": "#/components/responses/unavailable"
8033 }
8034 },
8035 "x-plan-part": "3b",
8036 "requestBody": {
8037 "required": true,
8038 "content": {
8039 "application/json": {
8040 "schema": {
8041 "$ref": "#/components/schemas/Empty"
8042 }
8043 }
8044 },
8045 "x-maxBytes": 65536,
8046 "x-rejectDuplicateKeys": true,
8047 "x-rejectUnknownFields": true
8048 }
8049 }
8050 },
8051 "/runners/enrol/approve": {
8052 "post": {
8053 "operationId": "post_runners_enrol_approve",
8054 "parameters": [
8055 {
8056 "name": "Idempotency-Key",
8057 "in": "header",
8058 "required": true,
8059 "schema": {
8060 "type": "string",
8061 "minLength": 1,
8062 "maxLength": 256,
8063 "x-maxBytes": 256
8064 }
8065 }
8066 ],
8067 "responses": {
8068 "200": {
8069 "description": "OK",
8070 "headers": {
8071 "ETag": {
8072 "schema": {
8073 "type": "string",
8074 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8075 }
8076 },
8077 "Cache-Control": {
8078 "schema": {
8079 "const": "no-store"
8080 }
8081 }
8082 },
8083 "content": {
8084 "application/json": {
8085 "schema": {
8086 "$ref": "#/components/schemas/Ack"
8087 }
8088 }
8089 }
8090 },
8091 "401": {
8092 "$ref": "#/components/responses/unauthenticated"
8093 },
8094 "403": {
8095 "$ref": "#/components/responses/forbidden"
8096 },
8097 "404": {
8098 "$ref": "#/components/responses/not_found"
8099 },
8100 "405": {
8101 "$ref": "#/components/responses/method_not_allowed"
8102 },
8103 "409": {
8104 "$ref": "#/components/responses/revision_conflict"
8105 },
8106 "410": {
8107 "$ref": "#/components/responses/cursor_expired"
8108 },
8109 "422": {
8110 "$ref": "#/components/responses/invalid_input"
8111 },
8112 "428": {
8113 "$ref": "#/components/responses/precondition_required"
8114 },
8115 "503": {
8116 "$ref": "#/components/responses/unavailable"
8117 }
8118 },
8119 "x-plan-part": "3b",
8120 "requestBody": {
8121 "required": true,
8122 "content": {
8123 "application/json": {
8124 "schema": {
8125 "$ref": "#/components/schemas/RunnerApproveInput"
8126 }
8127 }
8128 },
8129 "x-maxBytes": 65536,
8130 "x-rejectDuplicateKeys": true,
8131 "x-rejectUnknownFields": true
8132 }
8133 }
8134 },
8135 "/onboarding": {
8136 "get": {
8137 "operationId": "get_onboarding",
8138 "parameters": [],
8139 "responses": {
8140 "200": {
8141 "description": "OK",
8142 "headers": {
8143 "ETag": {
8144 "schema": {
8145 "type": "string",
8146 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8147 }
8148 },
8149 "Cache-Control": {
8150 "schema": {
8151 "const": "no-store"
8152 }
8153 }
8154 },
8155 "content": {
8156 "application/json": {
8157 "schema": {
8158 "$ref": "#/components/schemas/Onboarding"
8159 }
8160 }
8161 }
8162 },
8163 "401": {
8164 "$ref": "#/components/responses/unauthenticated"
8165 },
8166 "403": {
8167 "$ref": "#/components/responses/forbidden"
8168 },
8169 "404": {
8170 "$ref": "#/components/responses/not_found"
8171 },
8172 "405": {
8173 "$ref": "#/components/responses/method_not_allowed"
8174 },
8175 "409": {
8176 "$ref": "#/components/responses/revision_conflict"
8177 },
8178 "410": {
8179 "$ref": "#/components/responses/cursor_expired"
8180 },
8181 "422": {
8182 "$ref": "#/components/responses/invalid_input"
8183 },
8184 "428": {
8185 "$ref": "#/components/responses/precondition_required"
8186 },
8187 "503": {
8188 "$ref": "#/components/responses/unavailable"
8189 }
8190 },
8191 "x-plan-part": "3b"
8192 }
8193 },
8194 "/onboarding/advance": {
8195 "post": {
8196 "operationId": "post_onboarding_advance",
8197 "parameters": [
8198 {
8199 "name": "Idempotency-Key",
8200 "in": "header",
8201 "required": true,
8202 "schema": {
8203 "type": "string",
8204 "minLength": 1,
8205 "maxLength": 256,
8206 "x-maxBytes": 256
8207 }
8208 },
8209 {
8210 "name": "If-Match",
8211 "in": "header",
8212 "required": true,
8213 "schema": {
8214 "type": "string",
8215 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8216 }
8217 }
8218 ],
8219 "responses": {
8220 "200": {
8221 "description": "OK",
8222 "headers": {
8223 "ETag": {
8224 "schema": {
8225 "type": "string",
8226 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8227 }
8228 },
8229 "Cache-Control": {
8230 "schema": {
8231 "const": "no-store"
8232 }
8233 }
8234 },
8235 "content": {
8236 "application/json": {
8237 "schema": {
8238 "$ref": "#/components/schemas/OnboardingResult"
8239 }
8240 }
8241 }
8242 },
8243 "401": {
8244 "$ref": "#/components/responses/unauthenticated"
8245 },
8246 "403": {
8247 "$ref": "#/components/responses/forbidden"
8248 },
8249 "404": {
8250 "$ref": "#/components/responses/not_found"
8251 },
8252 "405": {
8253 "$ref": "#/components/responses/method_not_allowed"
8254 },
8255 "409": {
8256 "$ref": "#/components/responses/revision_conflict"
8257 },
8258 "410": {
8259 "$ref": "#/components/responses/cursor_expired"
8260 },
8261 "422": {
8262 "$ref": "#/components/responses/invalid_input"
8263 },
8264 "428": {
8265 "$ref": "#/components/responses/precondition_required"
8266 },
8267 "503": {
8268 "$ref": "#/components/responses/unavailable"
8269 }
8270 },
8271 "x-plan-part": "3b",
8272 "requestBody": {
8273 "required": true,
8274 "content": {
8275 "application/json": {
8276 "schema": {
8277 "$ref": "#/components/schemas/OnboardingInput"
8278 }
8279 }
8280 },
8281 "x-maxBytes": 65536,
8282 "x-rejectDuplicateKeys": true,
8283 "x-rejectUnknownFields": true
8284 }
8285 }
8286 },
8287 "/account-setups": {
8288 "post": {
8289 "operationId": "post_account_setups",
8290 "parameters": [
8291 {
8292 "name": "Idempotency-Key",
8293 "in": "header",
8294 "required": true,
8295 "schema": {
8296 "type": "string",
8297 "minLength": 1,
8298 "maxLength": 256,
8299 "x-maxBytes": 256
8300 }
8301 }
8302 ],
8303 "responses": {
8304 "200": {
8305 "description": "OK",
8306 "headers": {
8307 "ETag": {
8308 "schema": {
8309 "type": "string",
8310 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8311 }
8312 },
8313 "Cache-Control": {
8314 "schema": {
8315 "const": "no-store"
8316 }
8317 }
8318 },
8319 "content": {
8320 "application/json": {
8321 "schema": {
8322 "$ref": "#/components/schemas/AccountSetup"
8323 }
8324 }
8325 }
8326 },
8327 "401": {
8328 "$ref": "#/components/responses/unauthenticated"
8329 },
8330 "403": {
8331 "$ref": "#/components/responses/forbidden"
8332 },
8333 "404": {
8334 "$ref": "#/components/responses/not_found"
8335 },
8336 "405": {
8337 "$ref": "#/components/responses/method_not_allowed"
8338 },
8339 "409": {
8340 "$ref": "#/components/responses/revision_conflict"
8341 },
8342 "410": {
8343 "$ref": "#/components/responses/cursor_expired"
8344 },
8345 "422": {
8346 "$ref": "#/components/responses/invalid_input"
8347 },
8348 "428": {
8349 "$ref": "#/components/responses/precondition_required"
8350 },
8351 "503": {
8352 "$ref": "#/components/responses/unavailable"
8353 }
8354 },
8355 "x-plan-part": "3b",
8356 "requestBody": {
8357 "required": true,
8358 "content": {
8359 "application/json": {
8360 "schema": {
8361 "$ref": "#/components/schemas/AccountSetupInput"
8362 }
8363 }
8364 },
8365 "x-maxBytes": 65536,
8366 "x-rejectDuplicateKeys": true,
8367 "x-rejectUnknownFields": true
8368 }
8369 }
8370 },
8371 "/account-setups/{id}": {
8372 "get": {
8373 "operationId": "get_account_setups_id",
8374 "parameters": [
8375 {
8376 "name": "id",
8377 "in": "path",
8378 "required": true,
8379 "schema": {
8380 "type": "string"
8381 }
8382 }
8383 ],
8384 "responses": {
8385 "200": {
8386 "description": "OK",
8387 "headers": {
8388 "ETag": {
8389 "schema": {
8390 "type": "string",
8391 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8392 }
8393 },
8394 "Cache-Control": {
8395 "schema": {
8396 "const": "no-store"
8397 }
8398 }
8399 },
8400 "content": {
8401 "application/json": {
8402 "schema": {
8403 "$ref": "#/components/schemas/AccountSetup"
8404 }
8405 }
8406 }
8407 },
8408 "401": {
8409 "$ref": "#/components/responses/unauthenticated"
8410 },
8411 "403": {
8412 "$ref": "#/components/responses/forbidden"
8413 },
8414 "404": {
8415 "$ref": "#/components/responses/not_found"
8416 },
8417 "405": {
8418 "$ref": "#/components/responses/method_not_allowed"
8419 },
8420 "409": {
8421 "$ref": "#/components/responses/revision_conflict"
8422 },
8423 "410": {
8424 "$ref": "#/components/responses/cursor_expired"
8425 },
8426 "422": {
8427 "$ref": "#/components/responses/invalid_input"
8428 },
8429 "428": {
8430 "$ref": "#/components/responses/precondition_required"
8431 },
8432 "503": {
8433 "$ref": "#/components/responses/unavailable"
8434 }
8435 },
8436 "x-plan-part": "3b"
8437 },
8438 "delete": {
8439 "operationId": "delete_account_setups_id",
8440 "parameters": [
8441 {
8442 "name": "id",
8443 "in": "path",
8444 "required": true,
8445 "schema": {
8446 "type": "string"
8447 }
8448 },
8449 {
8450 "name": "Idempotency-Key",
8451 "in": "header",
8452 "required": true,
8453 "schema": {
8454 "type": "string",
8455 "minLength": 1,
8456 "maxLength": 256,
8457 "x-maxBytes": 256
8458 }
8459 },
8460 {
8461 "name": "If-Match",
8462 "in": "header",
8463 "required": true,
8464 "schema": {
8465 "type": "string",
8466 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8467 }
8468 }
8469 ],
8470 "responses": {
8471 "200": {
8472 "description": "OK",
8473 "headers": {
8474 "ETag": {
8475 "schema": {
8476 "type": "string",
8477 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8478 }
8479 },
8480 "Cache-Control": {
8481 "schema": {
8482 "const": "no-store"
8483 }
8484 }
8485 },
8486 "content": {
8487 "application/json": {
8488 "schema": {
8489 "$ref": "#/components/schemas/Ack"
8490 }
8491 }
8492 }
8493 },
8494 "401": {
8495 "$ref": "#/components/responses/unauthenticated"
8496 },
8497 "403": {
8498 "$ref": "#/components/responses/forbidden"
8499 },
8500 "404": {
8501 "$ref": "#/components/responses/not_found"
8502 },
8503 "405": {
8504 "$ref": "#/components/responses/method_not_allowed"
8505 },
8506 "409": {
8507 "$ref": "#/components/responses/revision_conflict"
8508 },
8509 "410": {
8510 "$ref": "#/components/responses/cursor_expired"
8511 },
8512 "422": {
8513 "$ref": "#/components/responses/invalid_input"
8514 },
8515 "428": {
8516 "$ref": "#/components/responses/precondition_required"
8517 },
8518 "503": {
8519 "$ref": "#/components/responses/unavailable"
8520 }
8521 },
8522 "x-plan-part": "3b",
8523 "requestBody": {
8524 "required": true,
8525 "content": {
8526 "application/json": {
8527 "schema": {
8528 "$ref": "#/components/schemas/Empty"
8529 }
8530 }
8531 },
8532 "x-maxBytes": 65536,
8533 "x-rejectDuplicateKeys": true,
8534 "x-rejectUnknownFields": true
8535 }
8536 }
8537 },
8538 "/invites": {
8539 "post": {
8540 "operationId": "post_invites",
8541 "parameters": [
8542 {
8543 "name": "Idempotency-Key",
8544 "in": "header",
8545 "required": true,
8546 "schema": {
8547 "type": "string",
8548 "minLength": 1,
8549 "maxLength": 256,
8550 "x-maxBytes": 256
8551 }
8552 }
8553 ],
8554 "responses": {
8555 "200": {
8556 "description": "OK",
8557 "headers": {
8558 "ETag": {
8559 "schema": {
8560 "type": "string",
8561 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8562 }
8563 },
8564 "Cache-Control": {
8565 "schema": {
8566 "const": "no-store"
8567 }
8568 }
8569 },
8570 "content": {
8571 "application/json": {
8572 "schema": {
8573 "$ref": "#/components/schemas/Invitation"
8574 }
8575 }
8576 }
8577 },
8578 "401": {
8579 "$ref": "#/components/responses/unauthenticated"
8580 },
8581 "403": {
8582 "$ref": "#/components/responses/forbidden"
8583 },
8584 "404": {
8585 "$ref": "#/components/responses/not_found"
8586 },
8587 "405": {
8588 "$ref": "#/components/responses/method_not_allowed"
8589 },
8590 "409": {
8591 "$ref": "#/components/responses/revision_conflict"
8592 },
8593 "410": {
8594 "$ref": "#/components/responses/cursor_expired"
8595 },
8596 "422": {
8597 "$ref": "#/components/responses/invalid_input"
8598 },
8599 "428": {
8600 "$ref": "#/components/responses/precondition_required"
8601 },
8602 "503": {
8603 "$ref": "#/components/responses/unavailable"
8604 }
8605 },
8606 "x-plan-part": "3b",
8607 "requestBody": {
8608 "required": true,
8609 "content": {
8610 "application/json": {
8611 "schema": {
8612 "$ref": "#/components/schemas/InviteInput"
8613 }
8614 }
8615 },
8616 "x-maxBytes": 65536,
8617 "x-rejectDuplicateKeys": true,
8618 "x-rejectUnknownFields": true
8619 }
8620 }
8621 },
8622 "/invites/{id}": {
8623 "get": {
8624 "operationId": "get_invites_id",
8625 "parameters": [
8626 {
8627 "name": "id",
8628 "in": "path",
8629 "required": true,
8630 "schema": {
8631 "type": "string"
8632 }
8633 }
8634 ],
8635 "responses": {
8636 "200": {
8637 "description": "OK",
8638 "headers": {
8639 "ETag": {
8640 "schema": {
8641 "type": "string",
8642 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8643 }
8644 },
8645 "Cache-Control": {
8646 "schema": {
8647 "const": "no-store"
8648 }
8649 }
8650 },
8651 "content": {
8652 "application/json": {
8653 "schema": {
8654 "$ref": "#/components/schemas/Invitation"
8655 }
8656 }
8657 }
8658 },
8659 "401": {
8660 "$ref": "#/components/responses/unauthenticated"
8661 },
8662 "403": {
8663 "$ref": "#/components/responses/forbidden"
8664 },
8665 "404": {
8666 "$ref": "#/components/responses/not_found"
8667 },
8668 "405": {
8669 "$ref": "#/components/responses/method_not_allowed"
8670 },
8671 "409": {
8672 "$ref": "#/components/responses/revision_conflict"
8673 },
8674 "410": {
8675 "$ref": "#/components/responses/cursor_expired"
8676 },
8677 "422": {
8678 "$ref": "#/components/responses/invalid_input"
8679 },
8680 "428": {
8681 "$ref": "#/components/responses/precondition_required"
8682 },
8683 "503": {
8684 "$ref": "#/components/responses/unavailable"
8685 }
8686 },
8687 "x-plan-part": "3b"
8688 },
8689 "delete": {
8690 "operationId": "delete_invites_id",
8691 "parameters": [
8692 {
8693 "name": "id",
8694 "in": "path",
8695 "required": true,
8696 "schema": {
8697 "type": "string"
8698 }
8699 },
8700 {
8701 "name": "Idempotency-Key",
8702 "in": "header",
8703 "required": true,
8704 "schema": {
8705 "type": "string",
8706 "minLength": 1,
8707 "maxLength": 256,
8708 "x-maxBytes": 256
8709 }
8710 },
8711 {
8712 "name": "If-Match",
8713 "in": "header",
8714 "required": true,
8715 "schema": {
8716 "type": "string",
8717 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8718 }
8719 }
8720 ],
8721 "responses": {
8722 "200": {
8723 "description": "OK",
8724 "headers": {
8725 "ETag": {
8726 "schema": {
8727 "type": "string",
8728 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8729 }
8730 },
8731 "Cache-Control": {
8732 "schema": {
8733 "const": "no-store"
8734 }
8735 }
8736 },
8737 "content": {
8738 "application/json": {
8739 "schema": {
8740 "$ref": "#/components/schemas/Ack"
8741 }
8742 }
8743 }
8744 },
8745 "401": {
8746 "$ref": "#/components/responses/unauthenticated"
8747 },
8748 "403": {
8749 "$ref": "#/components/responses/forbidden"
8750 },
8751 "404": {
8752 "$ref": "#/components/responses/not_found"
8753 },
8754 "405": {
8755 "$ref": "#/components/responses/method_not_allowed"
8756 },
8757 "409": {
8758 "$ref": "#/components/responses/revision_conflict"
8759 },
8760 "410": {
8761 "$ref": "#/components/responses/cursor_expired"
8762 },
8763 "422": {
8764 "$ref": "#/components/responses/invalid_input"
8765 },
8766 "428": {
8767 "$ref": "#/components/responses/precondition_required"
8768 },
8769 "503": {
8770 "$ref": "#/components/responses/unavailable"
8771 }
8772 },
8773 "x-plan-part": "3b",
8774 "requestBody": {
8775 "required": true,
8776 "content": {
8777 "application/json": {
8778 "schema": {
8779 "$ref": "#/components/schemas/Empty"
8780 }
8781 }
8782 },
8783 "x-maxBytes": 65536,
8784 "x-rejectDuplicateKeys": true,
8785 "x-rejectUnknownFields": true
8786 }
8787 }
8788 },
8789 "/invites/{id}/accept": {
8790 "post": {
8791 "operationId": "post_invites_id_accept",
8792 "parameters": [
8793 {
8794 "name": "id",
8795 "in": "path",
8796 "required": true,
8797 "schema": {
8798 "type": "string"
8799 }
8800 },
8801 {
8802 "name": "Idempotency-Key",
8803 "in": "header",
8804 "required": true,
8805 "schema": {
8806 "type": "string",
8807 "minLength": 1,
8808 "maxLength": 256,
8809 "x-maxBytes": 256
8810 }
8811 },
8812 {
8813 "name": "If-Match",
8814 "in": "header",
8815 "required": true,
8816 "schema": {
8817 "type": "string",
8818 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8819 }
8820 }
8821 ],
8822 "responses": {
8823 "200": {
8824 "description": "OK",
8825 "headers": {
8826 "ETag": {
8827 "schema": {
8828 "type": "string",
8829 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8830 }
8831 },
8832 "Cache-Control": {
8833 "schema": {
8834 "const": "no-store"
8835 }
8836 }
8837 },
8838 "content": {
8839 "application/json": {
8840 "schema": {
8841 "$ref": "#/components/schemas/RosterMember"
8842 }
8843 }
8844 }
8845 },
8846 "401": {
8847 "$ref": "#/components/responses/unauthenticated"
8848 },
8849 "403": {
8850 "$ref": "#/components/responses/forbidden"
8851 },
8852 "404": {
8853 "$ref": "#/components/responses/not_found"
8854 },
8855 "405": {
8856 "$ref": "#/components/responses/method_not_allowed"
8857 },
8858 "409": {
8859 "$ref": "#/components/responses/revision_conflict"
8860 },
8861 "410": {
8862 "$ref": "#/components/responses/cursor_expired"
8863 },
8864 "422": {
8865 "$ref": "#/components/responses/invalid_input"
8866 },
8867 "428": {
8868 "$ref": "#/components/responses/precondition_required"
8869 },
8870 "503": {
8871 "$ref": "#/components/responses/unavailable"
8872 }
8873 },
8874 "x-plan-part": "3b",
8875 "requestBody": {
8876 "required": true,
8877 "content": {
8878 "application/json": {
8879 "schema": {
8880 "$ref": "#/components/schemas/AcceptInviteInput"
8881 }
8882 }
8883 },
8884 "x-maxBytes": 65536,
8885 "x-rejectDuplicateKeys": true,
8886 "x-rejectUnknownFields": true
8887 },
8888 "security": [
8889 {
8890 "browserSession": []
8891 }
8892 ]
8893 }
8894 },
8895 "/notifications": {
8896 "get": {
8897 "operationId": "get_notifications",
8898 "parameters": [
8899 {
8900 "name": "cursor",
8901 "in": "query",
8902 "schema": {
8903 "type": "string"
8904 }
8905 },
8906 {
8907 "name": "limit",
8908 "in": "query",
8909 "schema": {
8910 "type": "integer",
8911 "default": 50,
8912 "minimum": 1,
8913 "maximum": 100
8914 }
8915 }
8916 ],
8917 "responses": {
8918 "200": {
8919 "description": "OK",
8920 "headers": {
8921 "ETag": {
8922 "schema": {
8923 "type": "string",
8924 "pattern": "^\"(0|[1-9][0-9]*)\"$"
8925 }
8926 },
8927 "Cache-Control": {
8928 "schema": {
8929 "const": "no-store"
8930 }
8931 }
8932 },
8933 "content": {
8934 "application/json": {
8935 "schema": {
8936 "$ref": "#/components/schemas/NotificationPage"
8937 }
8938 }
8939 }
8940 },
8941 "401": {
8942 "$ref": "#/components/responses/unauthenticated"
8943 },
8944 "403": {
8945 "$ref": "#/components/responses/forbidden"
8946 },
8947 "404": {
8948 "$ref": "#/components/responses/not_found"
8949 },
8950 "405": {
8951 "$ref": "#/components/responses/method_not_allowed"
8952 },
8953 "409": {
8954 "$ref": "#/components/responses/revision_conflict"
8955 },
8956 "410": {
8957 "description": "cursor_expired or subscription_expired",
8958 "content": {
8959 "application/json": {
8960 "schema": {
8961 "$ref": "#/components/schemas/Error"
8962 }
8963 }
8964 }
8965 },
8966 "422": {
8967 "$ref": "#/components/responses/invalid_input"
8968 },
8969 "428": {
8970 "$ref": "#/components/responses/precondition_required"
8971 },
8972 "503": {
8973 "$ref": "#/components/responses/unavailable"
8974 }
8975 },
8976 "x-plan-part": "3b"
8977 }
8978 },
8979 "/notification-subscriptions": {
8980 "post": {
8981 "operationId": "post_notification_subscriptions",
8982 "parameters": [
8983 {
8984 "name": "Idempotency-Key",
8985 "in": "header",
8986 "required": true,
8987 "schema": {
8988 "type": "string",
8989 "minLength": 1,
8990 "maxLength": 256,
8991 "x-maxBytes": 256
8992 }
8993 }
8994 ],
8995 "responses": {
8996 "200": {
8997 "description": "OK",
8998 "headers": {
8999 "ETag": {
9000 "schema": {
9001 "type": "string",
9002 "pattern": "^\"(0|[1-9][0-9]*)\"$"
9003 }
9004 },
9005 "Cache-Control": {
9006 "schema": {
9007 "const": "no-store"
9008 }
9009 }
9010 },
9011 "content": {
9012 "application/json": {
9013 "schema": {
9014 "$ref": "#/components/schemas/NotificationSubscription"
9015 }
9016 }
9017 }
9018 },
9019 "401": {
9020 "$ref": "#/components/responses/unauthenticated"
9021 },
9022 "403": {
9023 "$ref": "#/components/responses/forbidden"
9024 },
9025 "404": {
9026 "$ref": "#/components/responses/not_found"
9027 },
9028 "405": {
9029 "$ref": "#/components/responses/method_not_allowed"
9030 },
9031 "409": {
9032 "$ref": "#/components/responses/revision_conflict"
9033 },
9034 "410": {
9035 "description": "cursor_expired or subscription_expired",
9036 "content": {
9037 "application/json": {
9038 "schema": {
9039 "$ref": "#/components/schemas/Error"
9040 }
9041 }
9042 }
9043 },
9044 "422": {
9045 "$ref": "#/components/responses/invalid_input"
9046 },
9047 "428": {
9048 "$ref": "#/components/responses/precondition_required"
9049 },
9050 "503": {
9051 "$ref": "#/components/responses/unavailable"
9052 }
9053 },
9054 "x-plan-part": "3b",
9055 "requestBody": {
9056 "required": true,
9057 "content": {
9058 "application/json": {
9059 "schema": {
9060 "$ref": "#/components/schemas/SubscribeNotificationsInput"
9061 }
9062 }
9063 },
9064 "x-maxBytes": 65536,
9065 "x-rejectDuplicateKeys": true,
9066 "x-rejectUnknownFields": true
9067 }
9068 }
9069 },
9070 "/notification-subscriptions/{id}": {
9071 "delete": {
9072 "operationId": "delete_notification_subscriptions_id",
9073 "parameters": [
9074 {
9075 "name": "id",
9076 "in": "path",
9077 "required": true,
9078 "schema": {
9079 "type": "string"
9080 }
9081 },
9082 {
9083 "name": "Idempotency-Key",
9084 "in": "header",
9085 "required": true,
9086 "schema": {
9087 "type": "string",
9088 "minLength": 1,
9089 "maxLength": 256,
9090 "x-maxBytes": 256
9091 }
9092 },
9093 {
9094 "name": "If-Match",
9095 "in": "header",
9096 "required": true,
9097 "schema": {
9098 "type": "string",
9099 "pattern": "^\"(0|[1-9][0-9]*)\"$"
9100 }
9101 }
9102 ],
9103 "responses": {
9104 "200": {
9105 "description": "OK",
9106 "headers": {
9107 "ETag": {
9108 "schema": {
9109 "type": "string",
9110 "pattern": "^\"(0|[1-9][0-9]*)\"$"
9111 }
9112 },
9113 "Cache-Control": {
9114 "schema": {
9115 "const": "no-store"
9116 }
9117 }
9118 },
9119 "content": {
9120 "application/json": {
9121 "schema": {
9122 "$ref": "#/components/schemas/Ack"
9123 }
9124 }
9125 }
9126 },
9127 "401": {
9128 "$ref": "#/components/responses/unauthenticated"
9129 },
9130 "403": {
9131 "$ref": "#/components/responses/forbidden"
9132 },
9133 "404": {
9134 "$ref": "#/components/responses/not_found"
9135 },
9136 "405": {
9137 "$ref": "#/components/responses/method_not_allowed"
9138 },
9139 "409": {
9140 "$ref": "#/components/responses/revision_conflict"
9141 },
9142 "410": {
9143 "description": "cursor_expired or subscription_expired",
9144 "content": {
9145 "application/json": {
9146 "schema": {
9147 "$ref": "#/components/schemas/Error"
9148 }
9149 }
9150 }
9151 },
9152 "422": {
9153 "$ref": "#/components/responses/invalid_input"
9154 },
9155 "428": {
9156 "$ref": "#/components/responses/precondition_required"
9157 },
9158 "503": {
9159 "$ref": "#/components/responses/unavailable"
9160 }
9161 },
9162 "x-plan-part": "3b",
9163 "requestBody": {
9164 "required": true,
9165 "content": {
9166 "application/json": {
9167 "schema": {
9168 "$ref": "#/components/schemas/Empty"
9169 }
9170 }
9171 },
9172 "x-maxBytes": 65536,
9173 "x-rejectDuplicateKeys": true,
9174 "x-rejectUnknownFields": true
9175 }
9176 }
9177 },
9178 "/notification-subscriptions/{id}/ack": {
9179 "post": {
9180 "operationId": "post_notification_subscriptions_id_ack",
9181 "parameters": [
9182 {
9183 "name": "id",
9184 "in": "path",
9185 "required": true,
9186 "schema": {
9187 "type": "string"
9188 }
9189 },
9190 {
9191 "name": "Idempotency-Key",
9192 "in": "header",
9193 "required": true,
9194 "schema": {
9195 "type": "string",
9196 "minLength": 1,
9197 "maxLength": 256,
9198 "x-maxBytes": 256
9199 }
9200 },
9201 {
9202 "name": "If-Match",
9203 "in": "header",
9204 "required": true,
9205 "schema": {
9206 "type": "string",
9207 "pattern": "^\"(0|[1-9][0-9]*)\"$"
9208 }
9209 }
9210 ],
9211 "responses": {
9212 "200": {
9213 "description": "OK",
9214 "headers": {
9215 "ETag": {
9216 "schema": {
9217 "type": "string",
9218 "pattern": "^\"(0|[1-9][0-9]*)\"$"
9219 }
9220 },
9221 "Cache-Control": {
9222 "schema": {
9223 "const": "no-store"
9224 }
9225 }
9226 },
9227 "content": {
9228 "application/json": {
9229 "schema": {
9230 "$ref": "#/components/schemas/Ack"
9231 }
9232 }
9233 }
9234 },
9235 "401": {
9236 "$ref": "#/components/responses/unauthenticated"
9237 },
9238 "403": {
9239 "$ref": "#/components/responses/forbidden"
9240 },
9241 "404": {
9242 "$ref": "#/components/responses/not_found"
9243 },
9244 "405": {
9245 "$ref": "#/components/responses/method_not_allowed"
9246 },
9247 "409": {
9248 "$ref": "#/components/responses/revision_conflict"
9249 },
9250 "410": {
9251 "description": "cursor_expired or subscription_expired",
9252 "content": {
9253 "application/json": {
9254 "schema": {
9255 "$ref": "#/components/schemas/Error"
9256 }
9257 }
9258 }
9259 },
9260 "422": {
9261 "$ref": "#/components/responses/invalid_input"
9262 },
9263 "428": {
9264 "$ref": "#/components/responses/precondition_required"
9265 },
9266 "503": {
9267 "$ref": "#/components/responses/unavailable"
9268 }
9269 },
9270 "x-plan-part": "3b",
9271 "requestBody": {
9272 "required": true,
9273 "content": {
9274 "application/json": {
9275 "schema": {
9276 "$ref": "#/components/schemas/AcknowledgeNotificationInput"
9277 }
9278 }
9279 },
9280 "x-maxBytes": 65536,
9281 "x-rejectDuplicateKeys": true,
9282 "x-rejectUnknownFields": true
9283 }
9284 }
9285 },
9286 "/assistant/snapshot": {
9287 "get": {
9288 "operationId": "get_assistant_snapshot",
9289 "security": [
9290 {
9291 "personBearer": []
9292 }
9293 ],
9294 "parameters": [
9295 {
9296 "name": "job_states",
9297 "in": "query",
9298 "required": false,
9299 "description": "Job card states this client knows beyond the first five, comma-separated: `paused`. Without it a paused job card comes as `working`.",
9300 "schema": {
9301 "type": "string"
9302 }
9303 }
9304 ],
9305 "responses": {
9306 "200": {
9307 "description": "OK",
9308 "headers": {
9309 "Cache-Control": {
9310 "schema": {
9311 "const": "no-store"
9312 }
9313 }
9314 },
9315 "content": {
9316 "application/json": {
9317 "schema": {
9318 "$ref": "#/components/schemas/AssistantSnapshot"
9319 }
9320 }
9321 }
9322 },
9323 "401": {
9324 "$ref": "#/components/responses/unauthenticated"
9325 },
9326 "503": {
9327 "$ref": "#/components/responses/unavailable"
9328 }
9329 }
9330 }
9331 },
9332 "/assistant/messages": {
9333 "get": {
9334 "operationId": "get_assistant_messages",
9335 "security": [
9336 {
9337 "personBearer": []
9338 }
9339 ],
9340 "parameters": [
9341 {
9342 "name": "before",
9343 "in": "query",
9344 "schema": {
9345 "type": "string"
9346 }
9347 },
9348 {
9349 "name": "limit",
9350 "in": "query",
9351 "schema": {
9352 "type": "integer",
9353 "default": 50,
9354 "minimum": 1,
9355 "maximum": 200
9356 }
9357 }
9358 ],
9359 "responses": {
9360 "200": {
9361 "description": "OK",
9362 "headers": {
9363 "Cache-Control": {
9364 "schema": {
9365 "const": "no-store"
9366 }
9367 }
9368 },
9369 "content": {
9370 "application/json": {
9371 "schema": {
9372 "$ref": "#/components/schemas/AssistantMessagePage"
9373 }
9374 }
9375 }
9376 },
9377 "404": {
9378 "$ref": "#/components/responses/not_found"
9379 },
9380 "422": {
9381 "$ref": "#/components/responses/invalid_input"
9382 },
9383 "401": {
9384 "$ref": "#/components/responses/unauthenticated"
9385 },
9386 "503": {
9387 "$ref": "#/components/responses/unavailable"
9388 }
9389 }
9390 },
9391 "post": {
9392 "operationId": "post_assistant_messages",
9393 "security": [
9394 {
9395 "personBearer": []
9396 }
9397 ],
9398 "parameters": [],
9399 "responses": {
9400 "200": {
9401 "description": "OK",
9402 "headers": {
9403 "Cache-Control": {
9404 "schema": {
9405 "const": "no-store"
9406 }
9407 }
9408 },
9409 "content": {
9410 "application/json": {
9411 "schema": {
9412 "$ref": "#/components/schemas/AssistantSent"
9413 }
9414 }
9415 }
9416 },
9417 "201": {
9418 "description": "Created",
9419 "headers": {
9420 "Cache-Control": {
9421 "schema": {
9422 "const": "no-store"
9423 }
9424 }
9425 },
9426 "content": {
9427 "application/json": {
9428 "schema": {
9429 "$ref": "#/components/schemas/AssistantSent"
9430 }
9431 }
9432 }
9433 },
9434 "409": {
9435 "description": "idempotency_conflict, no_runner, runner_too_old or attachments_unavailable",
9436 "headers": {
9437 "Cache-Control": {
9438 "schema": {
9439 "const": "no-store"
9440 }
9441 }
9442 },
9443 "content": {
9444 "application/json": {
9445 "schema": {
9446 "$ref": "#/components/schemas/AssistantError"
9447 }
9448 }
9449 }
9450 },
9451 "422": {
9452 "$ref": "#/components/responses/invalid_input"
9453 },
9454 "401": {
9455 "$ref": "#/components/responses/unauthenticated"
9456 },
9457 "503": {
9458 "$ref": "#/components/responses/unavailable"
9459 }
9460 },
9461 "requestBody": {
9462 "required": true,
9463 "content": {
9464 "application/json": {
9465 "schema": {
9466 "$ref": "#/components/schemas/AssistantSendInput"
9467 }
9468 }
9469 },
9470 "x-maxBytes": 32768,
9471 "x-rejectDuplicateKeys": false,
9472 "x-rejectUnknownFields": true
9473 }
9474 }
9475 },
9476 "/assistant/turns/{id}/cancel": {
9477 "post": {
9478 "operationId": "post_assistant_turns_id_cancel",
9479 "security": [
9480 {
9481 "personBearer": []
9482 }
9483 ],
9484 "parameters": [
9485 {
9486 "name": "id",
9487 "in": "path",
9488 "required": true,
9489 "schema": {
9490 "type": "string"
9491 }
9492 }
9493 ],
9494 "responses": {
9495 "202": {
9496 "description": "Accepted",
9497 "headers": {
9498 "Cache-Control": {
9499 "schema": {
9500 "const": "no-store"
9501 }
9502 }
9503 },
9504 "content": {
9505 "application/json": {
9506 "schema": {
9507 "$ref": "#/components/schemas/AssistantCancelAccepted"
9508 }
9509 }
9510 }
9511 },
9512 "404": {
9513 "$ref": "#/components/responses/not_found"
9514 },
9515 "409": {
9516 "description": "turn_ended",
9517 "headers": {
9518 "Cache-Control": {
9519 "schema": {
9520 "const": "no-store"
9521 }
9522 }
9523 },
9524 "content": {
9525 "application/json": {
9526 "schema": {
9527 "$ref": "#/components/schemas/AssistantError"
9528 }
9529 }
9530 }
9531 },
9532 "401": {
9533 "$ref": "#/components/responses/unauthenticated"
9534 },
9535 "503": {
9536 "$ref": "#/components/responses/unavailable"
9537 }
9538 },
9539 "requestBody": {
9540 "required": false,
9541 "content": {
9542 "application/json": {
9543 "schema": {
9544 "$ref": "#/components/schemas/Empty"
9545 }
9546 }
9547 },
9548 "x-maxBytes": 32768,
9549 "x-rejectDuplicateKeys": false,
9550 "x-rejectUnknownFields": true
9551 }
9552 }
9553 },
9554 "/assistant/cards/{id}/answer": {
9555 "post": {
9556 "operationId": "post_assistant_cards_id_answer",
9557 "security": [
9558 {
9559 "personBearer": []
9560 }
9561 ],
9562 "parameters": [
9563 {
9564 "name": "id",
9565 "in": "path",
9566 "required": true,
9567 "schema": {
9568 "type": "string"
9569 }
9570 }
9571 ],
9572 "responses": {
9573 "200": {
9574 "description": "OK",
9575 "headers": {
9576 "Cache-Control": {
9577 "schema": {
9578 "const": "no-store"
9579