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

Commit c907188

Browse files
[bot]update openapi3 schema
1 parent 95a0d51 commit c907188

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

build/core-openapi3.yaml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ paths:
4141
schema:
4242
type: array
4343
items:
44-
$ref: '#/components/schemas/polyproto.core.models.KeyTrialCompleted'
44+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrialCompleted'
4545
responses:
4646
'204':
4747
description: '- `204`: Action executed'
@@ -74,7 +74,7 @@ paths:
7474
schema:
7575
type: array
7676
items:
77-
$ref: '#/components/schemas/polyproto.core.models.KeyTrialCompleted'
77+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrialCompleted'
7878
responses:
7979
'200':
8080
description: |-
@@ -88,7 +88,7 @@ paths:
8888
content:
8989
application/json:
9090
schema:
91-
$ref: '#/components/schemas/polyproto.core.models.P2Export'
91+
$ref: '#/components/schemas/polyproto.core.Models.P2Export'
9292
'204':
9393
description: |-
9494
- `200` and the appropriate data if the key trial has been passed and is not yet expired.
@@ -195,7 +195,7 @@ paths:
195195
schema:
196196
type: array
197197
items:
198-
$ref: '#/components/schemas/polyproto.core.models.CacheableIDCert'
198+
$ref: '#/components/schemas/polyproto.core.Models.CacheableIDCert'
199199
tags:
200200
- Federated Identity - Registration not required
201201
/.p2/core/v1/idcert/server:
@@ -222,7 +222,7 @@ paths:
222222
content:
223223
application/json:
224224
schema:
225-
$ref: '#/components/schemas/polyproto.core.models.CacheableIDCert'
225+
$ref: '#/components/schemas/polyproto.core.Models.CacheableIDCert'
226226
tags:
227227
- Federated Identity - Registration not required
228228
/.p2/core/v1/key/server:
@@ -314,11 +314,11 @@ paths:
314314
type: object
315315
properties:
316316
keyTrial:
317-
$ref: '#/components/schemas/polyproto.core.models.KeyTrial'
317+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrial'
318318
keyTrialCompletion:
319319
type: array
320320
items:
321-
$ref: '#/components/schemas/polyproto.core.models.KeyTrialCompleted'
321+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrialCompleted'
322322
minItems: 1
323323
required:
324324
- keyTrial
@@ -391,7 +391,7 @@ paths:
391391
schema:
392392
type: array
393393
items:
394-
$ref: '#/components/schemas/polyproto.core.models.KeyTrialCompleted'
394+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrialCompleted'
395395
responses:
396396
'200':
397397
description: The request has succeeded.
@@ -648,7 +648,7 @@ paths:
648648
content:
649649
application/json:
650650
schema:
651-
$ref: '#/components/schemas/polyproto.core.models.P2Export'
651+
$ref: '#/components/schemas/polyproto.core.Models.P2Export'
652652
security:
653653
- BearerAuth: []
654654
/.p2/core/v1/migration/redirect:
@@ -671,7 +671,7 @@ paths:
671671
schema:
672672
type: array
673673
items:
674-
$ref: '#/components/schemas/polyproto.core.models.KeyTrialCompleted'
674+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrialCompleted'
675675
responses:
676676
'200':
677677
description: |-
@@ -793,7 +793,7 @@ paths:
793793
required: false
794794
description: Whether the list should be sorted in a specific way. Available options are `SizeAsc`, `SizeDesc`, `NewestFirst` and `OldestFirst`.
795795
schema:
796-
$ref: '#/components/schemas/polyproto.core.models.ResourceListSorting'
796+
$ref: '#/components/schemas/polyproto.core.Models.ResourceListSorting'
797797
explode: false
798798
responses:
799799
'200':
@@ -811,7 +811,7 @@ paths:
811811
type: integer
812812
format: uint64
813813
access:
814-
$ref: '#/components/schemas/polyproto.core.models.ResourceAccessProperties'
814+
$ref: '#/components/schemas/polyproto.core.Models.ResourceAccessProperties'
815815
required:
816816
- resourceId
817817
- size
@@ -943,7 +943,7 @@ paths:
943943
required: true
944944
description: ResourceAccessProperties. See the corresponding schema definition for more information.
945945
schema:
946-
$ref: '#/components/schemas/polyproto.core.models.ResourceAccessProperties'
946+
$ref: '#/components/schemas/polyproto.core.Models.ResourceAccessProperties'
947947
explode: false
948948
responses:
949949
'204':
@@ -1107,7 +1107,7 @@ paths:
11071107
content:
11081108
application/json:
11091109
schema:
1110-
$ref: '#/components/schemas/polyproto.core.models.ResourceAccessProperties'
1110+
$ref: '#/components/schemas/polyproto.core.Models.ResourceAccessProperties'
11111111
description: ResourceAccessProperties. See the corresponding schema definition for more information.
11121112
security:
11131113
- BearerAuth: []
@@ -1147,7 +1147,7 @@ paths:
11471147
type: integer
11481148
format: uint64
11491149
access:
1150-
$ref: '#/components/schemas/polyproto.core.models.ResourceAccessProperties'
1150+
$ref: '#/components/schemas/polyproto.core.Models.ResourceAccessProperties'
11511151
required:
11521152
- resourceId
11531153
- size
@@ -1227,7 +1227,7 @@ paths:
12271227
content:
12281228
application/json:
12291229
schema:
1230-
$ref: '#/components/schemas/polyproto.core.models.Service'
1230+
$ref: '#/components/schemas/polyproto.core.Models.Service'
12311231
'409':
12321232
description: A singular service object, representing the service that was added.
12331233
tags:
@@ -1240,7 +1240,7 @@ paths:
12401240
type: object
12411241
properties:
12421242
service:
1243-
$ref: '#/components/schemas/polyproto.core.models.Service'
1243+
$ref: '#/components/schemas/polyproto.core.Models.Service'
12441244
required:
12451245
- service
12461246
security:
@@ -1344,10 +1344,10 @@ paths:
13441344
anyOf:
13451345
- type: array
13461346
items:
1347-
$ref: '#/components/schemas/polyproto.core.models.Service'
1347+
$ref: '#/components/schemas/polyproto.core.Models.Service'
13481348
- type: array
13491349
items:
1350-
$ref: '#/components/schemas/polyproto.core.models.Service'
1350+
$ref: '#/components/schemas/polyproto.core.Models.Service'
13511351
'204':
13521352
description: |-
13531353
JSON array of [service objects](./Types/service.md). A list of all services which the actor has
@@ -1405,10 +1405,10 @@ paths:
14051405
anyOf:
14061406
- type: array
14071407
items:
1408-
$ref: '#/components/schemas/polyproto.core.models.Service'
1408+
$ref: '#/components/schemas/polyproto.core.Models.Service'
14091409
- type: array
14101410
items:
1411-
$ref: '#/components/schemas/polyproto.core.models.Service'
1411+
$ref: '#/components/schemas/polyproto.core.Models.Service'
14121412
'204':
14131413
description: JSON array of [service objects](./Types/service.md), filtered by the specified service.
14141414
headers:
@@ -1449,7 +1449,7 @@ paths:
14491449
schema:
14501450
type: array
14511451
items:
1452-
$ref: '#/components/schemas/polyproto.core.models.Service'
1452+
$ref: '#/components/schemas/polyproto.core.Models.Service'
14531453
'400':
14541454
description: |-
14551455
An array of at minimum one, and at maximum 2 [service](./Types/service.md) objects.
@@ -1541,7 +1541,7 @@ paths:
15411541
content:
15421542
application/json:
15431543
schema:
1544-
$ref: '#/components/schemas/polyproto.core.models.KeyTrialCompleted'
1544+
$ref: '#/components/schemas/polyproto.core.Models.KeyTrialCompleted'
15451545
/.p2/core/v1/session/idcert/extern:
15461546
put:
15471547
operationId: Unregistered_updateSessionCert
@@ -1594,7 +1594,7 @@ paths:
15941594
schema:
15951595
type: array
15961596
items:
1597-
$ref: '#/components/schemas/polyproto.core.models.EncryptedPKM'
1597+
$ref: '#/components/schemas/polyproto.core.Models.EncryptedPKM'
15981598
description: Array of encrypted private key material objects.
15991599
security:
16001600
- BearerAuth: []
@@ -1624,7 +1624,7 @@ paths:
16241624
schema:
16251625
type: array
16261626
items:
1627-
$ref: '#/components/schemas/polyproto.core.models.EncryptedPKM'
1627+
$ref: '#/components/schemas/polyproto.core.Models.EncryptedPKM'
16281628
'204':
16291629
description: 'There is no content to send for this request, but the headers may be useful. '
16301630
headers:
@@ -1704,7 +1704,7 @@ components:
17041704
type: string
17051705
enum:
17061706
- v1.0-beta.1
1707-
polyproto.core.models.CacheableIDCert:
1707+
polyproto.core.Models.CacheableIDCert:
17081708
type: object
17091709
required:
17101710
- idCertPem
@@ -1743,7 +1743,7 @@ components:
17431743
examples:
17441744
- 7ab2bbde7fe43c7481a3a61031546bab16bc1a8735b2f0cdd519958c7f2f99f8
17451745
description: A cacheable response to an ID-Cert request.
1746-
polyproto.core.models.EncryptedPKM:
1746+
polyproto.core.Models.EncryptedPKM:
17471747
type: object
17481748
required:
17491749
- key_data
@@ -1772,7 +1772,7 @@ components:
17721772
Information about the algorithms used to encrypt the data held by the `key_data` field.
17731773
Order-sensitive; The encryption used for the first encryption operation must be the last
17741774
item of this array and vice versa. Represents a list of OIDs.
1775-
polyproto.core.models.KeyTrial:
1775+
polyproto.core.Models.KeyTrial:
17761776
type: object
17771777
required:
17781778
- trial
@@ -1792,7 +1792,7 @@ components:
17921792
17931793
Used to verify an actor's private identity key possession,
17941794
without revealing the private key itself
1795-
polyproto.core.models.KeyTrialCompleted:
1795+
polyproto.core.Models.KeyTrialCompleted:
17961796
type: object
17971797
required:
17981798
- signature
@@ -1806,7 +1806,7 @@ components:
18061806
format: uint64
18071807
description: The serial number of the ID-Cert corresponding to the private identity key used to sign the key trial string.
18081808
description: A completed key trial, as an actor would send to the server.
1809-
polyproto.core.models.MessageBatchExample:
1809+
polyproto.core.Models.MessageBatchExample:
18101810
type: object
18111811
allOf:
18121812
- type: object
@@ -1837,7 +1837,7 @@ components:
18371837
This type is generic over `T`, where `T` represents the content of the actual message. This
18381838
means, that the specific message content depends on the concrete implementation or extension
18391839
of the polyproto protocol.
1840-
polyproto.core.models.P2Export:
1840+
polyproto.core.Models.P2Export:
18411841
type: object
18421842
description: |-
18431843
The data is a gzipped tarball (.tar.gz) named `[email protected]`, where
@@ -1886,7 +1886,7 @@ components:
18861886
The file `crypt_certs.p2epk` contains all [encrypted private key material](https://docs.polyphony.chat/Protocol%20Specifications/core/#63-private-key-loss-prevention-and-private-key-recovery)
18871887
that the actor has uploaded to the server. Just like `messages.p2mb`, `crypt_certs.p2epk` is a standard
18881888
JSON file.
1889-
polyproto.core.models.ResourceAccessProperties:
1889+
polyproto.core.Models.ResourceAccessProperties:
18901890
type: object
18911891
required:
18921892
- private
@@ -1919,7 +1919,7 @@ components:
19191919
description: |-
19201920
`ResourceAccessProperties` define which actors may access an uploaded resource. Actors and
19211921
entire instances can have access granted or revoked.
1922-
polyproto.core.models.ResourceListSorting:
1922+
polyproto.core.Models.ResourceListSorting:
19231923
type: string
19241924
enum:
19251925
- SizeAsc
@@ -1929,7 +1929,7 @@ components:
19291929
description: |-
19301930
When querying the server for a list of resources uploaded by you, you can optionally request
19311931
the resulting list to be sorted in a specific way. These are the four options you have.
1932-
polyproto.core.models.Service:
1932+
polyproto.core.Models.Service:
19331933
type: object
19341934
required:
19351935
- service

0 commit comments

Comments
 (0)