Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit 5124981

Browse files
committed
security clarifications, change name of an operation
1 parent 51d7a7d commit 5124981

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

api/src/core/routes/migration.tsp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ namespace Migration {
156156
@added(Version.`v1.0-alpha.1`)
157157
@summary("Fetch messages to-be-resigned")
158158
/**
159-
* Fetch messages to be re-signed.
159+
* Fetch messages to be re-signed. Must only return messages where the signatures correlate to
160+
* ID-Certs for which a key trial has been passed.
160161
* @param limit How many messages to request from the server. Defaults to 100.
161162
* @param serialNumber If specified, query for non-re-signed messages corresponding to a specific ID-Cert.
162163
* @returns Messages. The distinct format of messages is up to the specific p2 extension to define.
@@ -189,7 +190,7 @@ namespace Migration {
189190
* - `202`, if the server needs additional time to process the key trials
190191
* - `400`, if one or more completed key trials were faulty. Contains faulty key trials in the response body.
191192
*/
192-
op keyTrialRedirectExtern(@body body: polyproto.core.models.KeyTrialCompleted[]): {
193+
op completeKeyTrial(@body body: polyproto.core.models.KeyTrialCompleted[]): {
193194
@doc("Returns `200` if the key trials were processed and deemed to be valid. Returns `202`, if the server needs additional time to process the key trials.")
194195
@statusCode statusCode: 202 | 200
195196
} | {

0 commit comments

Comments
 (0)