summaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api/swagger.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-24 22:34:51 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 22:34:51 -0700
commitd91c04608480f819263dedc8eaa4ecf707e5914e (patch)
tree01a9e1922430575f39cde6bdf54bc6a061fc6159 /rust/fatcat-api/api/swagger.yaml
parent580b579a3854ab070ac48680464a4413f552749c (diff)
downloadfatcat-d91c04608480f819263dedc8eaa4ecf707e5914e.tar.gz
fatcat-d91c04608480f819263dedc8eaa4ecf707e5914e.zip
extra_json in API schema (manually)
Diffstat (limited to 'rust/fatcat-api/api/swagger.yaml')
-rw-r--r--rust/fatcat-api/api/swagger.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/rust/fatcat-api/api/swagger.yaml b/rust/fatcat-api/api/swagger.yaml
index 487c0a4f..993df05c 100644
--- a/rust/fatcat-api/api/swagger.yaml
+++ b/rust/fatcat-api/api/swagger.yaml
@@ -1031,6 +1031,8 @@ definitions:
name:
type: "string"
example: "Grace Hopper"
+ extra:
+ type: "object"
editgroup_id:
type: "integer"
format: "int64"
@@ -1055,6 +1057,7 @@ definitions:
example:
redirect: "f1f046a3-45c9-4b99-adce-000000000002"
ident: "f1f046a3-45c9-4b99-adce-000000000001"
+ extra: "{}"
name: "Grace Hopper"
editgroup_id: 16
orcid: "0000-0002-1825-0097"
@@ -1096,10 +1099,13 @@ definitions:
type: "integer"
format: "int64"
example: 16
+ extra:
+ type: "object"
example:
redirect: "f1f046a3-45c9-4b99-adce-000000000002"
issn: "1234-5678"
ident: "f1f046a3-45c9-4b99-adce-000000000001"
+ extra: "{}"
name: "Journal of Important Results"
publisher: "Society of Curious Students"
editgroup_id: 16
@@ -1120,6 +1126,8 @@ definitions:
type: "integer"
format: "int64"
example: 1048576
+ extra:
+ type: "object"
editgroup_id:
type: "integer"
format: "int64"
@@ -1146,6 +1154,7 @@ definitions:
redirect: "f1f046a3-45c9-4b99-adce-000000000002"
size: 1048576
ident: "f1f046a3-45c9-4b99-adce-000000000001"
+ extra: "{}"
editgroup_id: 16
state: "wip"
url: "https://example.edu/~frau/prcding.pdf"
@@ -1199,6 +1208,8 @@ definitions:
type: "integer"
format: "int64"
example: 16
+ extra:
+ type: "object"
example:
redirect: "f1f046a3-45c9-4b99-adce-000000000002"
work_id: "f1f046a3-45c9-4b99-adce-000000000001"
@@ -1209,6 +1220,7 @@ definitions:
revision: 42
volume: "volume"
pages: "pages"
+ extra: "{}"
editgroup_id: 16
state: "wip"
container_id: "f1f046a3-45c9-4b99-adce-000000000001"
@@ -1219,6 +1231,8 @@ definitions:
properties:
work_type:
type: "string"
+ extra:
+ type: "object"
editgroup_id:
type: "integer"
format: "int64"
@@ -1243,6 +1257,7 @@ definitions:
example:
redirect: "f1f046a3-45c9-4b99-adce-000000000002"
ident: "f1f046a3-45c9-4b99-adce-000000000001"
+ extra: "{}"
work_type: "work_type"
editgroup_id: 16
state: "wip"
@@ -1251,6 +1266,8 @@ definitions:
entity_edit:
type: "object"
properties:
+ extra:
+ type: "object"
editgroup_id:
type: "integer"
format: "int64"
@@ -1268,6 +1285,7 @@ definitions:
example: 847
example:
ident: "f1f046a3-45c9-4b99-adce-000000000001"
+ extra: "{}"
edit_id: 847
editgroup_id: 16
revision: 42
@@ -1347,6 +1365,9 @@ x-entity-props:
type: "integer"
example: 16
format: "int64"
+ extra:
+ type: "object"
+ additionalProperties: {}
x-entity-edit-props:
edit_id:
type: "integer"
@@ -1363,6 +1384,9 @@ x-entity-edit-props:
type: "integer"
example: 16
format: "int64"
+ extra:
+ type: "object"
+ additionalProperties: {}
x-entity-responses:
400:
description: "Bad Request"