From f4ded2f6249364c60f6e96324cd92ad9ab29f340 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 Aug 2018 02:15:40 -0700 Subject: autoaccept flag for batch inserts --- fatcat-openapi2.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) 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 -- cgit v1.2.3