You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2025. It is now read-only.
* Stop an in-progress or existing redirection process. Requires a completed key trial.
53
-
* // TODO: Does it? ^ If yes, specify for which cert(s)
53
+
* Stop an in-progress or existing redirection process.
54
54
*
55
55
* @paramremoveActorFid The FID of the actor to which a redirect should no longer exist
56
56
*/
57
57
@route("/redirect")
58
58
@delete
59
+
@useAuth(BearerAuth)
59
60
@added(Version.`v1.0-beta.1`)
60
61
@summary("Remove a redirect for migrating identities")
61
-
opremoveRedirect(
62
-
@queryremoveActorFid:string,
62
+
opremoveRedirect(@queryremoveActorFid:string): {
63
+
@statusCodestatusCode:204;
63
64
64
-
@doc("A completed `KeyTrial`.")
65
65
@header({
66
-
name:"X-P2-core-keytrial",
66
+
name:"Content-Length",
67
67
})
68
-
keyTrial:polyproto.core.models.KeyTrialCompleted,
69
-
): {
70
-
@statusCodestatusCode:200;
71
-
@bodybody:polyproto.core.models.KeyTrial;
68
+
contentLength:0;
72
69
} | {
73
70
@statusCodestatusCode:400;
74
71
};
@@ -145,6 +142,7 @@ namespace Migration {
145
142
146
143
/**
147
144
* Request allowing message re-signing. To fulfill this action, a key trial must be passed.
145
+
* Unlocks message re-signing for messages signed with keys for which a key trial has been passed.
148
146
* @paramallowedResigningKeys List of PEM encoded `SubjectPublicKeyInfo`s. Only key pairs mentioned in this list are allowed to re-sign messages after the key trial has been passed.
149
147
*/
150
148
@route("/messages")
@@ -157,11 +155,12 @@ namespace Migration {
157
155
allowedResigningKeys:string[];
158
156
},
159
157
160
-
@doc("A completed `KeyTrial`.")
158
+
@doc("A list of completed `KeyTrial`s.")
161
159
@header({
162
160
name:"X-P2-core-keytrial",
161
+
format:"simple",
163
162
})
164
-
keyTrial:polyproto.core.models.KeyTrialCompleted, // TODO doesnt this have to be an array?
keyTrial:polyproto.core.models.KeyTrialCompleted, // TODO: Must be array. re-evaluate if keytrial responses should be part of header. i think they are better suited as a body
0 commit comments