aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-17 14:19:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-17 16:16:25 -0800
commit5ccff36598b67389d1e1e0275b056e618ab28ae1 (patch)
treec8a45f06d57db33735fe16658919ed46fed4a270
parent2c8a266ec7155e159c8e64979bfe572a9bd84c01 (diff)
downloadfatcat-5ccff36598b67389d1e1e0275b056e618ab28ae1.tar.gz
fatcat-5ccff36598b67389d1e1e0275b056e618ab28ae1.zip
schema: add content_scope fields, and bump to 0.4.1
-rw-r--r--fatcat-openapi2.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 67915dda..e465ea66 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -2,7 +2,7 @@
swagger: "2.0"
info:
title: fatcat
- version: 0.4.0
+ version: 0.4.1
description: |
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic
entities and file metadata.
@@ -460,6 +460,9 @@ definitions:
mimetype:
type: string
example: "application/pdf"
+ content_scope:
+ type: string
+ example: "issue"
release_ids:
type: array
items:
@@ -500,6 +503,9 @@ definitions:
type: object
properties:
<<: *ENTITYPROPS
+ content_scope:
+ type: string
+ example: "issue"
manifest:
# limit of 200 files, at least to start
type: array
@@ -601,6 +607,9 @@ definitions:
Same format as CDX line timestamp (UTC, etc). Corresponds to the
overall capture timestamp. Should generally be the timestamp of
capture of the primary resource URL.
+ content_scope:
+ type: string
+ example: "landing-page"
release_ids:
type: array
items: