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

Commit a044d43

Browse files
committed
chore: bump version
1 parent 5b49597 commit a044d43

File tree

5 files changed

+36
-36
lines changed

5 files changed

+36
-36
lines changed

polyproto/core/routes/federated_identity.tsp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
1818
*/
1919
@route("/idcert")
2020
@summary("Get a new ID-Cert")
21-
@added(Version.`v1.0-beta.2`)
21+
@added(Version.`v1.0-beta.3`)
2222
@post
2323
@tag("Sensitive Actions")
2424
op newIdCert(
@@ -51,7 +51,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
5151
*/
5252
@route("/session/keymaterial")
5353
@summary("Upload encrypted private key material")
54-
@added(Version.`v1.0-beta.2`)
54+
@added(Version.`v1.0-beta.3`)
5555
@post
5656
op uploadEncryptedPKM(
5757
@body @minItems(1) pkm: polyproto.core.Models.EncryptedPKM[],
@@ -83,7 +83,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
8383
*/
8484
@route("/session/keymaterial")
8585
@summary("Get encrypted private key material")
86-
@added(Version.`v1.0-beta.2`)
86+
@added(Version.`v1.0-beta.3`)
8787
@get
8888
op getEncryptedPKM(@query serials?: uint64[]): {
8989
@statusCode statusCode: 200;
@@ -108,7 +108,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
108108
@route("/session/keymaterial")
109109
@tag("Sensitive Actions")
110110
@summary("Delete encrypted private key material")
111-
@added(Version.`v1.0-beta.2`)
111+
@added(Version.`v1.0-beta.3`)
112112
@delete
113113
op deleteEncryptedPKM(
114114
@doc("Sensitive actions require a second factor of authentication to be executed. Read [section 4.1.2 of the protocol definition](https://docs.polyphony.chat/Protocol%20Specifications/core/#412-sensitive-actions) for more information.")
@@ -134,7 +134,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
134134
*/
135135
@route("/session/keymaterial/size")
136136
@summary("Get encrypted private key material upload size limit")
137-
@added(Version.`v1.0-beta.2`)
137+
@added(Version.`v1.0-beta.3`)
138138
@get
139139
@useAuth(NoAuth)
140140
op encryptedPKMsizeLimit(): {
@@ -150,7 +150,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
150150
*/
151151
@route("/session")
152152
@delete
153-
@added(Version.`v1.0-beta.2`)
153+
@added(Version.`v1.0-beta.3`)
154154
@summary("Delete/Revoke Session")
155155
@useAuth(BearerAuth)
156156
op deleteSession(
@@ -174,7 +174,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
174174
*/
175175
@route("/key/server")
176176
@summary("Rotate Server Identity Key")
177-
@added(Version.`v1.0-beta.2`)
177+
@added(Version.`v1.0-beta.3`)
178178
@post
179179
@useAuth(BearerAuth)
180180
@tag("Sensitive Actions")
@@ -196,7 +196,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
196196
*/
197197
@route("/idcert/server")
198198
@get
199-
@added(Version.`v1.0-beta.2`)
199+
@added(Version.`v1.0-beta.3`)
200200
@summary("Get Server ID-Cert")
201201
op serverIdCert(
202202
@query timestamp?: uint64,
@@ -212,7 +212,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
212212
*/
213213
@route("/idcert/actor")
214214
@get
215-
@added(Version.`v1.0-beta.2`)
215+
@added(Version.`v1.0-beta.3`)
216216
@summary("Get Actor ID-Cert(s)")
217217
op actorCerts(
218218
@path fid: string,
@@ -232,7 +232,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
232232
*/
233233
@route("/session/idcert/extern")
234234
@put
235-
@added(Version.`v1.0-beta.2`)
235+
@added(Version.`v1.0-beta.3`)
236236
@useAuth(BearerAuth)
237237
@summary("Update session ID-Cert")
238238
op updateSessionCert(@body id_cert: string): {
@@ -247,7 +247,7 @@ namespace polyproto.core.Routes.FederatedIdentity {
247247
*/
248248
@route("/session/auth")
249249
@post
250-
@added(Version.`v1.0-beta.2`)
250+
@added(Version.`v1.0-beta.3`)
251251
@summary("Authenticate on a foreign server")
252252
op requestToken(
253253
@body

polyproto/core/routes/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ using TypeSpec.OpenAPI;
2525
namespace polyproto.core;
2626

2727
enum Version {
28-
`v1.0-beta.2`,
28+
`v1.0-beta.3`,
2929
}

polyproto/core/routes/migration.tsp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ namespace polyproto.core.Routes.Migration {
3030
*/
3131
@route("/redirect")
3232
@post
33-
@added(Version.`v1.0-beta.2`)
33+
@added(Version.`v1.0-beta.3`)
3434
@summary("Set up a redirect for migrating identities")
3535
op setupRedirect(
3636
@body newActorFid: string,
@@ -50,7 +50,7 @@ namespace polyproto.core.Routes.Migration {
5050
@route("/redirect")
5151
@delete
5252
@useAuth(BearerAuth)
53-
@added(Version.`v1.0-beta.2`)
53+
@added(Version.`v1.0-beta.3`)
5454
@summary("Remove a redirect for migrating identities")
5555
op removeRedirect(@query removeActorFid: string): {
5656
@statusCode statusCode: 204;
@@ -71,7 +71,7 @@ namespace polyproto.core.Routes.Migration {
7171
*/
7272
@route("/data")
7373
@post
74-
@added(Version.`v1.0-beta.2`)
74+
@added(Version.`v1.0-beta.3`)
7575
@summary("Import data to server")
7676
@tag("Sensitive Actions")
7777
op importData(
@@ -101,7 +101,7 @@ namespace polyproto.core.Routes.Migration {
101101
*/
102102
@route("/redirect/extern")
103103
@post
104-
@added(Version.`v1.0-beta.2`)
104+
@added(Version.`v1.0-beta.3`)
105105
@summary("Set up a redirect for migrating identities")
106106
op setupRedirectExtern(@query redirectSourceFid: string): {
107107
@statusCode statusCode: 202 | 200;
@@ -117,7 +117,7 @@ namespace polyproto.core.Routes.Migration {
117117
*/
118118
@route("/redirect/extern")
119119
@delete
120-
@added(Version.`v1.0-beta.2`)
120+
@added(Version.`v1.0-beta.3`)
121121
@summary("Remove a redirect for migrating identities")
122122
op removeRedirectExtern(@query redirectSourceFid: string): {
123123
@statusCode statusCode: 200;
@@ -132,7 +132,7 @@ namespace polyproto.core.Routes.Migration {
132132
*/
133133
@route("/messages")
134134
@delete
135-
@added(Version.`v1.0-beta.2`)
135+
@added(Version.`v1.0-beta.3`)
136136
@summary("Abort message re-signing")
137137
op removeResigningExtern(@query removeActorFid: string): {
138138
@statusCode statusCode: 404;
@@ -150,7 +150,7 @@ namespace polyproto.core.Routes.Migration {
150150
*/
151151
@route("/messages")
152152
@post
153-
@added(Version.`v1.0-beta.2`)
153+
@added(Version.`v1.0-beta.3`)
154154
@summary("Request message re-signing")
155155
op requestAllowResigning(
156156
@body body: {
@@ -180,7 +180,7 @@ namespace polyproto.core.Routes.Migration {
180180
*/
181181
@route("/messages/commit")
182182
@post
183-
@added(Version.`v1.0-beta.2`)
183+
@added(Version.`v1.0-beta.3`)
184184
@summary("Commit re-signed messages")
185185
op commitMessages(
186186
@body messages: polyproto.core.Models.MessageBatch<string>[],
@@ -213,7 +213,7 @@ namespace polyproto.core.Routes.Migration {
213213
*/
214214
@route("/messages")
215215
@get
216-
@added(Version.`v1.0-beta.2`)
216+
@added(Version.`v1.0-beta.3`)
217217
@summary("Fetch messages to-be-resigned")
218218
op getMessages(
219219
@query limit?: uint32 = 300,
@@ -250,7 +250,7 @@ namespace polyproto.core.Routes.Migration {
250250
*/
251251
@route("/keytrial/{fid}")
252252
@get
253-
@added(Version.`v1.0-beta.2`)
253+
@added(Version.`v1.0-beta.3`)
254254
@summary("Fetch key trials and key trial responses from actor")
255255
op getKeyTrials(
256256
@path fid: string,
@@ -286,7 +286,7 @@ namespace polyproto.core.Routes.Migration {
286286
*/
287287
@route("/data")
288288
@delete
289-
@added(Version.`v1.0-beta.2`)
289+
@added(Version.`v1.0-beta.3`)
290290
@summary("Delete own actor data from the server")
291291
op deleteData(
292292
@query breakRedirect?: boolean = false,
@@ -317,7 +317,7 @@ namespace polyproto.core.Routes.Migration {
317317
*/
318318
@route("/data")
319319
@get
320-
@added(Version.`v1.0-beta.2`)
320+
@added(Version.`v1.0-beta.3`)
321321
@summary("Export all data")
322322
op exportData(
323323
@doc("A list of completed `KeyTrial`s")

polyproto/core/routes/rawr.tsp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
2525
@route("/{rid}")
2626
@get
2727
@useAuth(BearerAuth | NoAuth)
28-
@added(Version.`v1.0-beta.2`)
28+
@added(Version.`v1.0-beta.3`)
2929
@summary("Get resource by resource ID")
3030
op getResource(@path rid: string): {
3131
@statusCode _: 200;
@@ -51,7 +51,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
5151
@route("/{rid}/info/")
5252
@get
5353
@useAuth(BearerAuth | NoAuth)
54-
@added(Version.`v1.0-beta.2`)
54+
@added(Version.`v1.0-beta.3`)
5555
@summary("Retrieve information about a RawR resource")
5656
op getResourceInfos(@path rid: string): {
5757
@statusCode statusCode: 200;
@@ -84,7 +84,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
8484
*/
8585
@route("/{rid}")
8686
@post
87-
@added(Version.`v1.0-beta.2`)
87+
@added(Version.`v1.0-beta.3`)
8888
@summary("Upload RawR resource")
8989
op postResource(
9090
@path rid: string,
@@ -132,7 +132,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
132132

133133
@route("/{rid}")
134134
@delete
135-
@added(Version.`v1.0-beta.2`)
135+
@added(Version.`v1.0-beta.3`)
136136
@summary("Delete RawR resource")
137137
op deleteResource(@path rid: string): {
138138
@statusCode _: 204;
@@ -146,7 +146,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
146146
*/
147147
@route("/{rid}")
148148
@put
149-
@added(Version.`v1.0-beta.2`)
149+
@added(Version.`v1.0-beta.3`)
150150
@summary("Update RawR resource access properties")
151151
op modifyResource(
152152
@path rid: string,
@@ -167,7 +167,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
167167
*/
168168
@route("/resources")
169169
@get
170-
@added(Version.`v1.0-beta.2`)
170+
@added(Version.`v1.0-beta.3`)
171171
@summary("List your uploaded resources")
172172
op getResourceList(
173173
@query limit?: uint32 = 50,
@@ -198,7 +198,7 @@ namespace polyproto.core.Routes.ResourceAddressingWithRelativeRoots {
198198
*/
199199
@route("/usage")
200200
@get
201-
@added(Version.`v1.0-beta.2`)
201+
@added(Version.`v1.0-beta.3`)
202202
@summary("Retrieve information about your storage usage")
203203
op getStorageLimitInfo(): {
204204
@statusCode _s: 200;

polyproto/core/routes/services.tsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace polyproto.core.Routes.Services {
1818
@route("/services")
1919
@post
2020
@summary("Add service to be discovered")
21-
@added(Version.`v1.0-beta.2`)
21+
@added(Version.`v1.0-beta.3`)
2222
@returnsDoc("A singular service object, representing the service that was added.")
2323
@errorsDoc("Returned, if the service and URL combination already exists in the list of discoverable services.")
2424
op registerService(service: polyproto.core.Models.Service): {
@@ -40,7 +40,7 @@ namespace polyproto.core.Routes.Services {
4040
@route("/services")
4141
@delete
4242
@summary("Delete discoverable service")
43-
@added(Version.`v1.0-beta.2`)
43+
@added(Version.`v1.0-beta.3`)
4444
@tag("Sensitive Actions")
4545
op unregisterService(
4646
@doc("Sensitive actions require a second factor of authentication to be executed. Read [section 4.1.2 of the protocol definition](https://docs.polyphony.chat/Protocol%20Specifications/core/#412-sensitive-actions) for more information.")
@@ -73,7 +73,7 @@ namespace polyproto.core.Routes.Services {
7373
@put
7474
@tag("Sensitive Actions")
7575
@summary("Set primary service provider")
76-
@added(Version.`v1.0-beta.2`)
76+
@added(Version.`v1.0-beta.3`)
7777
op setPrimaryProvider(
7878
@doc("Sensitive actions require a second factor of authentication to be executed. Read [section 4.1.2 of the protocol definition](https://docs.polyphony.chat/Protocol%20Specifications/core/#412-sensitive-actions) for more information.")
7979
@header(#{ name: "X-P2-Sensitive-Solution" })
@@ -109,7 +109,7 @@ namespace polyproto.core.Routes.Services {
109109
@route("/services/discover/")
110110
@get
111111
@summary("Discover services of actor")
112-
@added(Version.`v1.0-beta.2`)
112+
@added(Version.`v1.0-beta.3`)
113113
op getServicesOfActor(
114114
@path fid: string,
115115
@query @minValue(1) limit?: uint64,
@@ -141,7 +141,7 @@ namespace polyproto.core.Routes.Services {
141141
@route("/services/discover/{fid}/{service}")
142142
@get
143143
@summary("Discover single service of actor")
144-
@added(Version.`v1.0-beta.2`)
144+
@added(Version.`v1.0-beta.3`)
145145
op getSingleServiceOfActor(
146146
@path fid: string,
147147
@path service: string,

0 commit comments

Comments
 (0)