aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-24 13:18:36 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-24 13:18:36 -0800
commite2b4675c34a6de76196255dc21389e225e54f22b (patch)
tree9a0579e7e964b9caf897dc124964b36fc86a338e
parentf4c5bf54eef06b45907c12c40dd0ac46a0467a5b (diff)
parentadc9ad735cbce6a1fe5918eee1be988d733309cc (diff)
downloadfatcat-e2b4675c34a6de76196255dc21389e225e54f22b.tar.gz
fatcat-e2b4675c34a6de76196255dc21389e225e54f22b.zip
Merge branch 'schema-tweaks'
-rw-r--r--fatcat-openapi2.yml24
1 files changed, 8 insertions, 16 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 14b70c39..e359de36 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -597,8 +597,7 @@ definitions:
type: integer
format: int64
creator_id:
- type: string
- #format: ident
+ <<: *FATCATIDENT
creator:
$ref: "#/definitions/creator_entity"
description: "Optional; GET-only"
@@ -866,8 +865,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/container/lookup:
get:
@@ -1155,8 +1153,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/creator/lookup:
get:
@@ -1421,8 +1418,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/file/lookup:
get:
@@ -1692,8 +1688,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/fileset/edit/{edit_id}:
get:
@@ -1929,8 +1924,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/webcapture/edit/{edit_id}:
get:
@@ -2235,8 +2229,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/release/lookup:
get:
@@ -2526,8 +2519,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/work/{ident}/releases:
parameters: