aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-07-20 19:59:56 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-07-20 19:59:56 -0700
commit1cd3969ce81470a24f5443e3ea1ad4ce73482288 (patch)
treee506c23f93faf9bffb574a614c9f8e1c50c83d8b /fatcat-openapi2.yml
parentd6a8ffbfa7cef75beb84655386dfe31188bca901 (diff)
downloadfatcat-1cd3969ce81470a24f5443e3ea1ad4ce73482288.tar.gz
fatcat-1cd3969ce81470a24f5443e3ea1ad4ce73482288.zip
API schema changes for ident changes
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml24
1 files changed, 14 insertions, 10 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 61e61265..dde02734 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -227,6 +227,9 @@ definitions:
required:
- username
properties:
+ id:
+ type: string
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
username:
type: string
example: "zerocool93"
@@ -236,8 +239,9 @@ definitions:
- editor_id
properties:
id:
- type: integer
- format: int64
+ type: string
+ #format: custom
+ example: "q3nouwy3nnbsvo3h5klxsx4a7y"
editor_id:
type: string
#format: custon
@@ -795,9 +799,9 @@ paths:
items:
$ref: "#/definitions/release_entity"
<<: *ENTITYRESPONSES
- /editor/{username}:
+ /editor/{id}:
parameters:
- - name: username
+ - name: id
in: path
type: string
required: true
@@ -816,9 +820,9 @@ paths:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
- /editor/{username}/changelog:
+ /editor/{id}/changelog:
parameters:
- - name: username
+ - name: id
in: path
type: string
required: true
@@ -865,8 +869,8 @@ paths:
parameters:
- name: id
in: path
- type: integer
- format: int64
+ type: string
+ #format: custom
required: true
get:
operationId: "get_editgroup"
@@ -891,8 +895,8 @@ paths:
parameters:
- name: id
in: path
- type: integer
- format: int64
+ type: string
+ #format: custom
required: true
post:
operationId: "accept_editgroup"