|
Lines 92-98
Link Here
|
| 92 |
schema: |
92 |
schema: |
| 93 |
$ref: "../swagger.yaml#/definitions/error" |
93 |
$ref: "../swagger.yaml#/definitions/error" |
| 94 |
"404": |
94 |
"404": |
| 95 |
description: Biblio not found |
95 |
description: Bibliographic record not found |
| 96 |
schema: |
96 |
schema: |
| 97 |
$ref: "../swagger.yaml#/definitions/error" |
97 |
$ref: "../swagger.yaml#/definitions/error" |
| 98 |
"406": |
98 |
"406": |
|
Lines 143-149
Link Here
|
| 143 |
schema: |
143 |
schema: |
| 144 |
$ref: "../swagger.yaml#/definitions/error" |
144 |
$ref: "../swagger.yaml#/definitions/error" |
| 145 |
"404": |
145 |
"404": |
| 146 |
description: Biblio not found |
146 |
description: Bibliographic record not found |
| 147 |
schema: |
147 |
schema: |
| 148 |
$ref: "../swagger.yaml#/definitions/error" |
148 |
$ref: "../swagger.yaml#/definitions/error" |
| 149 |
"406": |
149 |
"406": |
|
Lines 179-185
Link Here
|
| 179 |
- application/json |
179 |
- application/json |
| 180 |
responses: |
180 |
responses: |
| 181 |
"204": |
181 |
"204": |
| 182 |
description: Biblio deleted |
182 |
description: Bibliographic record deleted |
| 183 |
schema: |
183 |
schema: |
| 184 |
type: string |
184 |
type: string |
| 185 |
"401": |
185 |
"401": |
|
Lines 191-197
Link Here
|
| 191 |
schema: |
191 |
schema: |
| 192 |
$ref: "../swagger.yaml#/definitions/error" |
192 |
$ref: "../swagger.yaml#/definitions/error" |
| 193 |
"404": |
193 |
"404": |
| 194 |
description: Biblio not found |
194 |
description: Bibliographic record not found |
| 195 |
schema: |
195 |
schema: |
| 196 |
$ref: "../swagger.yaml#/definitions/error" |
196 |
$ref: "../swagger.yaml#/definitions/error" |
| 197 |
"409": |
197 |
"409": |
|
Lines 250-256
Link Here
|
| 250 |
schema: |
250 |
schema: |
| 251 |
$ref: "../swagger.yaml#/definitions/error" |
251 |
$ref: "../swagger.yaml#/definitions/error" |
| 252 |
"404": |
252 |
"404": |
| 253 |
description: Biblio not found |
253 |
description: Bibliographic record not found |
| 254 |
schema: |
254 |
schema: |
| 255 |
$ref: "../swagger.yaml#/definitions/error" |
255 |
$ref: "../swagger.yaml#/definitions/error" |
| 256 |
"406": |
256 |
"406": |
|
Lines 320-326
Link Here
|
| 320 |
schema: |
320 |
schema: |
| 321 |
$ref: ../swagger.yaml#/definitions/error |
321 |
$ref: ../swagger.yaml#/definitions/error |
| 322 |
"404": |
322 |
"404": |
| 323 |
description: Biblio not found |
323 |
description: Bibliographic record not found |
| 324 |
schema: |
324 |
schema: |
| 325 |
$ref: ../swagger.yaml#/definitions/error |
325 |
$ref: ../swagger.yaml#/definitions/error |
| 326 |
"406": |
326 |
"406": |
|
Lines 387-393
Link Here
|
| 387 |
schema: |
387 |
schema: |
| 388 |
$ref: "../swagger.yaml#/definitions/error" |
388 |
$ref: "../swagger.yaml#/definitions/error" |
| 389 |
"404": |
389 |
"404": |
| 390 |
description: Biblio not found |
390 |
description: Bibliographic record not found |
| 391 |
schema: |
391 |
schema: |
| 392 |
$ref: "../swagger.yaml#/definitions/error" |
392 |
$ref: "../swagger.yaml#/definitions/error" |
| 393 |
"500": |
393 |
"500": |
|
Lines 455-461
Link Here
|
| 455 |
schema: |
455 |
schema: |
| 456 |
$ref: "../swagger.yaml#/definitions/error" |
456 |
$ref: "../swagger.yaml#/definitions/error" |
| 457 |
"404": |
457 |
"404": |
| 458 |
description: Biblio not found |
458 |
description: Bibliographic record not found |
| 459 |
schema: |
459 |
schema: |
| 460 |
$ref: "../swagger.yaml#/definitions/error" |
460 |
$ref: "../swagger.yaml#/definitions/error" |
| 461 |
"406": |
461 |
"406": |
|
Lines 542-555
Link Here
|
| 542 |
- biblios |
542 |
- biblios |
| 543 |
- items |
543 |
- items |
| 544 |
- callnumbers |
544 |
- callnumbers |
| 545 |
summary: Populate empty item callnumbers from biblio callnumber for all items on record with no callnumber |
545 |
summary: Populate empty item call numbers from call number in bibliographic record for all items on record with no call number |
| 546 |
parameters: |
546 |
parameters: |
| 547 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
547 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
| 548 |
produces: |
548 |
produces: |
| 549 |
- application/json |
549 |
- application/json |
| 550 |
responses: |
550 |
responses: |
| 551 |
"200": |
551 |
"200": |
| 552 |
description: Callnumbers updated |
552 |
description: Call numbers updated |
| 553 |
schema: |
553 |
schema: |
| 554 |
type: object |
554 |
type: object |
| 555 |
properties: |
555 |
properties: |
|
Lines 557-563
Link Here
|
| 557 |
description: Number of items updated |
557 |
description: Number of items updated |
| 558 |
type: integer |
558 |
type: integer |
| 559 |
callnumber: |
559 |
callnumber: |
| 560 |
description: Callnumber added to updated items |
560 |
description: Call number added to updated items |
| 561 |
type: string |
561 |
type: string |
| 562 |
"400": |
562 |
"400": |
| 563 |
description: Bad request |
563 |
description: Bad request |
|
Lines 601-607
Link Here
|
| 601 |
- biblios |
601 |
- biblios |
| 602 |
- items |
602 |
- items |
| 603 |
- callnumbers |
603 |
- callnumbers |
| 604 |
summary: Populate empty item callnumber from biblio callnumber for a given item |
604 |
summary: Populate empty item call number from call number in the bibliographic record for a given item |
| 605 |
parameters: |
605 |
parameters: |
| 606 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
606 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
| 607 |
- $ref: "../swagger.yaml#/parameters/item_id_pp" |
607 |
- $ref: "../swagger.yaml#/parameters/item_id_pp" |
|
Lines 609-615
Link Here
|
| 609 |
- application/json |
609 |
- application/json |
| 610 |
responses: |
610 |
responses: |
| 611 |
"200": |
611 |
"200": |
| 612 |
description: Callnumbers updated |
612 |
description: Call numbers updated |
| 613 |
schema: |
613 |
schema: |
| 614 |
type: object |
614 |
type: object |
| 615 |
properties: |
615 |
properties: |
|
Lines 617-623
Link Here
|
| 617 |
description: Number of items updated |
617 |
description: Number of items updated |
| 618 |
type: integer |
618 |
type: integer |
| 619 |
callnumber: |
619 |
callnumber: |
| 620 |
description: Callnumber added to updated items |
620 |
description: Call number added to updated items |
| 621 |
type: string |
621 |
type: string |
| 622 |
"400": |
622 |
"400": |
| 623 |
description: Bad request |
623 |
description: Bad request |
|
Lines 716-722
Link Here
|
| 716 |
operationId: getBiblioPickupLocations |
716 |
operationId: getBiblioPickupLocations |
| 717 |
tags: |
717 |
tags: |
| 718 |
- biblios |
718 |
- biblios |
| 719 |
summary: Get valid pickup locations for a biblio |
719 |
summary: Get valid pickup locations for a bibliographic record |
| 720 |
parameters: |
720 |
parameters: |
| 721 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
721 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
| 722 |
- name: patron_id |
722 |
- name: patron_id |
|
Lines 736-742
Link Here
|
| 736 |
- application/json |
736 |
- application/json |
| 737 |
responses: |
737 |
responses: |
| 738 |
"200": |
738 |
"200": |
| 739 |
description: Biblio pickup locations |
739 |
description: Pickup locations for bibliographic record |
| 740 |
schema: |
740 |
schema: |
| 741 |
type: array |
741 |
type: array |
| 742 |
items: |
742 |
items: |
|
Lines 754-760
Link Here
|
| 754 |
schema: |
754 |
schema: |
| 755 |
$ref: "../swagger.yaml#/definitions/error" |
755 |
$ref: "../swagger.yaml#/definitions/error" |
| 756 |
"404": |
756 |
"404": |
| 757 |
description: Biblio not found |
757 |
description: Bibliographic record not found |
| 758 |
schema: |
758 |
schema: |
| 759 |
$ref: "../swagger.yaml#/definitions/error" |
759 |
$ref: "../swagger.yaml#/definitions/error" |
| 760 |
"500": |
760 |
"500": |
|
Lines 777-783
Link Here
|
| 777 |
operationId: getBiblioPublic |
777 |
operationId: getBiblioPublic |
| 778 |
tags: |
778 |
tags: |
| 779 |
- biblios |
779 |
- biblios |
| 780 |
summary: Get biblio (public) |
780 |
summary: Get bibliograpic record (public) |
| 781 |
parameters: |
781 |
parameters: |
| 782 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
782 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
| 783 |
produces: |
783 |
produces: |
|
Lines 797-803
Link Here
|
| 797 |
schema: |
797 |
schema: |
| 798 |
$ref: "../swagger.yaml#/definitions/error" |
798 |
$ref: "../swagger.yaml#/definitions/error" |
| 799 |
"404": |
799 |
"404": |
| 800 |
description: Biblio not found |
800 |
description: Bibliographic record not found |
| 801 |
schema: |
801 |
schema: |
| 802 |
$ref: "../swagger.yaml#/definitions/error" |
802 |
$ref: "../swagger.yaml#/definitions/error" |
| 803 |
"406": |
803 |
"406": |
|
Lines 863-869
Link Here
|
| 863 |
schema: |
863 |
schema: |
| 864 |
$ref: "../swagger.yaml#/definitions/error" |
864 |
$ref: "../swagger.yaml#/definitions/error" |
| 865 |
"404": |
865 |
"404": |
| 866 |
description: Biblio not found |
866 |
description: Bibliographic record not found |
| 867 |
schema: |
867 |
schema: |
| 868 |
$ref: "../swagger.yaml#/definitions/error" |
868 |
$ref: "../swagger.yaml#/definitions/error" |
| 869 |
"406": |
869 |
"406": |
|
Lines 936-942
Link Here
|
| 936 |
schema: |
936 |
schema: |
| 937 |
$ref: "../swagger.yaml#/definitions/error" |
937 |
$ref: "../swagger.yaml#/definitions/error" |
| 938 |
"404": |
938 |
"404": |
| 939 |
description: Biblio not found |
939 |
description: Bibliographic record not found |
| 940 |
schema: |
940 |
schema: |
| 941 |
$ref: "../swagger.yaml#/definitions/error" |
941 |
$ref: "../swagger.yaml#/definitions/error" |
| 942 |
"500": |
942 |
"500": |
|
Lines 956-962
Link Here
|
| 956 |
operationId: getBiblioDefaultItemCallnumber |
956 |
operationId: getBiblioDefaultItemCallnumber |
| 957 |
tags: |
957 |
tags: |
| 958 |
- biblios |
958 |
- biblios |
| 959 |
summary: Get default item callnumber for a biblio |
959 |
summary: Get default item call number for a bibliographic record |
| 960 |
parameters: |
960 |
parameters: |
| 961 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
961 |
- $ref: "../swagger.yaml#/parameters/biblio_id_pp" |
| 962 |
produces: |
962 |
produces: |
|
Lines 968-974
Link Here
|
| 968 |
type: object |
968 |
type: object |
| 969 |
properties: |
969 |
properties: |
| 970 |
callnumber: |
970 |
callnumber: |
| 971 |
description: Item call number benerated for biblio |
971 |
description: Item call number generated for bibliographic record |
| 972 |
type: string |
972 |
type: string |
| 973 |
"401": |
973 |
"401": |
| 974 |
description: Authentication required |
974 |
description: Authentication required |
|
Lines 979-985
Link Here
|
| 979 |
schema: |
979 |
schema: |
| 980 |
$ref: "../swagger.yaml#/definitions/error" |
980 |
$ref: "../swagger.yaml#/definitions/error" |
| 981 |
"404": |
981 |
"404": |
| 982 |
description: Biblio not found |
982 |
description: Bibliograpic record not found |
| 983 |
schema: |
983 |
schema: |
| 984 |
$ref: "../swagger.yaml#/definitions/error" |
984 |
$ref: "../swagger.yaml#/definitions/error" |
| 985 |
"500": |
985 |
"500": |