summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-20 14:32:54 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-20 14:32:54 -0700
commite4c1514294443b9e6f6ed716dcad5ebec64c3af8 (patch)
tree4b2822526b63058a433483ed4b1cd73020be79aa /fatcat-openapi2.yml
parent4144debb6c0317efcde3c97fc6d8b369c6530b6d (diff)
downloadfatcat-e4c1514294443b9e6f6ed716dcad5ebec64c3af8.tar.gz
fatcat-e4c1514294443b9e6f6ed716dcad5ebec64c3af8.zip
prep for base32 encoded identifiers
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index e1c44063..c0f684ca 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -21,8 +21,8 @@ x-entity-props: &ENTITYPROPS
enum: ["wip", "active", "redirect", "deleted"]
ident:
type: string
- #format: uuid
- example: "00000000-0000-0000-adce-000000000001"
+ #format: ident
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
revision:
type: integer
example: 42
@@ -30,7 +30,7 @@ x-entity-props: &ENTITYPROPS
redirect:
type: string
#format: uuid
- example: "00000000-0000-0000-adce-000000000002"
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
editgroup_id:
type: integer
example: 16
@@ -135,10 +135,10 @@ definitions:
type: string
work_id:
type: string
- example: "00000000-0000-0000-adce-000000000001"
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
container_id:
type: string
- example: "00000000-0000-0000-adce-000000000001"
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
release_type:
type: string
example: "book"
@@ -207,15 +207,15 @@ definitions:
format: int64
ident:
type: string
- example: "00000000-0000-0000-adce-000000000001"
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
revision:
type: integer
example: 42
format: int64
redirect_ident:
type: string
- example: "00000000-0000-0000-adce-000000000002"
- #format: uuid
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ #format: ident
editgroup_id:
type: integer
example: 16
@@ -296,7 +296,7 @@ definitions:
format: int64
target_release_id:
type: string
- #format: uuid
+ #format: ident
raw:
type: string
key:
@@ -319,7 +319,7 @@ definitions:
format: int64
creator_id:
type: string
- #format: uuid
+ #format: ident
raw:
type: string
role: