New `/datastore/file/{file_id}` endpoint definition
This commit is contained in:
parent
ef7ee284b2
commit
e9fe555e05
21
crc/api.yml
21
crc/api.yml
|
@ -1372,6 +1372,27 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/DataStore"
|
$ref: "#/components/schemas/DataStore"
|
||||||
|
/datastore/file/{file_id}:
|
||||||
|
parameters:
|
||||||
|
- name: file_id
|
||||||
|
in: path
|
||||||
|
required: true
|
||||||
|
description: The file id we are concerned with
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
format: string
|
||||||
|
get:
|
||||||
|
operationId: crc.api.data_store.file_multi_get
|
||||||
|
summary: Gets all datastore items by file_id
|
||||||
|
tags:
|
||||||
|
- DataStore
|
||||||
|
responses:
|
||||||
|
'200':
|
||||||
|
description: Get all values from the data store for a file_id
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/DataStore"
|
||||||
components:
|
components:
|
||||||
securitySchemes:
|
securitySchemes:
|
||||||
jwt:
|
jwt:
|
||||||
|
|
Loading…
Reference in New Issue