summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-16 20:55:01 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-16 20:55:01 -0700
commit39456677cdc9768ad0dea76be4fd36735eec3ed2 (patch)
tree378dbea08ba05030a6ede6ca17233bc18fc6c756 /rust/fatcat-openapi2.yml
parent7476d63f0b9adec8087919a776b1bc4bf14b157d (diff)
downloadfatcat-39456677cdc9768ad0dea76be4fd36735eec3ed2.tar.gz
fatcat-39456677cdc9768ad0dea76be4fd36735eec3ed2.zip
simplify API a bit
Diffstat (limited to 'rust/fatcat-openapi2.yml')
-rw-r--r--rust/fatcat-openapi2.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/rust/fatcat-openapi2.yml b/rust/fatcat-openapi2.yml
index 01e0b60c..b5993244 100644
--- a/rust/fatcat-openapi2.yml
+++ b/rust/fatcat-openapi2.yml
@@ -74,8 +74,6 @@ definitions:
<<: *ENTITYPROPS
name:
type: string
- parent:
- type: string
publisher:
type: string
issn:
@@ -97,13 +95,14 @@ definitions:
type: object
required:
- title
+ - work
properties:
<<: *ENTITYPROPS
- work:
+ title:
type: string
- container:
+ work_id:
type: string
- license:
+ container_id:
type: string
release_type:
type: string