aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api-spec/api
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 14:12:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 14:12:31 -0800
commite39d736a1c735c2c5156acf1183f4d81dc2af4d3 (patch)
tree04085339896e4903b41f0a60ac5014d2905a8c43 /rust/fatcat-api-spec/api
parent5b6a9ee3fa9b781c67074b9815cdaef84548692d (diff)
downloadfatcat-e39d736a1c735c2c5156acf1183f4d81dc2af4d3.tar.gz
fatcat-e39d736a1c735c2c5156acf1183f4d81dc2af4d3.zip
allow returning expanded editors in editgroups and annotations
Diffstat (limited to 'rust/fatcat-api-spec/api')
-rw-r--r--rust/fatcat-api-spec/api/swagger.yaml82
1 files changed, 82 insertions, 0 deletions
diff --git a/rust/fatcat-api-spec/api/swagger.yaml b/rust/fatcat-api-spec/api/swagger.yaml
index bf6d32dc..1f9e21d6 100644
--- a/rust/fatcat-api-spec/api/swagger.yaml
+++ b/rust/fatcat-api-spec/api/swagger.yaml
@@ -8096,6 +8096,12 @@ definitions:
$ref: "#/definitions/changelog_entry"
example:
editgroup:
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
submitted: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
edits:
@@ -8208,12 +8214,24 @@ definitions:
description: "description"
annotations:
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
comment_markdown: "comment_markdown"
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
@@ -8230,6 +8248,12 @@ definitions:
revision: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
changelog_entry:
editgroup:
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
submitted: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
edits:
@@ -8342,12 +8366,24 @@ definitions:
description: "description"
annotations:
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
comment_markdown: "comment_markdown"
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
@@ -8463,6 +8499,8 @@ definitions:
minLength: 26
maxLength: 26
pattern: "[a-zA-Z2-7]{26}"
+ editor:
+ $ref: "#/definitions/editor"
submitted:
type: "string"
format: "date-time"
@@ -8477,6 +8515,12 @@ definitions:
edits:
$ref: "#/definitions/editgroup_edits"
example:
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
submitted: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
edits:
@@ -8589,12 +8633,24 @@ definitions:
description: "description"
annotations:
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
comment_markdown: "comment_markdown"
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
@@ -8626,6 +8682,8 @@ definitions:
minLength: 26
maxLength: 26
pattern: "[a-zA-Z2-7]{26}"
+ editor:
+ $ref: "#/definitions/editor"
created:
type: "string"
format: "date-time"
@@ -8635,6 +8693,12 @@ definitions:
type: "object"
example:
annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
@@ -8661,6 +8725,12 @@ definitions:
$ref: "#/definitions/editgroup"
example:
editgroup:
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
submitted: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
edits:
@@ -8773,12 +8843,24 @@ definitions:
description: "description"
annotations:
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
comment_markdown: "comment_markdown"
- annotation_id: "86daea5b-1b6b-432a-bb67-ea97795f80fe"
+ editor:
+ is_admin: true
+ is_active: true
+ editor_id: "q3nouwy3nnbsvo3h5klxsx4a7y"
+ is_bot: true
+ username: "zerocool93"
created: "2000-01-23T04:56:07.000+00:00"
extra: "{}"
editgroup_id: "q3nouwy3nnbsvo3h5klxsx4a7y"