From 6f6d081e8552bf178a5f6e3e80aaab7b05a2dc10 Mon Sep 17 00:00:00 2001
From: Erwan Rouchet <rouchet@teklia.com>
Date: Tue, 24 Sep 2019 20:23:30 +0000
Subject: [PATCH] Destroy CorpusPages

---
 arkindex/schema.yml | 108 --------------------------------------------
 1 file changed, 108 deletions(-)

diff --git a/arkindex/schema.yml b/arkindex/schema.yml
index acdcdf0..8fe92aa 100644
--- a/arkindex/schema.yml
+++ b/arkindex/schema.yml
@@ -858,114 +858,6 @@ paths:
           description: ''
       tags:
       - ml
-  /api/v1/corpus/{id}/pages/:
-    get:
-      description: List all pages in all volumes of a corpus
-      operationId: ListCorpusPages
-      parameters:
-      - description: ''
-        in: path
-        name: id
-        required: true
-        schema:
-          type: string
-      - description: A page number within the paginated result set.
-        in: query
-        name: page
-        required: false
-        schema:
-          type: integer
-      - description: Number of results to return per page.
-        in: query
-        name: page_size
-        required: false
-        schema:
-          type: integer
-      - description: Class
-        in: query
-        name: ml_class
-        required: false
-        schema:
-          type: string
-      - description: ml_class_unvalidated
-        in: query
-        name: ml_class_unvalidated
-        required: false
-        schema:
-          type: string
-      responses:
-        '200':
-          content:
-            application/json:
-              schema:
-                properties:
-                  count:
-                    example: 123
-                    type: integer
-                  next:
-                    nullable: true
-                    type: string
-                  number:
-                    example: 123
-                    type: integer
-                  previous:
-                    nullable: true
-                    type: string
-                  results:
-                    items:
-                      properties:
-                        id:
-                          format: uuid
-                          type: string
-                        image:
-                          properties:
-                            height:
-                              readOnly: true
-                              type: integer
-                            id:
-                              format: uuid
-                              readOnly: true
-                              type: string
-                            path:
-                              readOnly: true
-                              type: string
-                            s3_url:
-                              readOnly: true
-                              type: string
-                            status:
-                              enum:
-                              - checked
-                              - unchecked
-                              - error
-                            url:
-                              readOnly: true
-                              type: string
-                            width:
-                              readOnly: true
-                              type: integer
-                          required:
-                          - status
-                          type: object
-                        name:
-                          maxLength: 250
-                          type: string
-                        type:
-                          enum:
-                          - volume
-                          - register
-                          - act
-                          - page
-                          - surface
-                      required:
-                      - type
-                      - name
-                      - image
-                    type: array
-                type: object
-          description: ''
-      security: []
-      tags:
-      - elements
   /api/v1/corpus/{id}/roles/:
     get:
       description: List all roles of a corpus
-- 
GitLab