View | Details | Raw Unified | Return to bug 30708
Collapse All | Expand All

(-)a/api/v1/swagger/paths/preservation_trains.yaml (-7 / +6 lines)
Lines 326-337 Link Here
326
        name: body
326
        name: body
327
        required: true
327
        required: true
328
        schema:
328
        schema:
329
          type: object
329
          $ref: "../swagger.yaml#/definitions/preservation_train_item"
330
    responses:
330
    responses:
331
      201:
331
      201:
332
        description: A successfully added item
332
        description: A successfully added item
333
        schema:
333
        schema:
334
          type: object
334
          $ref: "../swagger.yaml#/definitions/preservation_train_item"
335
      400:
335
      400:
336
        description: Bad parameter
336
        description: Bad parameter
337
        schema:
337
        schema:
Lines 455-461 Link Here
455
        name: body
455
        name: body
456
        required: true
456
        required: true
457
        schema:
457
        schema:
458
          type: object
458
          $ref: "../swagger.yaml#/definitions/preservation_train_item"
459
      - name: x-koha-embed
459
      - name: x-koha-embed
460
        in: header
460
        in: header
461
        required: false
461
        required: false
Lines 470-476 Link Here
470
      200:
470
      200:
471
        description: A successfully updated item
471
        description: A successfully updated item
472
        schema:
472
        schema:
473
          type: object
473
          $ref: "../swagger.yaml#/definitions/preservation_train_item"
474
      400:
474
      400:
475
        description: Bad parameter
475
        description: Bad parameter
476
        schema:
476
        schema:
Lines 572-583 Link Here
572
            - catalogue_item
572
            - catalogue_item
573
            - catalogue_item.biblio
573
            - catalogue_item.biblio
574
        collectionFormat: csv
574
        collectionFormat: csv
575
        additionalProperties: false
576
    responses:
575
    responses:
577
      200:
576
      200:
578
        description: An item in train
577
        description: An item in train
579
        schema:
578
        schema:
580
          type: object
579
          $ref: "../swagger.yaml#/definitions/preservation_train_item"
581
      401:
580
      401:
582
        description: Authentication required
581
        description: Authentication required
583
        schema:
582
        schema:
Lines 629-634 Link Here
629
            train_id:
628
            train_id:
630
              description: Train id
629
              description: Train id
631
              type: integer
630
              type: integer
631
          additionalProperties: false
632
    responses:
632
    responses:
633
      201:
633
      201:
634
        description: A successfully copied item
634
        description: A successfully copied item
635
- 

Return to bug 30708