summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml36
1 files changed, 18 insertions, 18 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index c0f684ca..61e61265 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -21,20 +21,20 @@ x-entity-props: &ENTITYPROPS
enum: ["wip", "active", "redirect", "deleted"]
ident:
type: string
- #format: ident
+ #format: custom
example: "q3nouwy3nnbsvo3h5klxsx4a7y"
revision:
- type: integer
- example: 42
- format: int64
- redirect:
type: string
#format: uuid
+ example: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ redirect:
+ type: string
+ #format: custom
example: "q3nouwy3nnbsvo3h5klxsx4a7y"
editgroup_id:
- type: integer
- example: 16
- format: int64
+ type: string
+ #format: custom
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
extra:
type: object
additionalProperties: {}
@@ -209,17 +209,16 @@ definitions:
type: string
example: "q3nouwy3nnbsvo3h5klxsx4a7y"
revision:
- type: integer
- example: 42
- format: int64
+ type: string
+ #format: uuid
+ example: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
redirect_ident:
type: string
example: "q3nouwy3nnbsvo3h5klxsx4a7y"
#format: ident
editgroup_id:
- type: integer
- example: 16
- format: int64
+ type: string
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
extra:
type: object
additionalProperties: {}
@@ -240,8 +239,9 @@ definitions:
type: integer
format: int64
editor_id:
- type: integer
- format: int64
+ type: string
+ #format: custon
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
description:
type: string
extra:
@@ -281,8 +281,8 @@ definitions:
type: integer
format: int64
editgroup_id:
- type: integer
- format: int64
+ type: string
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
timestamp:
type: string
format: date-time