summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
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"