diff --git a/arkindex/schema.yml b/arkindex/schema.yml index 119a1c2316154d56cfd48d7e6c6a76cc42b172f8..91320eff82e23581b0a903f6bcbfb1da9bd0b33d 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -123,8 +123,8 @@ paths: - ml /api/v1/classifications/selection/: post: - description: Create multiple classifications at once for a list of selected - elements for a specific corpus. + description: Manage classifications for a list of selected elements for a specific + corpus. operationId: CreateClassificationsSelection parameters: [] requestBody: @@ -136,10 +136,15 @@ paths: format: uuid type: string ml_class: + format: uuid type: string + mode: + enum: + - validate + - create required: - - ml_class - corpus_id + - mode x-name: body responses: '200': @@ -151,10 +156,15 @@ paths: format: uuid type: string ml_class: + format: uuid type: string + mode: + enum: + - validate + - create required: - - ml_class - corpus_id + - mode description: '' tags: - ml