Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 639d9e5

Browse files
committed
2 parents b27fbbd + fe89a75 commit 639d9e5

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

api/build/core-openapi3.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,13 @@ paths:
539539
responses:
540540
'200':
541541
description: Messages. The distinct format of messages is up to the specific p2 extension to define.
542+
headers:
543+
'X-P2-Return-Body-Size-Limit ':
544+
required: false
545+
description: This header tells the client whether the route to commit re-signed messages has an upload size limit, and what the size of that limit is. A value of `0` means that there is no limit. This header not being present can also be interpreted as no limit existing.
546+
schema:
547+
type: integer
548+
format: uint64
542549
content:
543550
application/json:
544551
schema:
@@ -576,6 +583,17 @@ paths:
576583
description: Messages. The distinct format of messages is up to the specific p2 extension to define.
577584
tags:
578585
- Migration - Registration not required
586+
requestBody:
587+
required: true
588+
content:
589+
application/json:
590+
schema:
591+
type: object
592+
properties:
593+
serialNumber:
594+
type: integer
595+
format: uint64
596+
description: If specified, query for non-re-signed messages corresponding to a specific ID-Cert.
579597
security:
580598
- BearerAuth: []
581599
/.p2/core/v1/messages/commit:
@@ -592,6 +610,13 @@ paths:
592610
- `403` if messages have been modified where the original keys have not passed the key
593611
trial, if a key trial has not been passed at all or if the messages have been signed
594612
with keys that were not on the `allowedResigningKeys` list.
613+
headers:
614+
Retry-After:
615+
required: true
616+
description: This header dictates the time a client should wait for before sending another batch of re-signed messages.
617+
schema:
618+
type: integer
619+
format: uint16
595620
'400':
596621
description: |-
597622
- `200` On success

0 commit comments

Comments
 (0)