aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-20 19:06:00 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-20 19:58:49 -0700
commitd6a8ffbfa7cef75beb84655386dfe31188bca901 (patch)
tree5f52e15672da8ccaa195e9234095defe1089e859 /fatcat-openapi2.yml
parentf597cb6c6db592fc338d6d41446748f201966f2e (diff)
downloadfatcat-d6a8ffbfa7cef75beb84655386dfe31188bca901.tar.gz
fatcat-d6a8ffbfa7cef75beb84655386dfe31188bca901.zip
update schema (sql and api) for rev ids, editor_id, editgroup_id
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