summaryrefslogtreecommitdiffstats
path: root/fatcat-openapi2.yml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-20 02:15:40 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-20 02:15:40 -0700
commitf4ded2f6249364c60f6e96324cd92ad9ab29f340 (patch)
treead8094aafbddf5b50169124ed004d83cdf5983bf /fatcat-openapi2.yml
parentb8ca8ebdae304dcc2a694e5dfbc9070003f0df8a (diff)
downloadfatcat-f4ded2f6249364c60f6e96324cd92ad9ab29f340.tar.gz
fatcat-f4ded2f6249364c60f6e96324cd92ad9ab29f340.zip
autoaccept flag for batch inserts
Diffstat (limited to 'fatcat-openapi2.yml')
-rw-r--r--fatcat-openapi2.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/fatcat-openapi2.yml b/fatcat-openapi2.yml
index 524333ce..fda630dd 100644
--- a/fatcat-openapi2.yml
+++ b/fatcat-openapi2.yml
@@ -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