aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
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 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: