@rentnerproxy/app-contracts 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +32 -2
  3. package/contracts.schema.json +4007 -0
  4. package/dist/Types/contract.types.d.ts +15 -0
  5. package/dist/Types/contract.types.js +1 -0
  6. package/dist/catalog.d.ts +352 -0
  7. package/dist/catalog.js +54 -0
  8. package/dist/client.d.ts +31 -0
  9. package/dist/client.js +66 -0
  10. package/dist/http-operations.d.ts +333 -0
  11. package/dist/http-operations.generated.d.ts +299 -0
  12. package/dist/http-operations.generated.js +300 -0
  13. package/dist/http-operations.js +17 -0
  14. package/dist/http.d.ts +127 -0
  15. package/dist/http.js +142 -0
  16. package/dist/index.d.ts +5 -0
  17. package/dist/index.js +4 -0
  18. package/dist/manifest.d.ts +90 -0
  19. package/dist/manifest.js +106 -0
  20. package/dist/platform-api.d.ts +282 -0
  21. package/dist/platform-api.js +287 -0
  22. package/dist/primitives.d.ts +33 -0
  23. package/dist/primitives.js +87 -0
  24. package/dist/provider-api.d.ts +221 -0
  25. package/dist/provider-api.js +227 -0
  26. package/dist/publication.d.ts +410 -0
  27. package/dist/publication.js +50 -0
  28. package/dist/runtime.d.ts +75 -0
  29. package/dist/runtime.js +88 -0
  30. package/dist/schemas.d.ts +926 -0
  31. package/dist/schemas.js +114 -0
  32. package/dist/ui-bridge.d.ts +81 -0
  33. package/dist/ui-bridge.js +92 -0
  34. package/dist/validation.d.ts +784 -0
  35. package/dist/validation.js +245 -0
  36. package/dist/wire.d.ts +31 -0
  37. package/dist/wire.js +54 -0
  38. package/fixtures.json +1094 -0
  39. package/http-fixtures.json +829 -0
  40. package/openapi.json +2557 -0
  41. package/package.json +56 -5
  42. package/protocol-fixtures.json +1804 -0
  43. package/upstream-probe-fixtures.json +852 -0
package/openapi.json ADDED
@@ -0,0 +1,2557 @@
1
+ {
2
+ "openapi": "3.1.2",
3
+ "info": {
4
+ "title": "RentnerProxy App Protocol",
5
+ "version": "1.0.0",
6
+ "description": "Stable version 1 contract for native apps. HTTP uses the declared private Unix socket for each operation. The matching SDK verifies cross-record invariants. Platform authorization is required at the runtime boundary."
7
+ },
8
+ "paths": {
9
+ "/app/v1/health": {
10
+ "get": {
11
+ "operationId": "getAppHealth",
12
+ "summary": "Check app process health",
13
+ "x-rentnerproxy-socket": "app.sock",
14
+ "security": [
15
+ {
16
+ "AppCredential": []
17
+ }
18
+ ],
19
+ "parameters": [
20
+ {
21
+ "$ref": "#/components/parameters/Installation"
22
+ },
23
+ {
24
+ "$ref": "#/components/parameters/Generation"
25
+ }
26
+ ],
27
+ "responses": {
28
+ "200": {
29
+ "description": "The operation result.",
30
+ "content": {
31
+ "application/json": {
32
+ "schema": {
33
+ "$ref": "#/components/schemas/AppHealth"
34
+ }
35
+ }
36
+ }
37
+ },
38
+ "401": {
39
+ "description": "The request credential is absent or invalid.",
40
+ "content": {
41
+ "application/problem+json": {
42
+ "schema": {
43
+ "$ref": "#/components/schemas/Problem"
44
+ }
45
+ }
46
+ }
47
+ },
48
+ "403": {
49
+ "description": "The installation, generation, actor, or resource is unauthorized.",
50
+ "content": {
51
+ "application/problem+json": {
52
+ "schema": {
53
+ "$ref": "#/components/schemas/Problem"
54
+ }
55
+ }
56
+ }
57
+ },
58
+ "503": {
59
+ "description": "The app is unhealthy.",
60
+ "content": {
61
+ "application/problem+json": {
62
+ "schema": {
63
+ "$ref": "#/components/schemas/Problem"
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "4XX": {
69
+ "description": "The request was rejected with a stable problem code.",
70
+ "content": {
71
+ "application/problem+json": {
72
+ "schema": {
73
+ "$ref": "#/components/schemas/Problem"
74
+ }
75
+ }
76
+ }
77
+ },
78
+ "5XX": {
79
+ "description": "The operation failed with a stable problem code.",
80
+ "content": {
81
+ "application/problem+json": {
82
+ "schema": {
83
+ "$ref": "#/components/schemas/Problem"
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "/app/v1/ready": {
92
+ "get": {
93
+ "operationId": "getAppReadiness",
94
+ "summary": "Check readiness for the negotiated generation",
95
+ "x-rentnerproxy-socket": "app.sock",
96
+ "security": [
97
+ {
98
+ "AppCredential": []
99
+ }
100
+ ],
101
+ "parameters": [
102
+ {
103
+ "$ref": "#/components/parameters/Installation"
104
+ },
105
+ {
106
+ "$ref": "#/components/parameters/Generation"
107
+ }
108
+ ],
109
+ "responses": {
110
+ "200": {
111
+ "description": "The operation result.",
112
+ "content": {
113
+ "application/json": {
114
+ "schema": {
115
+ "$ref": "#/components/schemas/AppReadiness"
116
+ }
117
+ }
118
+ }
119
+ },
120
+ "401": {
121
+ "description": "The request credential is absent or invalid.",
122
+ "content": {
123
+ "application/problem+json": {
124
+ "schema": {
125
+ "$ref": "#/components/schemas/Problem"
126
+ }
127
+ }
128
+ }
129
+ },
130
+ "403": {
131
+ "description": "The installation, generation, actor, or resource is unauthorized.",
132
+ "content": {
133
+ "application/problem+json": {
134
+ "schema": {
135
+ "$ref": "#/components/schemas/Problem"
136
+ }
137
+ }
138
+ }
139
+ },
140
+ "503": {
141
+ "description": "The app or its required context is unavailable.",
142
+ "content": {
143
+ "application/problem+json": {
144
+ "schema": {
145
+ "$ref": "#/components/schemas/Problem"
146
+ }
147
+ }
148
+ }
149
+ },
150
+ "4XX": {
151
+ "description": "The request was rejected with a stable problem code.",
152
+ "content": {
153
+ "application/problem+json": {
154
+ "schema": {
155
+ "$ref": "#/components/schemas/Problem"
156
+ }
157
+ }
158
+ }
159
+ },
160
+ "5XX": {
161
+ "description": "The operation failed with a stable problem code.",
162
+ "content": {
163
+ "application/problem+json": {
164
+ "schema": {
165
+ "$ref": "#/components/schemas/Problem"
166
+ }
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+ },
173
+ "/app/v1/lifecycle/activate": {
174
+ "post": {
175
+ "operationId": "activateApp",
176
+ "summary": "Activate the prepared app generation",
177
+ "x-rentnerproxy-socket": "app.sock",
178
+ "security": [
179
+ {
180
+ "AppCredential": []
181
+ }
182
+ ],
183
+ "parameters": [
184
+ {
185
+ "$ref": "#/components/parameters/Installation"
186
+ },
187
+ {
188
+ "$ref": "#/components/parameters/Generation"
189
+ },
190
+ {
191
+ "$ref": "#/components/parameters/IdempotencyKey"
192
+ }
193
+ ],
194
+ "responses": {
195
+ "204": {
196
+ "description": "The operation completed."
197
+ },
198
+ "401": {
199
+ "description": "The request credential is absent or invalid.",
200
+ "content": {
201
+ "application/problem+json": {
202
+ "schema": {
203
+ "$ref": "#/components/schemas/Problem"
204
+ }
205
+ }
206
+ }
207
+ },
208
+ "403": {
209
+ "description": "The installation, generation, actor, or resource is unauthorized.",
210
+ "content": {
211
+ "application/problem+json": {
212
+ "schema": {
213
+ "$ref": "#/components/schemas/Problem"
214
+ }
215
+ }
216
+ }
217
+ },
218
+ "409": {
219
+ "description": "The resource, generation, or idempotency key conflicts.",
220
+ "content": {
221
+ "application/problem+json": {
222
+ "schema": {
223
+ "$ref": "#/components/schemas/Problem"
224
+ }
225
+ }
226
+ }
227
+ },
228
+ "4XX": {
229
+ "description": "The request was rejected with a stable problem code.",
230
+ "content": {
231
+ "application/problem+json": {
232
+ "schema": {
233
+ "$ref": "#/components/schemas/Problem"
234
+ }
235
+ }
236
+ }
237
+ },
238
+ "5XX": {
239
+ "description": "The operation failed with a stable problem code.",
240
+ "content": {
241
+ "application/problem+json": {
242
+ "schema": {
243
+ "$ref": "#/components/schemas/Problem"
244
+ }
245
+ }
246
+ }
247
+ }
248
+ }
249
+ }
250
+ },
251
+ "/app/v1/lifecycle/drain": {
252
+ "post": {
253
+ "operationId": "drainApp",
254
+ "summary": "Drain the active app generation",
255
+ "x-rentnerproxy-socket": "app.sock",
256
+ "security": [
257
+ {
258
+ "AppCredential": []
259
+ }
260
+ ],
261
+ "parameters": [
262
+ {
263
+ "$ref": "#/components/parameters/Installation"
264
+ },
265
+ {
266
+ "$ref": "#/components/parameters/Generation"
267
+ },
268
+ {
269
+ "$ref": "#/components/parameters/IdempotencyKey"
270
+ }
271
+ ],
272
+ "responses": {
273
+ "204": {
274
+ "description": "The operation completed."
275
+ },
276
+ "401": {
277
+ "description": "The request credential is absent or invalid.",
278
+ "content": {
279
+ "application/problem+json": {
280
+ "schema": {
281
+ "$ref": "#/components/schemas/Problem"
282
+ }
283
+ }
284
+ }
285
+ },
286
+ "403": {
287
+ "description": "The installation, generation, actor, or resource is unauthorized.",
288
+ "content": {
289
+ "application/problem+json": {
290
+ "schema": {
291
+ "$ref": "#/components/schemas/Problem"
292
+ }
293
+ }
294
+ }
295
+ },
296
+ "409": {
297
+ "description": "The resource, generation, or idempotency key conflicts.",
298
+ "content": {
299
+ "application/problem+json": {
300
+ "schema": {
301
+ "$ref": "#/components/schemas/Problem"
302
+ }
303
+ }
304
+ }
305
+ },
306
+ "4XX": {
307
+ "description": "The request was rejected with a stable problem code.",
308
+ "content": {
309
+ "application/problem+json": {
310
+ "schema": {
311
+ "$ref": "#/components/schemas/Problem"
312
+ }
313
+ }
314
+ }
315
+ },
316
+ "5XX": {
317
+ "description": "The operation failed with a stable problem code.",
318
+ "content": {
319
+ "application/problem+json": {
320
+ "schema": {
321
+ "$ref": "#/components/schemas/Problem"
322
+ }
323
+ }
324
+ }
325
+ }
326
+ }
327
+ }
328
+ },
329
+ "/app/v1/lifecycle/deactivate": {
330
+ "post": {
331
+ "operationId": "deactivateApp",
332
+ "summary": "Deactivate the drained app generation",
333
+ "x-rentnerproxy-socket": "app.sock",
334
+ "security": [
335
+ {
336
+ "AppCredential": []
337
+ }
338
+ ],
339
+ "parameters": [
340
+ {
341
+ "$ref": "#/components/parameters/Installation"
342
+ },
343
+ {
344
+ "$ref": "#/components/parameters/Generation"
345
+ },
346
+ {
347
+ "$ref": "#/components/parameters/IdempotencyKey"
348
+ }
349
+ ],
350
+ "responses": {
351
+ "204": {
352
+ "description": "The operation completed."
353
+ },
354
+ "401": {
355
+ "description": "The request credential is absent or invalid.",
356
+ "content": {
357
+ "application/problem+json": {
358
+ "schema": {
359
+ "$ref": "#/components/schemas/Problem"
360
+ }
361
+ }
362
+ }
363
+ },
364
+ "403": {
365
+ "description": "The installation, generation, actor, or resource is unauthorized.",
366
+ "content": {
367
+ "application/problem+json": {
368
+ "schema": {
369
+ "$ref": "#/components/schemas/Problem"
370
+ }
371
+ }
372
+ }
373
+ },
374
+ "409": {
375
+ "description": "The resource, generation, or idempotency key conflicts.",
376
+ "content": {
377
+ "application/problem+json": {
378
+ "schema": {
379
+ "$ref": "#/components/schemas/Problem"
380
+ }
381
+ }
382
+ }
383
+ },
384
+ "4XX": {
385
+ "description": "The request was rejected with a stable problem code.",
386
+ "content": {
387
+ "application/problem+json": {
388
+ "schema": {
389
+ "$ref": "#/components/schemas/Problem"
390
+ }
391
+ }
392
+ }
393
+ },
394
+ "5XX": {
395
+ "description": "The operation failed with a stable problem code.",
396
+ "content": {
397
+ "application/problem+json": {
398
+ "schema": {
399
+ "$ref": "#/components/schemas/Problem"
400
+ }
401
+ }
402
+ }
403
+ }
404
+ }
405
+ }
406
+ },
407
+ "/app/v1/api/{operationId}": {
408
+ "post": {
409
+ "operationId": "callAppApi",
410
+ "summary": "Invoke an app-owned operation declared by the package",
411
+ "description": "The authenticated gateway verifies current user and resource access, then validates the request and result against the installed package API for this operation ID.",
412
+ "x-rentnerproxy-socket": "app.sock",
413
+ "security": [
414
+ {
415
+ "AppCredential": []
416
+ }
417
+ ],
418
+ "parameters": [
419
+ {
420
+ "$ref": "#/components/parameters/Installation"
421
+ },
422
+ {
423
+ "$ref": "#/components/parameters/Generation"
424
+ },
425
+ {
426
+ "$ref": "#/components/parameters/operationId"
427
+ },
428
+ {
429
+ "$ref": "#/components/parameters/IdempotencyKey"
430
+ }
431
+ ],
432
+ "requestBody": {
433
+ "required": true,
434
+ "content": {
435
+ "application/json": {
436
+ "schema": {
437
+ "$ref": "#/components/schemas/AppApiPayload"
438
+ }
439
+ }
440
+ }
441
+ },
442
+ "responses": {
443
+ "200": {
444
+ "description": "The operation result.",
445
+ "content": {
446
+ "application/json": {
447
+ "schema": {
448
+ "$ref": "#/components/schemas/AppApiPayload"
449
+ }
450
+ }
451
+ }
452
+ },
453
+ "401": {
454
+ "description": "The request credential is absent or invalid.",
455
+ "content": {
456
+ "application/problem+json": {
457
+ "schema": {
458
+ "$ref": "#/components/schemas/Problem"
459
+ }
460
+ }
461
+ }
462
+ },
463
+ "403": {
464
+ "description": "The installation, generation, actor, or resource is unauthorized.",
465
+ "content": {
466
+ "application/problem+json": {
467
+ "schema": {
468
+ "$ref": "#/components/schemas/Problem"
469
+ }
470
+ }
471
+ }
472
+ },
473
+ "409": {
474
+ "description": "The resource, generation, or idempotency key conflicts.",
475
+ "content": {
476
+ "application/problem+json": {
477
+ "schema": {
478
+ "$ref": "#/components/schemas/Problem"
479
+ }
480
+ }
481
+ }
482
+ },
483
+ "4XX": {
484
+ "description": "The request was rejected with a stable problem code.",
485
+ "content": {
486
+ "application/problem+json": {
487
+ "schema": {
488
+ "$ref": "#/components/schemas/Problem"
489
+ }
490
+ }
491
+ }
492
+ },
493
+ "5XX": {
494
+ "description": "The operation failed with a stable problem code.",
495
+ "content": {
496
+ "application/problem+json": {
497
+ "schema": {
498
+ "$ref": "#/components/schemas/Problem"
499
+ }
500
+ }
501
+ }
502
+ }
503
+ }
504
+ }
505
+ },
506
+ "/app/v1/providers/{providerId}": {
507
+ "post": {
508
+ "operationId": "invokeAppProvider",
509
+ "summary": "Invoke a negotiated provider operation",
510
+ "description": "The broker derives the provider from the active registration. Its profile, operation discriminants and resource identities must match the invocation and result. Accepted long-running provider work may carry a durable Operation.",
511
+ "x-rentnerproxy-socket": "app.sock",
512
+ "security": [
513
+ {
514
+ "AppCredential": []
515
+ }
516
+ ],
517
+ "parameters": [
518
+ {
519
+ "$ref": "#/components/parameters/Installation"
520
+ },
521
+ {
522
+ "$ref": "#/components/parameters/Generation"
523
+ },
524
+ {
525
+ "$ref": "#/components/parameters/providerId"
526
+ },
527
+ {
528
+ "$ref": "#/components/parameters/IdempotencyKey"
529
+ }
530
+ ],
531
+ "requestBody": {
532
+ "required": true,
533
+ "content": {
534
+ "application/json": {
535
+ "schema": {
536
+ "$ref": "#/components/schemas/ProviderRequest"
537
+ }
538
+ }
539
+ }
540
+ },
541
+ "responses": {
542
+ "200": {
543
+ "description": "The operation result.",
544
+ "content": {
545
+ "application/json": {
546
+ "schema": {
547
+ "$ref": "#/components/schemas/ProviderResult"
548
+ }
549
+ }
550
+ }
551
+ },
552
+ "401": {
553
+ "description": "The request credential is absent or invalid.",
554
+ "content": {
555
+ "application/problem+json": {
556
+ "schema": {
557
+ "$ref": "#/components/schemas/Problem"
558
+ }
559
+ }
560
+ }
561
+ },
562
+ "403": {
563
+ "description": "The installation, generation, actor, or resource is unauthorized.",
564
+ "content": {
565
+ "application/problem+json": {
566
+ "schema": {
567
+ "$ref": "#/components/schemas/Problem"
568
+ }
569
+ }
570
+ }
571
+ },
572
+ "409": {
573
+ "description": "The resource, generation, or idempotency key conflicts.",
574
+ "content": {
575
+ "application/problem+json": {
576
+ "schema": {
577
+ "$ref": "#/components/schemas/Problem"
578
+ }
579
+ }
580
+ }
581
+ },
582
+ "4XX": {
583
+ "description": "The request was rejected with a stable problem code.",
584
+ "content": {
585
+ "application/problem+json": {
586
+ "schema": {
587
+ "$ref": "#/components/schemas/Problem"
588
+ }
589
+ }
590
+ }
591
+ },
592
+ "5XX": {
593
+ "description": "The operation failed with a stable problem code.",
594
+ "content": {
595
+ "application/problem+json": {
596
+ "schema": {
597
+ "$ref": "#/components/schemas/Problem"
598
+ }
599
+ }
600
+ }
601
+ }
602
+ }
603
+ }
604
+ },
605
+ "/platform/v1/context": {
606
+ "get": {
607
+ "operationId": "getPlatformContext",
608
+ "summary": "Read the verified installation context",
609
+ "description": "An authenticated candidate generation may read its own context while preparing for readiness. Other operations require an active generation and current authorization.",
610
+ "x-rentnerproxy-socket": "core.sock",
611
+ "security": [
612
+ {
613
+ "CoreCredential": []
614
+ }
615
+ ],
616
+ "parameters": [
617
+ {
618
+ "$ref": "#/components/parameters/Installation"
619
+ },
620
+ {
621
+ "$ref": "#/components/parameters/Generation"
622
+ },
623
+ {
624
+ "$ref": "#/components/parameters/Delegation"
625
+ }
626
+ ],
627
+ "responses": {
628
+ "200": {
629
+ "description": "The operation result.",
630
+ "content": {
631
+ "application/json": {
632
+ "schema": {
633
+ "$ref": "#/components/schemas/PlatformContext"
634
+ }
635
+ }
636
+ }
637
+ },
638
+ "401": {
639
+ "description": "The request credential is absent or invalid.",
640
+ "content": {
641
+ "application/problem+json": {
642
+ "schema": {
643
+ "$ref": "#/components/schemas/Problem"
644
+ }
645
+ }
646
+ }
647
+ },
648
+ "403": {
649
+ "description": "The installation, generation, actor, or resource is unauthorized.",
650
+ "content": {
651
+ "application/problem+json": {
652
+ "schema": {
653
+ "$ref": "#/components/schemas/Problem"
654
+ }
655
+ }
656
+ }
657
+ },
658
+ "4XX": {
659
+ "description": "The request was rejected with a stable problem code.",
660
+ "content": {
661
+ "application/problem+json": {
662
+ "schema": {
663
+ "$ref": "#/components/schemas/Problem"
664
+ }
665
+ }
666
+ }
667
+ },
668
+ "5XX": {
669
+ "description": "The operation failed with a stable problem code.",
670
+ "content": {
671
+ "application/problem+json": {
672
+ "schema": {
673
+ "$ref": "#/components/schemas/Problem"
674
+ }
675
+ }
676
+ }
677
+ }
678
+ }
679
+ }
680
+ },
681
+ "/platform/v1/authorization": {
682
+ "post": {
683
+ "operationId": "checkAuthorization",
684
+ "summary": "Check current resource authorization",
685
+ "x-rentnerproxy-socket": "core.sock",
686
+ "security": [
687
+ {
688
+ "CoreCredential": []
689
+ }
690
+ ],
691
+ "parameters": [
692
+ {
693
+ "$ref": "#/components/parameters/Installation"
694
+ },
695
+ {
696
+ "$ref": "#/components/parameters/Generation"
697
+ },
698
+ {
699
+ "$ref": "#/components/parameters/Delegation"
700
+ }
701
+ ],
702
+ "requestBody": {
703
+ "required": true,
704
+ "content": {
705
+ "application/json": {
706
+ "schema": {
707
+ "$ref": "#/components/schemas/AuthorizationRequest"
708
+ }
709
+ }
710
+ }
711
+ },
712
+ "responses": {
713
+ "200": {
714
+ "description": "The operation result.",
715
+ "content": {
716
+ "application/json": {
717
+ "schema": {
718
+ "$ref": "#/components/schemas/AuthorizationResult"
719
+ }
720
+ }
721
+ }
722
+ },
723
+ "401": {
724
+ "description": "The request credential is absent or invalid.",
725
+ "content": {
726
+ "application/problem+json": {
727
+ "schema": {
728
+ "$ref": "#/components/schemas/Problem"
729
+ }
730
+ }
731
+ }
732
+ },
733
+ "403": {
734
+ "description": "The installation, generation, actor, or resource is unauthorized.",
735
+ "content": {
736
+ "application/problem+json": {
737
+ "schema": {
738
+ "$ref": "#/components/schemas/Problem"
739
+ }
740
+ }
741
+ }
742
+ },
743
+ "4XX": {
744
+ "description": "The request was rejected with a stable problem code.",
745
+ "content": {
746
+ "application/problem+json": {
747
+ "schema": {
748
+ "$ref": "#/components/schemas/Problem"
749
+ }
750
+ }
751
+ }
752
+ },
753
+ "5XX": {
754
+ "description": "The operation failed with a stable problem code.",
755
+ "content": {
756
+ "application/problem+json": {
757
+ "schema": {
758
+ "$ref": "#/components/schemas/Problem"
759
+ }
760
+ }
761
+ }
762
+ }
763
+ }
764
+ }
765
+ },
766
+ "/platform/v1/proxy-hosts/query": {
767
+ "post": {
768
+ "operationId": "listProxyHosts",
769
+ "summary": "List proxy hosts within current grants",
770
+ "x-rentnerproxy-socket": "core.sock",
771
+ "security": [
772
+ {
773
+ "CoreCredential": []
774
+ }
775
+ ],
776
+ "parameters": [
777
+ {
778
+ "$ref": "#/components/parameters/Installation"
779
+ },
780
+ {
781
+ "$ref": "#/components/parameters/Generation"
782
+ },
783
+ {
784
+ "$ref": "#/components/parameters/Delegation"
785
+ }
786
+ ],
787
+ "requestBody": {
788
+ "required": true,
789
+ "content": {
790
+ "application/json": {
791
+ "schema": {
792
+ "$ref": "#/components/schemas/ProxyHostQuery"
793
+ }
794
+ }
795
+ }
796
+ },
797
+ "responses": {
798
+ "200": {
799
+ "description": "The operation result.",
800
+ "content": {
801
+ "application/json": {
802
+ "schema": {
803
+ "$ref": "#/components/schemas/ProxyHostPage"
804
+ }
805
+ }
806
+ }
807
+ },
808
+ "401": {
809
+ "description": "The request credential is absent or invalid.",
810
+ "content": {
811
+ "application/problem+json": {
812
+ "schema": {
813
+ "$ref": "#/components/schemas/Problem"
814
+ }
815
+ }
816
+ }
817
+ },
818
+ "403": {
819
+ "description": "The installation, generation, actor, or resource is unauthorized.",
820
+ "content": {
821
+ "application/problem+json": {
822
+ "schema": {
823
+ "$ref": "#/components/schemas/Problem"
824
+ }
825
+ }
826
+ }
827
+ },
828
+ "4XX": {
829
+ "description": "The request was rejected with a stable problem code.",
830
+ "content": {
831
+ "application/problem+json": {
832
+ "schema": {
833
+ "$ref": "#/components/schemas/Problem"
834
+ }
835
+ }
836
+ }
837
+ },
838
+ "5XX": {
839
+ "description": "The operation failed with a stable problem code.",
840
+ "content": {
841
+ "application/problem+json": {
842
+ "schema": {
843
+ "$ref": "#/components/schemas/Problem"
844
+ }
845
+ }
846
+ }
847
+ }
848
+ }
849
+ }
850
+ },
851
+ "/platform/v1/proxy-hosts/owned": {
852
+ "post": {
853
+ "operationId": "updateOwnedProxyHost",
854
+ "summary": "Apply a revision-checked change to an app-owned host",
855
+ "description": "The platform controls ownership and configuration. Recheck current ownership, grants and revision before applying; conflicts preserve the currently applied proxy configuration.",
856
+ "x-rentnerproxy-socket": "core.sock",
857
+ "security": [
858
+ {
859
+ "CoreCredential": []
860
+ }
861
+ ],
862
+ "parameters": [
863
+ {
864
+ "$ref": "#/components/parameters/Installation"
865
+ },
866
+ {
867
+ "$ref": "#/components/parameters/Generation"
868
+ },
869
+ {
870
+ "$ref": "#/components/parameters/Delegation"
871
+ },
872
+ {
873
+ "$ref": "#/components/parameters/IdempotencyKey"
874
+ }
875
+ ],
876
+ "requestBody": {
877
+ "required": true,
878
+ "content": {
879
+ "application/json": {
880
+ "schema": {
881
+ "$ref": "#/components/schemas/OwnedProxyHostChange"
882
+ }
883
+ }
884
+ }
885
+ },
886
+ "responses": {
887
+ "202": {
888
+ "description": "The operation was accepted.",
889
+ "content": {
890
+ "application/json": {
891
+ "schema": {
892
+ "$ref": "#/components/schemas/Operation"
893
+ }
894
+ }
895
+ }
896
+ },
897
+ "401": {
898
+ "description": "The request credential is absent or invalid.",
899
+ "content": {
900
+ "application/problem+json": {
901
+ "schema": {
902
+ "$ref": "#/components/schemas/Problem"
903
+ }
904
+ }
905
+ }
906
+ },
907
+ "403": {
908
+ "description": "The installation, generation, actor, or resource is unauthorized.",
909
+ "content": {
910
+ "application/problem+json": {
911
+ "schema": {
912
+ "$ref": "#/components/schemas/Problem"
913
+ }
914
+ }
915
+ }
916
+ },
917
+ "409": {
918
+ "description": "The resource, generation, or idempotency key conflicts.",
919
+ "content": {
920
+ "application/problem+json": {
921
+ "schema": {
922
+ "$ref": "#/components/schemas/Problem"
923
+ }
924
+ }
925
+ }
926
+ },
927
+ "4XX": {
928
+ "description": "The request was rejected with a stable problem code.",
929
+ "content": {
930
+ "application/problem+json": {
931
+ "schema": {
932
+ "$ref": "#/components/schemas/Problem"
933
+ }
934
+ }
935
+ }
936
+ },
937
+ "5XX": {
938
+ "description": "The operation failed with a stable problem code.",
939
+ "content": {
940
+ "application/problem+json": {
941
+ "schema": {
942
+ "$ref": "#/components/schemas/Problem"
943
+ }
944
+ }
945
+ }
946
+ }
947
+ }
948
+ }
949
+ },
950
+ "/platform/v1/diagnostics/upstream": {
951
+ "post": {
952
+ "operationId": "probeUpstream",
953
+ "summary": "Run a bounded probe of an authorized proxy host upstream",
954
+ "x-rentnerproxy-socket": "core.sock",
955
+ "security": [
956
+ {
957
+ "CoreCredential": []
958
+ }
959
+ ],
960
+ "parameters": [
961
+ {
962
+ "$ref": "#/components/parameters/Installation"
963
+ },
964
+ {
965
+ "$ref": "#/components/parameters/Generation"
966
+ },
967
+ {
968
+ "$ref": "#/components/parameters/Delegation"
969
+ }
970
+ ],
971
+ "requestBody": {
972
+ "required": true,
973
+ "content": {
974
+ "application/json": {
975
+ "schema": {
976
+ "$ref": "#/components/schemas/UpstreamProbe"
977
+ }
978
+ }
979
+ }
980
+ },
981
+ "responses": {
982
+ "200": {
983
+ "description": "The operation result.",
984
+ "content": {
985
+ "application/json": {
986
+ "schema": {
987
+ "$ref": "#/components/schemas/UpstreamProbeResult"
988
+ }
989
+ }
990
+ }
991
+ },
992
+ "401": {
993
+ "description": "The request credential is absent or invalid.",
994
+ "content": {
995
+ "application/problem+json": {
996
+ "schema": {
997
+ "$ref": "#/components/schemas/Problem"
998
+ }
999
+ }
1000
+ }
1001
+ },
1002
+ "403": {
1003
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1004
+ "content": {
1005
+ "application/problem+json": {
1006
+ "schema": {
1007
+ "$ref": "#/components/schemas/Problem"
1008
+ }
1009
+ }
1010
+ }
1011
+ },
1012
+ "4XX": {
1013
+ "description": "The request was rejected with a stable problem code.",
1014
+ "content": {
1015
+ "application/problem+json": {
1016
+ "schema": {
1017
+ "$ref": "#/components/schemas/Problem"
1018
+ }
1019
+ }
1020
+ }
1021
+ },
1022
+ "5XX": {
1023
+ "description": "The operation failed with a stable problem code.",
1024
+ "content": {
1025
+ "application/problem+json": {
1026
+ "schema": {
1027
+ "$ref": "#/components/schemas/Problem"
1028
+ }
1029
+ }
1030
+ }
1031
+ }
1032
+ }
1033
+ }
1034
+ },
1035
+ "/platform/v1/diagnostics/upstream/batch": {
1036
+ "post": {
1037
+ "operationId": "probeUpstreams",
1038
+ "summary": "Probe authorized proxy host upstreams with monitoring-class admission",
1039
+ "description": "Requires diagnostics.upstream.probe.v2. Each probe returns the stage result that built-in host monitoring classifies, so an app can classify it the same way. A probe the platform cannot run returns an explicit outcome instead of failing the batch.",
1040
+ "x-rentnerproxy-socket": "core.sock",
1041
+ "security": [
1042
+ {
1043
+ "CoreCredential": []
1044
+ }
1045
+ ],
1046
+ "parameters": [
1047
+ {
1048
+ "$ref": "#/components/parameters/Installation"
1049
+ },
1050
+ {
1051
+ "$ref": "#/components/parameters/Generation"
1052
+ },
1053
+ {
1054
+ "$ref": "#/components/parameters/Delegation"
1055
+ }
1056
+ ],
1057
+ "requestBody": {
1058
+ "required": true,
1059
+ "content": {
1060
+ "application/json": {
1061
+ "schema": {
1062
+ "$ref": "#/components/schemas/UpstreamProbeBatch"
1063
+ }
1064
+ }
1065
+ }
1066
+ },
1067
+ "responses": {
1068
+ "200": {
1069
+ "description": "The operation result.",
1070
+ "content": {
1071
+ "application/json": {
1072
+ "schema": {
1073
+ "$ref": "#/components/schemas/UpstreamProbeBatchResult"
1074
+ }
1075
+ }
1076
+ }
1077
+ },
1078
+ "401": {
1079
+ "description": "The request credential is absent or invalid.",
1080
+ "content": {
1081
+ "application/problem+json": {
1082
+ "schema": {
1083
+ "$ref": "#/components/schemas/Problem"
1084
+ }
1085
+ }
1086
+ }
1087
+ },
1088
+ "403": {
1089
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1090
+ "content": {
1091
+ "application/problem+json": {
1092
+ "schema": {
1093
+ "$ref": "#/components/schemas/Problem"
1094
+ }
1095
+ }
1096
+ }
1097
+ },
1098
+ "4XX": {
1099
+ "description": "The request was rejected with a stable problem code.",
1100
+ "content": {
1101
+ "application/problem+json": {
1102
+ "schema": {
1103
+ "$ref": "#/components/schemas/Problem"
1104
+ }
1105
+ }
1106
+ }
1107
+ },
1108
+ "5XX": {
1109
+ "description": "The operation failed with a stable problem code.",
1110
+ "content": {
1111
+ "application/problem+json": {
1112
+ "schema": {
1113
+ "$ref": "#/components/schemas/Problem"
1114
+ }
1115
+ }
1116
+ }
1117
+ }
1118
+ }
1119
+ }
1120
+ },
1121
+ "/platform/v1/notifications": {
1122
+ "post": {
1123
+ "operationId": "publishNotification",
1124
+ "summary": "Publish an app-owned notification",
1125
+ "x-rentnerproxy-socket": "core.sock",
1126
+ "security": [
1127
+ {
1128
+ "CoreCredential": []
1129
+ }
1130
+ ],
1131
+ "parameters": [
1132
+ {
1133
+ "$ref": "#/components/parameters/Installation"
1134
+ },
1135
+ {
1136
+ "$ref": "#/components/parameters/Generation"
1137
+ },
1138
+ {
1139
+ "$ref": "#/components/parameters/Delegation"
1140
+ },
1141
+ {
1142
+ "$ref": "#/components/parameters/IdempotencyKey"
1143
+ }
1144
+ ],
1145
+ "requestBody": {
1146
+ "required": true,
1147
+ "content": {
1148
+ "application/json": {
1149
+ "schema": {
1150
+ "$ref": "#/components/schemas/AppNotification"
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ "responses": {
1156
+ "204": {
1157
+ "description": "The operation completed."
1158
+ },
1159
+ "401": {
1160
+ "description": "The request credential is absent or invalid.",
1161
+ "content": {
1162
+ "application/problem+json": {
1163
+ "schema": {
1164
+ "$ref": "#/components/schemas/Problem"
1165
+ }
1166
+ }
1167
+ }
1168
+ },
1169
+ "403": {
1170
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1171
+ "content": {
1172
+ "application/problem+json": {
1173
+ "schema": {
1174
+ "$ref": "#/components/schemas/Problem"
1175
+ }
1176
+ }
1177
+ }
1178
+ },
1179
+ "409": {
1180
+ "description": "The resource, generation, or idempotency key conflicts.",
1181
+ "content": {
1182
+ "application/problem+json": {
1183
+ "schema": {
1184
+ "$ref": "#/components/schemas/Problem"
1185
+ }
1186
+ }
1187
+ }
1188
+ },
1189
+ "4XX": {
1190
+ "description": "The request was rejected with a stable problem code.",
1191
+ "content": {
1192
+ "application/problem+json": {
1193
+ "schema": {
1194
+ "$ref": "#/components/schemas/Problem"
1195
+ }
1196
+ }
1197
+ }
1198
+ },
1199
+ "5XX": {
1200
+ "description": "The operation failed with a stable problem code.",
1201
+ "content": {
1202
+ "application/problem+json": {
1203
+ "schema": {
1204
+ "$ref": "#/components/schemas/Problem"
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ },
1212
+ "/platform/v1/incidents/{incidentKey}": {
1213
+ "post": {
1214
+ "operationId": "setIncident",
1215
+ "summary": "Open, update or resolve an app incident in platform notifications",
1216
+ "description": "Requires notifications.incidents.manage.v1. The incident key is app-chosen and stays the same while the incident lasts. The platform deduplicates incidents per installation and key, and resolves the open incidents of an installation that stops, loses the grant or is removed.",
1217
+ "x-rentnerproxy-socket": "core.sock",
1218
+ "security": [
1219
+ {
1220
+ "CoreCredential": []
1221
+ }
1222
+ ],
1223
+ "parameters": [
1224
+ {
1225
+ "$ref": "#/components/parameters/Installation"
1226
+ },
1227
+ {
1228
+ "$ref": "#/components/parameters/Generation"
1229
+ },
1230
+ {
1231
+ "$ref": "#/components/parameters/Delegation"
1232
+ },
1233
+ {
1234
+ "$ref": "#/components/parameters/incidentKey"
1235
+ },
1236
+ {
1237
+ "$ref": "#/components/parameters/IdempotencyKey"
1238
+ }
1239
+ ],
1240
+ "requestBody": {
1241
+ "required": true,
1242
+ "content": {
1243
+ "application/json": {
1244
+ "schema": {
1245
+ "$ref": "#/components/schemas/AppIncidentChange"
1246
+ }
1247
+ }
1248
+ }
1249
+ },
1250
+ "responses": {
1251
+ "204": {
1252
+ "description": "The operation completed."
1253
+ },
1254
+ "401": {
1255
+ "description": "The request credential is absent or invalid.",
1256
+ "content": {
1257
+ "application/problem+json": {
1258
+ "schema": {
1259
+ "$ref": "#/components/schemas/Problem"
1260
+ }
1261
+ }
1262
+ }
1263
+ },
1264
+ "403": {
1265
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1266
+ "content": {
1267
+ "application/problem+json": {
1268
+ "schema": {
1269
+ "$ref": "#/components/schemas/Problem"
1270
+ }
1271
+ }
1272
+ }
1273
+ },
1274
+ "404": {
1275
+ "description": "The resource is unavailable to this installation.",
1276
+ "content": {
1277
+ "application/problem+json": {
1278
+ "schema": {
1279
+ "$ref": "#/components/schemas/Problem"
1280
+ }
1281
+ }
1282
+ }
1283
+ },
1284
+ "409": {
1285
+ "description": "The category is not declared, or the idempotency key was used for a different change.",
1286
+ "content": {
1287
+ "application/problem+json": {
1288
+ "schema": {
1289
+ "$ref": "#/components/schemas/Problem"
1290
+ }
1291
+ }
1292
+ }
1293
+ },
1294
+ "4XX": {
1295
+ "description": "The request was rejected with a stable problem code.",
1296
+ "content": {
1297
+ "application/problem+json": {
1298
+ "schema": {
1299
+ "$ref": "#/components/schemas/Problem"
1300
+ }
1301
+ }
1302
+ }
1303
+ },
1304
+ "5XX": {
1305
+ "description": "The operation failed with a stable problem code.",
1306
+ "content": {
1307
+ "application/problem+json": {
1308
+ "schema": {
1309
+ "$ref": "#/components/schemas/Problem"
1310
+ }
1311
+ }
1312
+ }
1313
+ }
1314
+ }
1315
+ }
1316
+ },
1317
+ "/platform/v1/audit-events": {
1318
+ "post": {
1319
+ "operationId": "recordAuditEvent",
1320
+ "summary": "Record an app-owned audit event",
1321
+ "description": "The platform supplies app, installation, actor and timestamp provenance from authenticated context.",
1322
+ "x-rentnerproxy-socket": "core.sock",
1323
+ "security": [
1324
+ {
1325
+ "CoreCredential": []
1326
+ }
1327
+ ],
1328
+ "parameters": [
1329
+ {
1330
+ "$ref": "#/components/parameters/Installation"
1331
+ },
1332
+ {
1333
+ "$ref": "#/components/parameters/Generation"
1334
+ },
1335
+ {
1336
+ "$ref": "#/components/parameters/Delegation"
1337
+ },
1338
+ {
1339
+ "$ref": "#/components/parameters/IdempotencyKey"
1340
+ }
1341
+ ],
1342
+ "requestBody": {
1343
+ "required": true,
1344
+ "content": {
1345
+ "application/json": {
1346
+ "schema": {
1347
+ "$ref": "#/components/schemas/AppAuditEvent"
1348
+ }
1349
+ }
1350
+ }
1351
+ },
1352
+ "responses": {
1353
+ "204": {
1354
+ "description": "The operation completed."
1355
+ },
1356
+ "401": {
1357
+ "description": "The request credential is absent or invalid.",
1358
+ "content": {
1359
+ "application/problem+json": {
1360
+ "schema": {
1361
+ "$ref": "#/components/schemas/Problem"
1362
+ }
1363
+ }
1364
+ }
1365
+ },
1366
+ "403": {
1367
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1368
+ "content": {
1369
+ "application/problem+json": {
1370
+ "schema": {
1371
+ "$ref": "#/components/schemas/Problem"
1372
+ }
1373
+ }
1374
+ }
1375
+ },
1376
+ "409": {
1377
+ "description": "The resource, generation, or idempotency key conflicts.",
1378
+ "content": {
1379
+ "application/problem+json": {
1380
+ "schema": {
1381
+ "$ref": "#/components/schemas/Problem"
1382
+ }
1383
+ }
1384
+ }
1385
+ },
1386
+ "4XX": {
1387
+ "description": "The request was rejected with a stable problem code.",
1388
+ "content": {
1389
+ "application/problem+json": {
1390
+ "schema": {
1391
+ "$ref": "#/components/schemas/Problem"
1392
+ }
1393
+ }
1394
+ }
1395
+ },
1396
+ "5XX": {
1397
+ "description": "The operation failed with a stable problem code.",
1398
+ "content": {
1399
+ "application/problem+json": {
1400
+ "schema": {
1401
+ "$ref": "#/components/schemas/Problem"
1402
+ }
1403
+ }
1404
+ }
1405
+ }
1406
+ }
1407
+ }
1408
+ },
1409
+ "/platform/v1/secrets/{secretId}": {
1410
+ "get": {
1411
+ "operationId": "readSecret",
1412
+ "summary": "Read a secret assigned to this app installation",
1413
+ "x-rentnerproxy-socket": "core.sock",
1414
+ "security": [
1415
+ {
1416
+ "CoreCredential": []
1417
+ }
1418
+ ],
1419
+ "parameters": [
1420
+ {
1421
+ "$ref": "#/components/parameters/Installation"
1422
+ },
1423
+ {
1424
+ "$ref": "#/components/parameters/Generation"
1425
+ },
1426
+ {
1427
+ "$ref": "#/components/parameters/Delegation"
1428
+ },
1429
+ {
1430
+ "$ref": "#/components/parameters/secretId"
1431
+ }
1432
+ ],
1433
+ "responses": {
1434
+ "200": {
1435
+ "description": "The operation result.",
1436
+ "content": {
1437
+ "application/json": {
1438
+ "schema": {
1439
+ "$ref": "#/components/schemas/AppSecret"
1440
+ }
1441
+ }
1442
+ }
1443
+ },
1444
+ "401": {
1445
+ "description": "The request credential is absent or invalid.",
1446
+ "content": {
1447
+ "application/problem+json": {
1448
+ "schema": {
1449
+ "$ref": "#/components/schemas/Problem"
1450
+ }
1451
+ }
1452
+ }
1453
+ },
1454
+ "403": {
1455
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1456
+ "content": {
1457
+ "application/problem+json": {
1458
+ "schema": {
1459
+ "$ref": "#/components/schemas/Problem"
1460
+ }
1461
+ }
1462
+ }
1463
+ },
1464
+ "404": {
1465
+ "description": "The secret is unavailable to this installation.",
1466
+ "content": {
1467
+ "application/problem+json": {
1468
+ "schema": {
1469
+ "$ref": "#/components/schemas/Problem"
1470
+ }
1471
+ }
1472
+ }
1473
+ },
1474
+ "4XX": {
1475
+ "description": "The request was rejected with a stable problem code.",
1476
+ "content": {
1477
+ "application/problem+json": {
1478
+ "schema": {
1479
+ "$ref": "#/components/schemas/Problem"
1480
+ }
1481
+ }
1482
+ }
1483
+ },
1484
+ "5XX": {
1485
+ "description": "The operation failed with a stable problem code.",
1486
+ "content": {
1487
+ "application/problem+json": {
1488
+ "schema": {
1489
+ "$ref": "#/components/schemas/Problem"
1490
+ }
1491
+ }
1492
+ }
1493
+ }
1494
+ }
1495
+ }
1496
+ },
1497
+ "/platform/v1/providers/{providerId}": {
1498
+ "get": {
1499
+ "operationId": "getProvider",
1500
+ "summary": "Read an authorized provider registration",
1501
+ "x-rentnerproxy-socket": "core.sock",
1502
+ "security": [
1503
+ {
1504
+ "CoreCredential": []
1505
+ }
1506
+ ],
1507
+ "parameters": [
1508
+ {
1509
+ "$ref": "#/components/parameters/Installation"
1510
+ },
1511
+ {
1512
+ "$ref": "#/components/parameters/Generation"
1513
+ },
1514
+ {
1515
+ "$ref": "#/components/parameters/Delegation"
1516
+ },
1517
+ {
1518
+ "$ref": "#/components/parameters/providerId"
1519
+ }
1520
+ ],
1521
+ "responses": {
1522
+ "200": {
1523
+ "description": "The operation result.",
1524
+ "content": {
1525
+ "application/json": {
1526
+ "schema": {
1527
+ "$ref": "#/components/schemas/ProviderRegistration"
1528
+ }
1529
+ }
1530
+ }
1531
+ },
1532
+ "401": {
1533
+ "description": "The request credential is absent or invalid.",
1534
+ "content": {
1535
+ "application/problem+json": {
1536
+ "schema": {
1537
+ "$ref": "#/components/schemas/Problem"
1538
+ }
1539
+ }
1540
+ }
1541
+ },
1542
+ "403": {
1543
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1544
+ "content": {
1545
+ "application/problem+json": {
1546
+ "schema": {
1547
+ "$ref": "#/components/schemas/Problem"
1548
+ }
1549
+ }
1550
+ }
1551
+ },
1552
+ "404": {
1553
+ "description": "The provider is unavailable to this installation.",
1554
+ "content": {
1555
+ "application/problem+json": {
1556
+ "schema": {
1557
+ "$ref": "#/components/schemas/Problem"
1558
+ }
1559
+ }
1560
+ }
1561
+ },
1562
+ "4XX": {
1563
+ "description": "The request was rejected with a stable problem code.",
1564
+ "content": {
1565
+ "application/problem+json": {
1566
+ "schema": {
1567
+ "$ref": "#/components/schemas/Problem"
1568
+ }
1569
+ }
1570
+ }
1571
+ },
1572
+ "5XX": {
1573
+ "description": "The operation failed with a stable problem code.",
1574
+ "content": {
1575
+ "application/problem+json": {
1576
+ "schema": {
1577
+ "$ref": "#/components/schemas/Problem"
1578
+ }
1579
+ }
1580
+ }
1581
+ }
1582
+ }
1583
+ }
1584
+ },
1585
+ "/platform/v1/operations/{operationId}": {
1586
+ "get": {
1587
+ "operationId": "getOperation",
1588
+ "summary": "Read an authorized durable operation",
1589
+ "x-rentnerproxy-socket": "core.sock",
1590
+ "security": [
1591
+ {
1592
+ "CoreCredential": []
1593
+ }
1594
+ ],
1595
+ "parameters": [
1596
+ {
1597
+ "$ref": "#/components/parameters/Installation"
1598
+ },
1599
+ {
1600
+ "$ref": "#/components/parameters/Generation"
1601
+ },
1602
+ {
1603
+ "$ref": "#/components/parameters/Delegation"
1604
+ },
1605
+ {
1606
+ "$ref": "#/components/parameters/operationId"
1607
+ }
1608
+ ],
1609
+ "responses": {
1610
+ "200": {
1611
+ "description": "The operation result.",
1612
+ "content": {
1613
+ "application/json": {
1614
+ "schema": {
1615
+ "$ref": "#/components/schemas/Operation"
1616
+ }
1617
+ }
1618
+ }
1619
+ },
1620
+ "401": {
1621
+ "description": "The request credential is absent or invalid.",
1622
+ "content": {
1623
+ "application/problem+json": {
1624
+ "schema": {
1625
+ "$ref": "#/components/schemas/Problem"
1626
+ }
1627
+ }
1628
+ }
1629
+ },
1630
+ "403": {
1631
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1632
+ "content": {
1633
+ "application/problem+json": {
1634
+ "schema": {
1635
+ "$ref": "#/components/schemas/Problem"
1636
+ }
1637
+ }
1638
+ }
1639
+ },
1640
+ "404": {
1641
+ "description": "The operation is unavailable to this installation.",
1642
+ "content": {
1643
+ "application/problem+json": {
1644
+ "schema": {
1645
+ "$ref": "#/components/schemas/Problem"
1646
+ }
1647
+ }
1648
+ }
1649
+ },
1650
+ "4XX": {
1651
+ "description": "The request was rejected with a stable problem code.",
1652
+ "content": {
1653
+ "application/problem+json": {
1654
+ "schema": {
1655
+ "$ref": "#/components/schemas/Problem"
1656
+ }
1657
+ }
1658
+ }
1659
+ },
1660
+ "5XX": {
1661
+ "description": "The operation failed with a stable problem code.",
1662
+ "content": {
1663
+ "application/problem+json": {
1664
+ "schema": {
1665
+ "$ref": "#/components/schemas/Problem"
1666
+ }
1667
+ }
1668
+ }
1669
+ }
1670
+ }
1671
+ }
1672
+ },
1673
+ "/platform/v1/operations/{operationId}/cancel": {
1674
+ "post": {
1675
+ "operationId": "cancelOperation",
1676
+ "summary": "Request cancellation of an authorized operation",
1677
+ "x-rentnerproxy-socket": "core.sock",
1678
+ "security": [
1679
+ {
1680
+ "CoreCredential": []
1681
+ }
1682
+ ],
1683
+ "parameters": [
1684
+ {
1685
+ "$ref": "#/components/parameters/Installation"
1686
+ },
1687
+ {
1688
+ "$ref": "#/components/parameters/Generation"
1689
+ },
1690
+ {
1691
+ "$ref": "#/components/parameters/Delegation"
1692
+ },
1693
+ {
1694
+ "$ref": "#/components/parameters/operationId"
1695
+ },
1696
+ {
1697
+ "$ref": "#/components/parameters/IdempotencyKey"
1698
+ }
1699
+ ],
1700
+ "responses": {
1701
+ "202": {
1702
+ "description": "The operation was accepted.",
1703
+ "content": {
1704
+ "application/json": {
1705
+ "schema": {
1706
+ "$ref": "#/components/schemas/Operation"
1707
+ }
1708
+ }
1709
+ }
1710
+ },
1711
+ "401": {
1712
+ "description": "The request credential is absent or invalid.",
1713
+ "content": {
1714
+ "application/problem+json": {
1715
+ "schema": {
1716
+ "$ref": "#/components/schemas/Problem"
1717
+ }
1718
+ }
1719
+ }
1720
+ },
1721
+ "403": {
1722
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1723
+ "content": {
1724
+ "application/problem+json": {
1725
+ "schema": {
1726
+ "$ref": "#/components/schemas/Problem"
1727
+ }
1728
+ }
1729
+ }
1730
+ },
1731
+ "404": {
1732
+ "description": "The operation is unavailable to this installation.",
1733
+ "content": {
1734
+ "application/problem+json": {
1735
+ "schema": {
1736
+ "$ref": "#/components/schemas/Problem"
1737
+ }
1738
+ }
1739
+ }
1740
+ },
1741
+ "409": {
1742
+ "description": "The resource, generation, or idempotency key conflicts.",
1743
+ "content": {
1744
+ "application/problem+json": {
1745
+ "schema": {
1746
+ "$ref": "#/components/schemas/Problem"
1747
+ }
1748
+ }
1749
+ }
1750
+ },
1751
+ "4XX": {
1752
+ "description": "The request was rejected with a stable problem code.",
1753
+ "content": {
1754
+ "application/problem+json": {
1755
+ "schema": {
1756
+ "$ref": "#/components/schemas/Problem"
1757
+ }
1758
+ }
1759
+ }
1760
+ },
1761
+ "5XX": {
1762
+ "description": "The operation failed with a stable problem code.",
1763
+ "content": {
1764
+ "application/problem+json": {
1765
+ "schema": {
1766
+ "$ref": "#/components/schemas/Problem"
1767
+ }
1768
+ }
1769
+ }
1770
+ }
1771
+ }
1772
+ }
1773
+ },
1774
+ "/platform/v1/events": {
1775
+ "get": {
1776
+ "operationId": "subscribeToEvents",
1777
+ "summary": "Resume the permission-filtered durable stream",
1778
+ "description": "The SSE id is the resume cursor. Events are at least once. Deduplicate by the data event ID. Recheck active generation, grants, resource visibility, and delegation at delivery. Close the stream when subscription authority expires or is revoked.",
1779
+ "x-rentnerproxy-socket": "core.sock",
1780
+ "security": [
1781
+ {
1782
+ "CoreCredential": []
1783
+ }
1784
+ ],
1785
+ "parameters": [
1786
+ {
1787
+ "$ref": "#/components/parameters/Installation"
1788
+ },
1789
+ {
1790
+ "$ref": "#/components/parameters/Generation"
1791
+ },
1792
+ {
1793
+ "$ref": "#/components/parameters/Delegation"
1794
+ },
1795
+ {
1796
+ "$ref": "#/components/parameters/ResumeCursor"
1797
+ }
1798
+ ],
1799
+ "responses": {
1800
+ "200": {
1801
+ "description": "Server-Sent Events.",
1802
+ "content": {
1803
+ "text/event-stream": {
1804
+ "schema": {
1805
+ "type": "string"
1806
+ },
1807
+ "x-rentnerproxy-event-data-schema": {
1808
+ "$ref": "#/components/schemas/PlatformEvent"
1809
+ }
1810
+ }
1811
+ }
1812
+ },
1813
+ "401": {
1814
+ "description": "The request credential is absent or invalid.",
1815
+ "content": {
1816
+ "application/problem+json": {
1817
+ "schema": {
1818
+ "$ref": "#/components/schemas/Problem"
1819
+ }
1820
+ }
1821
+ }
1822
+ },
1823
+ "403": {
1824
+ "description": "The installation, generation, actor, or resource is unauthorized.",
1825
+ "content": {
1826
+ "application/problem+json": {
1827
+ "schema": {
1828
+ "$ref": "#/components/schemas/Problem"
1829
+ }
1830
+ }
1831
+ }
1832
+ },
1833
+ "410": {
1834
+ "description": "The cursor expired. Perform a full authorized resynchronization.",
1835
+ "content": {
1836
+ "application/problem+json": {
1837
+ "schema": {
1838
+ "$ref": "#/components/schemas/Problem"
1839
+ }
1840
+ }
1841
+ }
1842
+ },
1843
+ "4XX": {
1844
+ "description": "The request was rejected with a stable problem code.",
1845
+ "content": {
1846
+ "application/problem+json": {
1847
+ "schema": {
1848
+ "$ref": "#/components/schemas/Problem"
1849
+ }
1850
+ }
1851
+ }
1852
+ },
1853
+ "5XX": {
1854
+ "description": "The operation failed with a stable problem code.",
1855
+ "content": {
1856
+ "application/problem+json": {
1857
+ "schema": {
1858
+ "$ref": "#/components/schemas/Problem"
1859
+ }
1860
+ }
1861
+ }
1862
+ }
1863
+ }
1864
+ }
1865
+ },
1866
+ "/platform/v1/legacy-handoffs/{domain}": {
1867
+ "get": {
1868
+ "operationId": "getLegacyHandoff",
1869
+ "summary": "Read the handoff state of a built-in feature domain",
1870
+ "description": "A legacy feature domain equals a provider profile. Every handoff operation acts only for the active generation of the calling installation. The state platform means the platform still owns the domain. The state exported means this installation is importing a fixed export. The state committed means this installation owns the domain.",
1871
+ "x-rentnerproxy-socket": "core.sock",
1872
+ "security": [
1873
+ {
1874
+ "CoreCredential": []
1875
+ }
1876
+ ],
1877
+ "parameters": [
1878
+ {
1879
+ "$ref": "#/components/parameters/Installation"
1880
+ },
1881
+ {
1882
+ "$ref": "#/components/parameters/Generation"
1883
+ },
1884
+ {
1885
+ "$ref": "#/components/parameters/Delegation"
1886
+ },
1887
+ {
1888
+ "$ref": "#/components/parameters/domain"
1889
+ }
1890
+ ],
1891
+ "responses": {
1892
+ "200": {
1893
+ "description": "The operation result.",
1894
+ "content": {
1895
+ "application/json": {
1896
+ "schema": {
1897
+ "$ref": "#/components/schemas/LegacyHandoffStatus"
1898
+ }
1899
+ }
1900
+ }
1901
+ },
1902
+ "401": {
1903
+ "description": "The credential is invalid, or the generation or its lease is no longer current.",
1904
+ "content": {
1905
+ "application/problem+json": {
1906
+ "schema": {
1907
+ "$ref": "#/components/schemas/Problem"
1908
+ }
1909
+ }
1910
+ }
1911
+ },
1912
+ "403": {
1913
+ "description": "The manifest does not declare the domain as a provider profile, or the installation lacks the provider grant for it.",
1914
+ "content": {
1915
+ "application/problem+json": {
1916
+ "schema": {
1917
+ "$ref": "#/components/schemas/Problem"
1918
+ }
1919
+ }
1920
+ }
1921
+ },
1922
+ "409": {
1923
+ "description": "Another installation holds the domain.",
1924
+ "content": {
1925
+ "application/problem+json": {
1926
+ "schema": {
1927
+ "$ref": "#/components/schemas/Problem"
1928
+ }
1929
+ }
1930
+ }
1931
+ },
1932
+ "4XX": {
1933
+ "description": "The request was rejected with a stable problem code.",
1934
+ "content": {
1935
+ "application/problem+json": {
1936
+ "schema": {
1937
+ "$ref": "#/components/schemas/Problem"
1938
+ }
1939
+ }
1940
+ }
1941
+ },
1942
+ "5XX": {
1943
+ "description": "The operation failed with a stable problem code.",
1944
+ "content": {
1945
+ "application/problem+json": {
1946
+ "schema": {
1947
+ "$ref": "#/components/schemas/Problem"
1948
+ }
1949
+ }
1950
+ }
1951
+ }
1952
+ }
1953
+ }
1954
+ },
1955
+ "/platform/v1/legacy-handoffs/{domain}/begin": {
1956
+ "post": {
1957
+ "operationId": "beginLegacyHandoff",
1958
+ "summary": "Fence platform writers and fix a built-in feature export",
1959
+ "description": "Begin fences the platform writers of the domain and fixes one export of its configuration, credentials and history as ordered parts. While the export is open, repeating begin returns exported with the same digest and part count, so an interrupted import resumes. After commit, begin returns committed with the same digest and no part count.",
1960
+ "x-rentnerproxy-socket": "core.sock",
1961
+ "security": [
1962
+ {
1963
+ "CoreCredential": []
1964
+ }
1965
+ ],
1966
+ "parameters": [
1967
+ {
1968
+ "$ref": "#/components/parameters/Installation"
1969
+ },
1970
+ {
1971
+ "$ref": "#/components/parameters/Generation"
1972
+ },
1973
+ {
1974
+ "$ref": "#/components/parameters/Delegation"
1975
+ },
1976
+ {
1977
+ "$ref": "#/components/parameters/domain"
1978
+ },
1979
+ {
1980
+ "$ref": "#/components/parameters/IdempotencyKey"
1981
+ }
1982
+ ],
1983
+ "responses": {
1984
+ "200": {
1985
+ "description": "The operation result.",
1986
+ "content": {
1987
+ "application/json": {
1988
+ "schema": {
1989
+ "$ref": "#/components/schemas/LegacyHandoffBeginResult"
1990
+ }
1991
+ }
1992
+ }
1993
+ },
1994
+ "401": {
1995
+ "description": "The credential is invalid, or the generation or its lease is no longer current.",
1996
+ "content": {
1997
+ "application/problem+json": {
1998
+ "schema": {
1999
+ "$ref": "#/components/schemas/Problem"
2000
+ }
2001
+ }
2002
+ }
2003
+ },
2004
+ "403": {
2005
+ "description": "The manifest does not declare the domain as a provider profile, or the installation lacks the provider grant for it.",
2006
+ "content": {
2007
+ "application/problem+json": {
2008
+ "schema": {
2009
+ "$ref": "#/components/schemas/Problem"
2010
+ }
2011
+ }
2012
+ }
2013
+ },
2014
+ "409": {
2015
+ "description": "Another installation holds the domain, or the idempotency key conflicts.",
2016
+ "content": {
2017
+ "application/problem+json": {
2018
+ "schema": {
2019
+ "$ref": "#/components/schemas/Problem"
2020
+ }
2021
+ }
2022
+ }
2023
+ },
2024
+ "4XX": {
2025
+ "description": "The request was rejected with a stable problem code.",
2026
+ "content": {
2027
+ "application/problem+json": {
2028
+ "schema": {
2029
+ "$ref": "#/components/schemas/Problem"
2030
+ }
2031
+ }
2032
+ }
2033
+ },
2034
+ "5XX": {
2035
+ "description": "The operation failed with a stable problem code.",
2036
+ "content": {
2037
+ "application/problem+json": {
2038
+ "schema": {
2039
+ "$ref": "#/components/schemas/Problem"
2040
+ }
2041
+ }
2042
+ }
2043
+ }
2044
+ }
2045
+ }
2046
+ },
2047
+ "/platform/v1/legacy-handoffs/{domain}/parts": {
2048
+ "post": {
2049
+ "operationId": "readLegacyHandoffPart",
2050
+ "summary": "Read one part of the fixed built-in feature export",
2051
+ "description": "Read every sequence with 0 <= sequence < partCount and import each part durably before commit. An export with no parts needs no reads. The digest binds each read to the export that begin fixed, so a read never returns a part of a replaced export. A serialized part is at most 262144 bytes.",
2052
+ "x-rentnerproxy-socket": "core.sock",
2053
+ "security": [
2054
+ {
2055
+ "CoreCredential": []
2056
+ }
2057
+ ],
2058
+ "parameters": [
2059
+ {
2060
+ "$ref": "#/components/parameters/Installation"
2061
+ },
2062
+ {
2063
+ "$ref": "#/components/parameters/Generation"
2064
+ },
2065
+ {
2066
+ "$ref": "#/components/parameters/Delegation"
2067
+ },
2068
+ {
2069
+ "$ref": "#/components/parameters/domain"
2070
+ }
2071
+ ],
2072
+ "requestBody": {
2073
+ "required": true,
2074
+ "content": {
2075
+ "application/json": {
2076
+ "schema": {
2077
+ "$ref": "#/components/schemas/LegacyHandoffPartRequest"
2078
+ }
2079
+ }
2080
+ }
2081
+ },
2082
+ "responses": {
2083
+ "200": {
2084
+ "description": "The operation result.",
2085
+ "content": {
2086
+ "application/json": {
2087
+ "schema": {
2088
+ "$ref": "#/components/schemas/LegacyHandoffPart"
2089
+ }
2090
+ }
2091
+ }
2092
+ },
2093
+ "401": {
2094
+ "description": "The credential is invalid, or the generation or its lease is no longer current.",
2095
+ "content": {
2096
+ "application/problem+json": {
2097
+ "schema": {
2098
+ "$ref": "#/components/schemas/Problem"
2099
+ }
2100
+ }
2101
+ }
2102
+ },
2103
+ "403": {
2104
+ "description": "The manifest does not declare the domain as a provider profile, or the installation lacks the provider grant for it.",
2105
+ "content": {
2106
+ "application/problem+json": {
2107
+ "schema": {
2108
+ "$ref": "#/components/schemas/Problem"
2109
+ }
2110
+ }
2111
+ }
2112
+ },
2113
+ "404": {
2114
+ "description": "No export exists for this installation, or the sequence is not below the part count.",
2115
+ "content": {
2116
+ "application/problem+json": {
2117
+ "schema": {
2118
+ "$ref": "#/components/schemas/Problem"
2119
+ }
2120
+ }
2121
+ }
2122
+ },
2123
+ "409": {
2124
+ "description": "Another installation holds the domain, or the digest differs from the current export.",
2125
+ "content": {
2126
+ "application/problem+json": {
2127
+ "schema": {
2128
+ "$ref": "#/components/schemas/Problem"
2129
+ }
2130
+ }
2131
+ }
2132
+ },
2133
+ "503": {
2134
+ "description": "The stored part is unreadable. The platform must abort the handoff and export again.",
2135
+ "content": {
2136
+ "application/problem+json": {
2137
+ "schema": {
2138
+ "$ref": "#/components/schemas/Problem"
2139
+ }
2140
+ }
2141
+ }
2142
+ },
2143
+ "4XX": {
2144
+ "description": "The request was rejected with a stable problem code.",
2145
+ "content": {
2146
+ "application/problem+json": {
2147
+ "schema": {
2148
+ "$ref": "#/components/schemas/Problem"
2149
+ }
2150
+ }
2151
+ }
2152
+ },
2153
+ "5XX": {
2154
+ "description": "The operation failed with a stable problem code.",
2155
+ "content": {
2156
+ "application/problem+json": {
2157
+ "schema": {
2158
+ "$ref": "#/components/schemas/Problem"
2159
+ }
2160
+ }
2161
+ }
2162
+ }
2163
+ }
2164
+ }
2165
+ },
2166
+ "/platform/v1/legacy-handoffs/{domain}/commit": {
2167
+ "post": {
2168
+ "operationId": "commitLegacyHandoff",
2169
+ "summary": "Commit an imported built-in feature export",
2170
+ "description": "Commit exactly the digest that begin returned, after every part is imported durably. Commit retires the platform state once and transfers ownership to this installation. The result state is committed. Repeating commit with the same digest returns committed.",
2171
+ "x-rentnerproxy-socket": "core.sock",
2172
+ "security": [
2173
+ {
2174
+ "CoreCredential": []
2175
+ }
2176
+ ],
2177
+ "parameters": [
2178
+ {
2179
+ "$ref": "#/components/parameters/Installation"
2180
+ },
2181
+ {
2182
+ "$ref": "#/components/parameters/Generation"
2183
+ },
2184
+ {
2185
+ "$ref": "#/components/parameters/Delegation"
2186
+ },
2187
+ {
2188
+ "$ref": "#/components/parameters/domain"
2189
+ },
2190
+ {
2191
+ "$ref": "#/components/parameters/IdempotencyKey"
2192
+ }
2193
+ ],
2194
+ "requestBody": {
2195
+ "required": true,
2196
+ "content": {
2197
+ "application/json": {
2198
+ "schema": {
2199
+ "$ref": "#/components/schemas/LegacyHandoffCommit"
2200
+ }
2201
+ }
2202
+ }
2203
+ },
2204
+ "responses": {
2205
+ "200": {
2206
+ "description": "The operation result.",
2207
+ "content": {
2208
+ "application/json": {
2209
+ "schema": {
2210
+ "$ref": "#/components/schemas/LegacyHandoffCommitResult"
2211
+ }
2212
+ }
2213
+ }
2214
+ },
2215
+ "401": {
2216
+ "description": "The credential is invalid, or the generation or its lease is no longer current.",
2217
+ "content": {
2218
+ "application/problem+json": {
2219
+ "schema": {
2220
+ "$ref": "#/components/schemas/Problem"
2221
+ }
2222
+ }
2223
+ }
2224
+ },
2225
+ "403": {
2226
+ "description": "The manifest does not declare the domain as a provider profile, or the installation lacks the provider grant for it.",
2227
+ "content": {
2228
+ "application/problem+json": {
2229
+ "schema": {
2230
+ "$ref": "#/components/schemas/Problem"
2231
+ }
2232
+ }
2233
+ }
2234
+ },
2235
+ "404": {
2236
+ "description": "No export exists for this installation.",
2237
+ "content": {
2238
+ "application/problem+json": {
2239
+ "schema": {
2240
+ "$ref": "#/components/schemas/Problem"
2241
+ }
2242
+ }
2243
+ }
2244
+ },
2245
+ "409": {
2246
+ "description": "Another installation holds the domain, the digest differs from the export, or the idempotency key conflicts.",
2247
+ "content": {
2248
+ "application/problem+json": {
2249
+ "schema": {
2250
+ "$ref": "#/components/schemas/Problem"
2251
+ }
2252
+ }
2253
+ }
2254
+ },
2255
+ "4XX": {
2256
+ "description": "The request was rejected with a stable problem code.",
2257
+ "content": {
2258
+ "application/problem+json": {
2259
+ "schema": {
2260
+ "$ref": "#/components/schemas/Problem"
2261
+ }
2262
+ }
2263
+ }
2264
+ },
2265
+ "5XX": {
2266
+ "description": "The operation failed with a stable problem code.",
2267
+ "content": {
2268
+ "application/problem+json": {
2269
+ "schema": {
2270
+ "$ref": "#/components/schemas/Problem"
2271
+ }
2272
+ }
2273
+ }
2274
+ }
2275
+ }
2276
+ }
2277
+ }
2278
+ },
2279
+ "x-rentnerproxy-rpc-limits": {
2280
+ "maxJsonBytes": 1048576,
2281
+ "maxJsonDepth": 64,
2282
+ "maxListEntries": 100,
2283
+ "defaultDeadlineMs": 10000,
2284
+ "maxDeadlineMs": 30000
2285
+ },
2286
+ "x-rentnerproxy-compatibility": {
2287
+ "requests": "Versioned requests and closed package, approval, credential and bridge records reject unknown fields. Omitted optional fields are absent. Null is valid only where explicitly declared.",
2288
+ "responses": "Readers tolerate additional fields only in open response schemas. Unknown discriminants, required capabilities and security-relevant values are rejected.",
2289
+ "encoding": "Protocol member names use camelCase. IDs, revisions and cursors are strings. Timestamps use UTC with milliseconds. Numbers stay within the safe JSON integer magnitude, including in app payloads and open fields. Decoders must reject duplicate members and invalid Unicode. The JSON depth limit counts nested arrays and objects.",
2290
+ "evolution": "Within v1 preserve required fields, units, defaults and semantics. Add new optional response fields only to open shapes. Breaking wire changes require a new major version and negotiation before use.",
2291
+ "admission": "Check payload bounds and authenticated identity before dispatch. Recheck current installation generation, user delegation, capability and resource scope at the platform boundary. Bound concurrent requests per installation.",
2292
+ "optionalMarketplace": "Use separate bounded background requests and keep enrichment outside trusted catalog and installation decisions. Cache or omit enrichment if unavailable. Respect the advertised request size, page and deadline limits."
2293
+ },
2294
+ "x-rentnerproxy-runtime-evidence": {
2295
+ "profile": "rentnerproxy-linux-v1",
2296
+ "platformCommit": "195bd9b66dec662c9bb81ca2b1a3a4f889f15f3f",
2297
+ "workflowRun": "https://github.com/RentnerProxy/platform/actions/runs/44192659551",
2298
+ "bunVersion": "1.4.4",
2299
+ "highestReferencedGlibc": "2.17",
2300
+ "testedTargets": [
2301
+ {
2302
+ "target": "linux-amd64",
2303
+ "machine": "x86_64",
2304
+ "kernel": "7.0.0-1014-aws",
2305
+ "libc": "glibc 2.41",
2306
+ "elfAbi": "Linux 3.2.0"
2307
+ },
2308
+ {
2309
+ "target": "linux-arm64",
2310
+ "machine": "aarch64",
2311
+ "kernel": "7.0.0-1017-azure",
2312
+ "libc": "glibc 2.41",
2313
+ "elfAbi": "Linux 3.7.0"
2314
+ }
2315
+ ],
2316
+ "description": "Observed appliances verified both private sockets, generation revocation, frame-bound UI and signed local installation followed by offline startup. These measurements describe the exercised environments. Package admission checks the target and runtime profile on the actual appliance."
2317
+ },
2318
+ "components": {
2319
+ "securitySchemes": {
2320
+ "AppCredential": {
2321
+ "type": "http",
2322
+ "scheme": "bearer",
2323
+ "description": "The manager-issued app direction credential. The platform verifies the app peer UID before calling it. The app validates the credential and generation."
2324
+ },
2325
+ "CoreCredential": {
2326
+ "type": "http",
2327
+ "scheme": "bearer",
2328
+ "description": "The manager-issued core direction credential. The platform validates the Linux peer UID and credential on each request and authorizes the installation generation for the requested operation."
2329
+ }
2330
+ },
2331
+ "parameters": {
2332
+ "Installation": {
2333
+ "name": "X-App-Installation",
2334
+ "in": "header",
2335
+ "required": true,
2336
+ "schema": {
2337
+ "$ref": "#/components/schemas/RecordId"
2338
+ }
2339
+ },
2340
+ "Generation": {
2341
+ "name": "X-App-Generation",
2342
+ "in": "header",
2343
+ "required": true,
2344
+ "description": "Positive installation generation in canonical decimal form.",
2345
+ "schema": {
2346
+ "$ref": "#/components/schemas/Generation"
2347
+ }
2348
+ },
2349
+ "Delegation": {
2350
+ "name": "X-App-Delegation",
2351
+ "in": "header",
2352
+ "description": "The platform-issued opaque delegation is required for user-originated work. An explicit service grant governs autonomous operations.",
2353
+ "schema": {
2354
+ "type": "string",
2355
+ "pattern": "^[A-Za-z0-9_-]{16,256}$"
2356
+ }
2357
+ },
2358
+ "IdempotencyKey": {
2359
+ "name": "Idempotency-Key",
2360
+ "in": "header",
2361
+ "required": true,
2362
+ "description": "Retry the same input with the original key. Reusing the key with different input conflicts.",
2363
+ "schema": {
2364
+ "$ref": "#/components/schemas/RecordId"
2365
+ }
2366
+ },
2367
+ "operationId": {
2368
+ "name": "operationId",
2369
+ "in": "path",
2370
+ "required": true,
2371
+ "schema": {
2372
+ "$ref": "#/components/schemas/RecordId"
2373
+ }
2374
+ },
2375
+ "providerId": {
2376
+ "name": "providerId",
2377
+ "in": "path",
2378
+ "required": true,
2379
+ "schema": {
2380
+ "$ref": "#/components/schemas/RecordId"
2381
+ }
2382
+ },
2383
+ "secretId": {
2384
+ "name": "secretId",
2385
+ "in": "path",
2386
+ "required": true,
2387
+ "schema": {
2388
+ "$ref": "#/components/schemas/RecordId"
2389
+ }
2390
+ },
2391
+ "incidentKey": {
2392
+ "name": "incidentKey",
2393
+ "in": "path",
2394
+ "required": true,
2395
+ "schema": {
2396
+ "$ref": "#/components/schemas/RecordId"
2397
+ }
2398
+ },
2399
+ "domain": {
2400
+ "name": "domain",
2401
+ "in": "path",
2402
+ "required": true,
2403
+ "schema": {
2404
+ "$ref": "#/components/schemas/LegacyHandoffDomain"
2405
+ }
2406
+ },
2407
+ "ResumeCursor": {
2408
+ "name": "Last-Event-ID",
2409
+ "in": "header",
2410
+ "description": "Resume within the subscription authorized by the current generation, grants, and delegation.",
2411
+ "schema": {
2412
+ "$ref": "#/components/schemas/EventCursor"
2413
+ }
2414
+ }
2415
+ },
2416
+ "schemas": {
2417
+ "JsonValue": {
2418
+ "$ref": "./contracts.schema.json#/$defs/JsonValue"
2419
+ },
2420
+ "SourceIdentity": {
2421
+ "$ref": "./contracts.schema.json#/$defs/SourceIdentity"
2422
+ },
2423
+ "AppManifest": {
2424
+ "$ref": "./contracts.schema.json#/$defs/AppManifest"
2425
+ },
2426
+ "PackageArtifact": {
2427
+ "$ref": "./contracts.schema.json#/$defs/PackageArtifact"
2428
+ },
2429
+ "CatalogRelease": {
2430
+ "$ref": "./contracts.schema.json#/$defs/CatalogRelease"
2431
+ },
2432
+ "Revocation": {
2433
+ "$ref": "./contracts.schema.json#/$defs/Revocation"
2434
+ },
2435
+ "Catalog": {
2436
+ "$ref": "./contracts.schema.json#/$defs/Catalog"
2437
+ },
2438
+ "Candidate": {
2439
+ "$ref": "./contracts.schema.json#/$defs/Candidate"
2440
+ },
2441
+ "Approval": {
2442
+ "$ref": "./contracts.schema.json#/$defs/Approval"
2443
+ },
2444
+ "Publication": {
2445
+ "$ref": "./contracts.schema.json#/$defs/Publication"
2446
+ },
2447
+ "RecordId": {
2448
+ "$ref": "./contracts.schema.json#/$defs/RecordId"
2449
+ },
2450
+ "Generation": {
2451
+ "$ref": "./contracts.schema.json#/$defs/Generation"
2452
+ },
2453
+ "BootstrapDescriptor": {
2454
+ "$ref": "./contracts.schema.json#/$defs/BootstrapDescriptor"
2455
+ },
2456
+ "AppHealth": {
2457
+ "$ref": "./contracts.schema.json#/$defs/AppHealth"
2458
+ },
2459
+ "AppReadiness": {
2460
+ "$ref": "./contracts.schema.json#/$defs/AppReadiness"
2461
+ },
2462
+ "PlatformContext": {
2463
+ "$ref": "./contracts.schema.json#/$defs/PlatformContext"
2464
+ },
2465
+ "AuthorizationRequest": {
2466
+ "$ref": "./contracts.schema.json#/$defs/AuthorizationRequest"
2467
+ },
2468
+ "AuthorizationResult": {
2469
+ "$ref": "./contracts.schema.json#/$defs/AuthorizationResult"
2470
+ },
2471
+ "EventCursor": {
2472
+ "$ref": "./contracts.schema.json#/$defs/EventCursor"
2473
+ },
2474
+ "PlatformEvent": {
2475
+ "$ref": "./contracts.schema.json#/$defs/PlatformEvent"
2476
+ },
2477
+ "ProviderRegistration": {
2478
+ "$ref": "./contracts.schema.json#/$defs/ProviderRegistration"
2479
+ },
2480
+ "ProviderRequest": {
2481
+ "$ref": "./contracts.schema.json#/$defs/ProviderRequest"
2482
+ },
2483
+ "ProviderResult": {
2484
+ "$ref": "./contracts.schema.json#/$defs/ProviderResult"
2485
+ },
2486
+ "AppApiPayload": {
2487
+ "$ref": "./contracts.schema.json#/$defs/AppApiPayload"
2488
+ },
2489
+ "ProxyHostQuery": {
2490
+ "$ref": "./contracts.schema.json#/$defs/ProxyHostQuery"
2491
+ },
2492
+ "ProxyHostPage": {
2493
+ "$ref": "./contracts.schema.json#/$defs/ProxyHostPage"
2494
+ },
2495
+ "OwnedProxyHostChange": {
2496
+ "$ref": "./contracts.schema.json#/$defs/OwnedProxyHostChange"
2497
+ },
2498
+ "UpstreamProbe": {
2499
+ "$ref": "./contracts.schema.json#/$defs/UpstreamProbe"
2500
+ },
2501
+ "UpstreamProbeResult": {
2502
+ "$ref": "./contracts.schema.json#/$defs/UpstreamProbeResult"
2503
+ },
2504
+ "UpstreamProbeBatch": {
2505
+ "$ref": "./contracts.schema.json#/$defs/UpstreamProbeBatch"
2506
+ },
2507
+ "UpstreamProbeOutcome": {
2508
+ "$ref": "./contracts.schema.json#/$defs/UpstreamProbeOutcome"
2509
+ },
2510
+ "UpstreamProbeBatchResult": {
2511
+ "$ref": "./contracts.schema.json#/$defs/UpstreamProbeBatchResult"
2512
+ },
2513
+ "AppNotification": {
2514
+ "$ref": "./contracts.schema.json#/$defs/AppNotification"
2515
+ },
2516
+ "AppIncidentChange": {
2517
+ "$ref": "./contracts.schema.json#/$defs/AppIncidentChange"
2518
+ },
2519
+ "AppAuditEvent": {
2520
+ "$ref": "./contracts.schema.json#/$defs/AppAuditEvent"
2521
+ },
2522
+ "AppSecret": {
2523
+ "$ref": "./contracts.schema.json#/$defs/AppSecret"
2524
+ },
2525
+ "LegacyHandoffDomain": {
2526
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffDomain"
2527
+ },
2528
+ "LegacyHandoffStatus": {
2529
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffStatus"
2530
+ },
2531
+ "LegacyHandoffBeginResult": {
2532
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffBeginResult"
2533
+ },
2534
+ "LegacyHandoffPartRequest": {
2535
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffPartRequest"
2536
+ },
2537
+ "LegacyHandoffPart": {
2538
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffPart"
2539
+ },
2540
+ "LegacyHandoffCommit": {
2541
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffCommit"
2542
+ },
2543
+ "LegacyHandoffCommitResult": {
2544
+ "$ref": "./contracts.schema.json#/$defs/LegacyHandoffCommitResult"
2545
+ },
2546
+ "UiBridgeMessage": {
2547
+ "$ref": "./contracts.schema.json#/$defs/UiBridgeMessage"
2548
+ },
2549
+ "Problem": {
2550
+ "$ref": "./contracts.schema.json#/$defs/Problem"
2551
+ },
2552
+ "Operation": {
2553
+ "$ref": "./contracts.schema.json#/$defs/Operation"
2554
+ }
2555
+ }
2556
+ }
2557
+ }