aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'rust/fatcat-api-spec/api.yaml')
-rw-r--r--rust/fatcat-api-spec/api.yaml24
1 files changed, 8 insertions, 16 deletions
diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml
index 14b70c39..e359de36 100644
--- a/rust/fatcat-api-spec/api.yaml
+++ b/rust/fatcat-api-spec/api.yaml
@@ -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: