aboutsummaryrefslogtreecommitdiffstats
path: root/rust/fatcat-api/api.yaml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-20 02:15:50 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-20 02:15:50 -0700
commitbf4a949f83b30a8e9bb501871bc62224472c59aa (patch)
treecee444b096530cd8e3c1183fe9ad02516792f0b8 /rust/fatcat-api/api.yaml
parentf4ded2f6249364c60f6e96324cd92ad9ab29f340 (diff)
downloadfatcat-bf4a949f83b30a8e9bb501871bc62224472c59aa.tar.gz
fatcat-bf4a949f83b30a8e9bb501871bc62224472c59aa.zip
codegen
Diffstat (limited to 'rust/fatcat-api/api.yaml')
-rw-r--r--rust/fatcat-api/api.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/rust/fatcat-api/api.yaml b/rust/fatcat-api/api.yaml
index 524333ce..fda630dd 100644
--- a/rust/fatcat-api/api.yaml
+++ b/rust/fatcat-api/api.yaml
@@ -57,6 +57,10 @@ x-entity-props: &ENTITYPROPS
extra:
type: object
additionalProperties: {}
+# TODO:
+# edit_extra:
+# type: object
+# additionalProperties: {}
definitions:
error_response:
@@ -438,6 +442,11 @@ paths:
post:
operationId: "create_container_batch"
parameters:
+ - name: autoaccept
+ in: query
+ type: boolean
+ required: false
+ description: "If true, and editor is authorized, batch is accepted all at once"
- name: entity_list
in: body
required: true
@@ -526,6 +535,11 @@ paths:
post:
operationId: "create_creator_batch"
parameters:
+ - name: autoaccept
+ in: query
+ type: boolean
+ required: false
+ description: "If true, and editor is authorized, batch is accepted all at once"
- name: entity_list
in: body
required: true
@@ -630,6 +644,11 @@ paths:
post:
operationId: "create_file_batch"
parameters:
+ - name: autoaccept
+ in: query
+ type: boolean
+ required: false
+ description: "If true, and editor is authorized, batch is accepted all at once"
- name: entity_list
in: body
required: true
@@ -718,6 +737,11 @@ paths:
post:
operationId: "create_release_batch"
parameters:
+ - name: autoaccept
+ in: query
+ type: boolean
+ required: false
+ description: "If true, and editor is authorized, batch is accepted all at once"
- name: entity_list
in: body
required: true
@@ -822,6 +846,11 @@ paths:
post:
operationId: "create_work_batch"
parameters:
+ - name: autoaccept
+ in: query
+ type: boolean
+ required: false
+ description: "If true, and editor is authorized, batch is accepted all at once"
- name: entity_list
in: body
required: true