aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-03 17:42:47 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-03 17:42:47 -0800
commit9de1a1e01c20fc7df06fa09277d6a4f928b81a67 (patch)
tree6edc11ef0b704fbf612c14b1b356de3a8d1ec11f /fatcat-openapi2.yml
parentb66dd55b128758cc929a1633ab6e15f8385873a1 (diff)
downloadfatcat-9de1a1e01c20fc7df06fa09277d6a4f928b81a67.tar.gz
fatcat-9de1a1e01c20fc7df06fa09277d6a4f928b81a67.zip
schema for username updates
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index fcef1c46..b9a61fe4 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -2484,6 +2484,34 @@ paths:
description: Generic Error
schema:
$ref: "#/definitions/error_response"
+ put:
+ operationId: "update_editor"
+ parameters:
+ - name: editor
+ in: body
+ required: true
+ schema:
+ $ref: "#/definitions/editor"
+ security:
+ - Bearer: []
+ responses:
+ 200:
+ description: Updated Editor
+ schema:
+ $ref: "#/definitions/editor"
+ 400:
+ description: Bad Request
+ schema:
+ $ref: "#/definitions/error_response"
+ 404:
+ description: Not Found
+ schema:
+ $ref: "#/definitions/error_response"
+ 500:
+ description: Generic Error
+ schema:
+ $ref: "#/definitions/error_response"
+ <<: *AUTHRESPONSES
/editor/{editor_id}/changelog:
parameters:
- name: editor_id