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

Commit a0bff56

Browse files
[bot]update openapi3 schema
1 parent b78e065 commit a0bff56

File tree

1 file changed

+73
-5
lines changed

1 file changed

+73
-5
lines changed

api/build/core-openapi3.yaml

Lines changed: 73 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,9 @@ paths:
892892
- NOT_FOUND
893893
tags:
894894
- Resource addressing with relative roots - Registration not required
895+
security:
896+
- BearerAuth: []
897+
- {}
895898
post:
896899
operationId: Registered_postResource
897900
summary: Upload RawR resource
@@ -1087,8 +1090,12 @@ paths:
10871090
- BearerAuth: []
10881091
/.p2/core/v1/resource/{rid}/info/:
10891092
get:
1090-
operationId: Registered_getResourceInfos
1091-
summary: Retrieve information about one of your RawR resources
1093+
operationId: Unregistered_getResourceInfos
1094+
summary: Retrieve information about a RawR resource
1095+
description: |-
1096+
Query the server for information about a RawR resource.
1097+
This route accepts a Bearer token, but public resources may also be queried without
1098+
specifying a token.
10921099
parameters:
10931100
- name: rid
10941101
in: path
@@ -1098,7 +1105,12 @@ paths:
10981105
type: string
10991106
responses:
11001107
'200':
1101-
description: The request has succeeded.
1108+
description: |-
1109+
- `200`: Found, contains resource information
1110+
- `308`: URI root has changed.
1111+
- `401`: Server or resource requires authentication to access this endpoint.
1112+
- `403`: Server or resource not accessible for the actor making this request.
1113+
- `404`: Resource not found.
11021114
content:
11031115
application/json:
11041116
schema:
@@ -1117,18 +1129,69 @@ paths:
11171129
- resourceId
11181130
- size
11191131
- access
1132+
'308':
1133+
description: |-
1134+
- `200`: Found, contains resource information
1135+
- `308`: URI root has changed.
1136+
- `401`: Server or resource requires authentication to access this endpoint.
1137+
- `403`: Server or resource not accessible for the actor making this request.
1138+
- `404`: Resource not found.
1139+
headers:
1140+
Location:
1141+
required: true
1142+
schema:
1143+
type: string
1144+
format: uri
1145+
content:
1146+
application/json:
1147+
schema:
1148+
type: string
1149+
enum:
1150+
- ROOT_CHANGED
1151+
'401':
1152+
description: |-
1153+
- `200`: Found, contains resource information
1154+
- `308`: URI root has changed.
1155+
- `401`: Server or resource requires authentication to access this endpoint.
1156+
- `403`: Server or resource not accessible for the actor making this request.
1157+
- `404`: Resource not found.
1158+
content:
1159+
application/json:
1160+
schema:
1161+
type: string
1162+
enum:
1163+
- NEEDS_AUTHENTICATION
1164+
'403':
1165+
description: |-
1166+
- `200`: Found, contains resource information
1167+
- `308`: URI root has changed.
1168+
- `401`: Server or resource requires authentication to access this endpoint.
1169+
- `403`: Server or resource not accessible for the actor making this request.
1170+
- `404`: Resource not found.
1171+
content:
1172+
application/json:
1173+
schema:
1174+
type: string
1175+
enum:
1176+
- ACCESS_FORBIDDEN
11201177
'404':
1121-
description: The server cannot find the requested resource.
1178+
description: |-
1179+
- `200`: Found, contains resource information
1180+
- `308`: URI root has changed.
1181+
- `401`: Server or resource requires authentication to access this endpoint.
1182+
- `403`: Server or resource not accessible for the actor making this request.
1183+
- `404`: Resource not found.
11221184
content:
11231185
application/json:
11241186
schema:
11251187
type: string
11261188
enum:
11271189
- NOT_FOUND
11281190
tags:
1129-
- Resource addressing with relative roots - Registration required
1191+
- Resource addressing with relative roots - Registration not required
11301192
security:
11311193
- BearerAuth: []
1194+
- {}
11321195
/.p2/core/v1/services:
11331196
post:
11341197
operationId: Registered_registerService
@@ -1809,11 +1872,16 @@ components:
18091872
type: object
18101873
required:
18111874
- private
1875+
- public
18121876
properties:
18131877
private:
18141878
type: boolean
18151879
description: Whether the resource should be private by default. Private resources can only be accessed by the uploader and by instances and actors declared in the `allowlist`.
18161880
default: false
1881+
public:
1882+
type: boolean
1883+
description: Whether the resource should be publicly retrievable, i.e. without requiring authentication. If this is `true`, the allow- and denylists are ignored.
1884+
default: false
18171885
allowlist:
18181886
type: array
18191887
items:

0 commit comments

Comments
 (0)