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

(-)a/api/v1/swagger/paths/biblios.yaml (-4 / +1 lines)
Lines 662-668 Link Here
662
    x-koha-authorization:
662
    x-koha-authorization:
663
      permissions:
663
      permissions:
664
        editcatalogue: edit_items
664
        editcatalogue: edit_items
665
"/biblios/{biblio_id}/pickup_locations":
665
"/public/biblios/{biblio_id}/pickup_locations":
666
  get:
666
  get:
667
    x-mojo-to: Biblios#pickup_locations
667
    x-mojo-to: Biblios#pickup_locations
668
    operationId: getBiblioPickupLocations
668
    operationId: getBiblioPickupLocations
Lines 723-731 Link Here
723
        description: Under maintenance
723
        description: Under maintenance
724
        schema:
724
        schema:
725
          $ref: "../swagger.yaml#/definitions/error"
725
          $ref: "../swagger.yaml#/definitions/error"
726
    x-koha-authorization:
727
      permissions:
728
        reserveforothers: place_holds
729
"/public/biblios/{biblio_id}":
726
"/public/biblios/{biblio_id}":
730
  get:
727
  get:
731
    x-mojo-to: Biblios#get_public
728
    x-mojo-to: Biblios#get_public
(-)a/api/v1/swagger/paths/holds.yaml (-4 / +1 lines)
Lines 764-770 Link Here
764
    x-koha-authorization:
764
    x-koha-authorization:
765
      permissions:
765
      permissions:
766
        reserveforothers: place_holds
766
        reserveforothers: place_holds
767
"/holds/{hold_id}/pickup_locations":
767
"/public/holds/{hold_id}/pickup_locations":
768
  get:
768
  get:
769
    x-mojo-to: Holds#pickup_locations
769
    x-mojo-to: Holds#pickup_locations
770
    operationId: getHoldPickupLocations
770
    operationId: getHoldPickupLocations
Lines 829-837 Link Here
829
        description: Under maintenance
829
        description: Under maintenance
830
        schema:
830
        schema:
831
          $ref: "../swagger.yaml#/definitions/error"
831
          $ref: "../swagger.yaml#/definitions/error"
832
    x-koha-authorization:
833
      permissions:
834
        reserveforothers: place_holds
835
"/holds/{hold_id}/pickup_location":
832
"/holds/{hold_id}/pickup_location":
836
  put:
833
  put:
837
    x-mojo-to: Holds#update_pickup_location
834
    x-mojo-to: Holds#update_pickup_location
(-)a/api/v1/swagger/paths/items.yaml (-4 / +1 lines)
Lines 408-414 Link Here
408
    x-koha-authorization:
408
    x-koha-authorization:
409
      permissions:
409
      permissions:
410
        circulation: 1
410
        circulation: 1
411
"/items/{item_id}/pickup_locations":
411
"/public/items/{item_id}/pickup_locations":
412
  get:
412
  get:
413
    x-mojo-to: Items#pickup_locations
413
    x-mojo-to: Items#pickup_locations
414
    operationId: getItemPickupLocations
414
    operationId: getItemPickupLocations
Lines 470-478 Link Here
470
        description: Under maintenance
470
        description: Under maintenance
471
        schema:
471
        schema:
472
          $ref: "../swagger.yaml#/definitions/error"
472
          $ref: "../swagger.yaml#/definitions/error"
473
    x-koha-authorization:
474
      permissions:
475
        reserveforothers: place_holds
476
"/public/items":
473
"/public/items":
477
  get:
474
  get:
478
    x-mojo-to: Items#list_public
475
    x-mojo-to: Items#list_public
(-)a/api/v1/swagger/swagger.yaml (-7 / +6 lines)
Lines 289-296 paths: Link Here
289
    $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1items"
289
    $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1items"
290
  "/biblios/{biblio_id}/items/{item_id}":
290
  "/biblios/{biblio_id}/items/{item_id}":
