aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-17 17:01:23 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-17 17:01:23 -0700
commitc1613504dbe96951ae59889fc11b0564cfbbcd83 (patch)
tree9c4aedd480e463a40691ac3cdd50d43fbe15fffe /rust/fatcat-api/api.yaml
parentf3241d35dbb445b7e3c15f1759431580d830bffe (diff)
downloadfatcat-c1613504dbe96951ae59889fc11b0564cfbbcd83.tar.gz
fatcat-c1613504dbe96951ae59889fc11b0564cfbbcd83.zip
update fatcat-api with openapi change
Diffstat (limited to 'rust/fatcat-api/api.yaml')
-rw-r--r--rust/fatcat-api/api.yaml48
1 files changed, 48 insertions, 0 deletions
diff --git a/rust/fatcat-api/api.yaml b/rust/fatcat-api/api.yaml
index c53ff4a7..44fde1f6 100644
--- a/rust/fatcat-api/api.yaml
+++ b/rust/fatcat-api/api.yaml
@@ -438,6 +438,22 @@ paths:
schema:
$ref: "#/definitions/creator_entity"
<<: *ENTITYRESPONSES
+ /creator/{id}/releases:
+ parameters:
+ - name: id
+ in: path
+ type: string
+ required: true
+ get:
+ operationId: "get_creator_releases"
+ responses:
+ 200:
+ description: Found Entity
+ schema:
+ type: array
+ items:
+ $ref: "#/definitions/release_entity"
+ <<: *ENTITYRESPONSES
/creator/lookup:
get:
operationId: "lookup_creator"
@@ -562,6 +578,22 @@ paths:
schema:
$ref: "#/definitions/release_entity"
<<: *ENTITYRESPONSES
+ /release/{id}/files:
+ parameters:
+ - name: id
+ in: path
+ type: string
+ required: true
+ get:
+ operationId: "get_release_files"
+ responses:
+ 200:
+ description: Found Entity
+ schema:
+ type: array
+ items:
+ $ref: "#/definitions/file_entity"
+ <<: *ENTITYRESPONSES
/release/lookup:
get:
operationId: "lookup_release"
@@ -624,6 +656,22 @@ paths:
schema:
$ref: "#/definitions/work_entity"
<<: *ENTITYRESPONSES
+ /work/{id}/releases:
+ parameters:
+ - name: id
+ in: path
+ type: string
+ required: true
+ get:
+ operationId: "get_work_releases"
+ responses:
+ 200:
+ description: Found Entity
+ schema:
+ type: array
+ items:
+ $ref: "#/definitions/release_entity"
+ <<: *ENTITYRESPONSES
/editor/{username}:
parameters:
- name: username