summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-03 17:53:04 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-03 17:53:04 -0800
commit65fa084379a159db81fc5424deda18013f01194b (patch)
tree6a8563e716c646a75326eda324ce28aaf0ad018d /rust/fatcat-api-spec/api.yaml
parentb10ee85c04816f16738ff30b84262a6ab8440307 (diff)
downloadfatcat-65fa084379a159db81fc5424deda18013f01194b.tar.gz
fatcat-65fa084379a159db81fc5424deda18013f01194b.zip
rust codegen
Diffstat (limited to 'rust/fatcat-api-spec/api.yaml')
-rw-r--r--rust/fatcat-api-spec/api.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/api.yaml b/rust/fatcat-api-spec/api.yaml
index fcef1c46..b9a61fe4 100644
--- a/rust/fatcat-api-spec/api.yaml
+++ b/rust/fatcat-api-spec/api.yaml
@@ -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