291
    $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1items~1{item_id}"
291
    $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1items~1{item_id}"
292
  "/biblios/{biblio_id}/pickup_locations":
293
    $ref: "./paths/biblios.yaml#/~1biblios~1{biblio_id}~1pickup_locations"
294
  "/biblios/{biblio_id}/item_groups":
292
  "/biblios/{biblio_id}/item_groups":
295
    $ref: "./paths/biblios_item_groups.yaml#/~1biblios~1{biblio_id}~1item_groups"
293
    $ref: "./paths/biblios_item_groups.yaml#/~1biblios~1{biblio_id}~1item_groups"
296
  "/biblios/{biblio_id}/item_groups/{item_group_id}":
294
  "/biblios/{biblio_id}/item_groups/{item_group_id}":
Lines 431-438 paths: Link Here
431
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}"
429
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}"
432
  "/holds/{hold_id}/pickup_location":
430
  "/holds/{hold_id}/pickup_location":
433
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1pickup_location"
431
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1pickup_location"
434
  "/holds/{hold_id}/pickup_locations":
435
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1pickup_locations"
436
  "/holds/{hold_id}/priority":
432
  "/holds/{hold_id}/priority":
437
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1priority"
433
    $ref: "./paths/holds.yaml#/~1holds~1{hold_id}~1priority"
438
  "/holds/{hold_id}/suspension":
434
  "/holds/{hold_id}/suspension":
Lines 471-478 paths: Link Here
471
    $ref: ./paths/items.yaml#/~1items~1{item_id}~1bundled_items
467
    $ref: ./paths/items.yaml#/~1items~1{item_id}~1bundled_items
472
  "/items/{item_id}/bundled_items/{bundled_item_id}":
468
  "/items/{item_id}/bundled_items/{bundled_item_id}":
473
    $ref: ./paths/items.yaml#/~1items~1{item_id}~1bundled_items~1{bundled_item_id}
469
    $ref: ./paths/items.yaml#/~1items~1{item_id}~1bundled_items~1{bundled_item_id}
474
  "/items/{item_id}/pickup_locations":
475
    $ref: "./paths/items.yaml#/~1items~1{item_id}~1pickup_locations"
476
  /jobs:
470
  /jobs:
477
    $ref: ./paths/jobs.yaml#/~1jobs
471
    $ref: ./paths/jobs.yaml#/~1jobs
478
  "/jobs/{job_id}":
472
  "/jobs/{job_id}":
Lines 555-560 paths: Link Here
555
    $ref: ./paths/checkouts.yaml#/~1public~1checkouts~1availability
549
    $ref: ./paths/checkouts.yaml#/~1public~1checkouts~1availability
556
  "/public/items":
550
  "/public/items":
557
    $ref: "./paths/items.yaml#/~1public~1items"
551
    $ref: "./paths/items.yaml#/~1public~1items"
552
  "/public/items/{item_id}/pickup_locations":
553
    $ref: "./paths/items.yaml#/~1public~1items~1{item_id}~1pickup_locations"
554
  "/public/holds/{hold_id}/pickup_locations":
555
    $ref: "./paths/holds.yaml#/~1public~1holds~1{hold_id}~1pickup_locations"
556
  "/public/biblios/{biblio_id}/pickup_locations":
557
    $ref: "./paths/biblios.yaml#/~1public~1biblios~1{biblio_id}~1pickup_locations"
558
  "/public/biblios/{biblio_id}/items":
558
  "/public/biblios/{biblio_id}/items":
559
    $ref: "./paths/biblios.yaml#/~1public~1biblios~1{biblio_id}~1items"
559
    $ref: "./paths/biblios.yaml#/~1public~1biblios~1{biblio_id}~1items"
560
  "/public/biblios/{biblio_id}/ratings":
560
  "/public/biblios/{biblio_id}/ratings":
561
- 

Return to bug 41768