aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fatcat-openapi2.yml34
1 files changed, 26 insertions, 8 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 4228daac..d272475b 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -220,7 +220,7 @@ definitions:
rel:
type: string
example: "webarchive"
- releases:
+ release_ids:
type: array
items:
type: string
@@ -251,13 +251,13 @@ definitions:
url:
type: string
example: "http://www.asheesh.org:80/APUS/ch1/node15.html"
+ mimetype:
+ type: string
+ example: "text/html"
status_code:
type: integer
example: 200
format: int64
- mimetype:
- type: string
- example: "text/html"
sha1:
type: string
#format: custom
@@ -284,11 +284,11 @@ definitions:
original_url:
type: string
#format: url
- example: "http://www.asheesh.org"
+ example: "http://asheesh.org"
timestamp:
type: string
format: date-time
- releases:
+ release_ids:
type: array
items:
type: string
@@ -312,6 +312,16 @@ definitions:
type: array
items:
$ref: "#/definitions/file_entity"
+ filesets:
+ description: "Optional; GET-only"
+ type: array
+ items:
+ $ref: "#/definitions/fileset_entity"
+ webcaptures:
+ description: "Optional; GET-only"
+ type: array
+ items:
+ $ref: "#/definitions/webcapture_entity"
container_id:
type: string
example: "q3nouwy3nnbsvo3h5klxsx4a7y"
@@ -470,6 +480,14 @@ definitions:
type: array
items:
$ref: "#/definitions/entity_edit"
+ filesets:
+ type: array
+ items:
+ $ref: "#/definitions/entity_edit"
+ webcaptures:
+ type: array
+ items:
+ $ref: "#/definitions/entity_edit"
releases:
type: array
items:
@@ -976,7 +994,7 @@ paths:
in: query
type: string
required: false
- description: "List of entity fields to elide in response. For releases, 'abstracts', 'refs', and 'contribs' are valid."
+ description: "List of entity fields to elide in response. For creators, none implemented yet."
get:
operationId: "get_creator_releases"
tags: # TAGLINE
@@ -1801,7 +1819,7 @@ paths:
in: query
type: string
required: false
- description: "List of entity fields to elide in response. For releases, 'abstracts', 'refs', and 'contribs' are valid."
+ description: "List of entity fields to elide in response. For works, none implemented yet."
get:
operationId: "get_work_releases"
tags: # TAGLINE