summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml21
1 files changed, 18 insertions, 3 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 92253e9d..bac0efaa 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -188,6 +188,11 @@ definitions:
type: array
items:
<<: *FATCATIDENT
+ releases:
+ description: "Optional; GET-only"
+ type: array
+ items:
+ $ref: "#/definitions/release_entity"
file_url:
type: object
required:
@@ -218,6 +223,11 @@ definitions:
type: array
items:
<<: *FATCATIDENT
+ releases:
+ description: "Optional; GET-only"
+ type: array
+ items:
+ $ref: "#/definitions/release_entity"
fileset_url:
type: object
required:
@@ -278,6 +288,11 @@ definitions:
type: array
items:
<<: *FATCATIDENT
+ releases:
+ description: "Optional; GET-only"
+ type: array
+ items:
+ $ref: "#/definitions/release_entity"
webcapture_cdx_line:
type: object
required:
@@ -1382,7 +1397,7 @@ paths:
in: query
type: string
required: false
- description: "List of sub-entities to expand in response. For files, none accepted (yet)."
+ description: "List of sub-entities to expand in response. For files, `releases` is accepted."
- name: hide
in: query
type: string
@@ -1637,7 +1652,7 @@ paths:
in: query
type: string
required: false
- description: "List of sub-entities to expand in response. For filesets, none accepted (yet)."
+ description: "List of sub-entities to expand in response. For filesets, `releases` is accepted."
- name: hide
in: query
type: string
@@ -1858,7 +1873,7 @@ paths:
in: query
type: string
required: false
- description: "List of sub-entities to expand in response. For webcaptures, none accepted (yet)."
+ description: "List of sub-entities to expand in response. For webcaptures, `releases` is accepted."
- name: hide
in: query
type: string