summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-14 20:56:39 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-14 20:56:39 -0800
commitadc9ad735cbce6a1fe5918eee1be988d733309cc (patch)
tree28bb25799bc0d375607ae1cd11e9407c1302b80b /fatcat-openapi2.yml
parent7119e7525516ebba8edd3110d2a08d29eb317484 (diff)
downloadfatcat-adc9ad735cbce6a1fe5918eee1be988d733309cc.tar.gz
fatcat-adc9ad735cbce6a1fe5918eee1be988d733309cc.zip
more IDENT types in API schema
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml24
1 files changed, 8 insertions, 16 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 70a27b76..140fbde3 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -581,8 +581,7 @@ definitions:
type: integer
format: int64
creator_id:
- type: string
- #format: ident
+ <<: *FATCATIDENT
creator:
$ref: "#/definitions/creator_entity"
description: "Optional; GET-only"
@@ -839,8 +838,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/container/lookup:
get:
@@ -1120,8 +1118,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/creator/lookup:
get:
@@ -1378,8 +1375,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/file/lookup:
get:
@@ -1641,8 +1637,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/fileset/edit/{edit_id}:
get:
@@ -1870,8 +1865,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/webcapture/edit/{edit_id}:
get:
@@ -2168,8 +2162,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/release/lookup:
get:
@@ -2443,8 +2436,7 @@ paths:
schema:
type: array
items:
- type: string
- #format: ident
+ <<: *FATCATIDENT
<<: *ENTITYRESPONSES
/work/{ident}/releases:
parameters: