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

(-)a/api/v1/swagger/paths/biblios_volumes.json (-22 / +23 lines)
Lines 3-11 Link Here
3
        "get": {
3
        "get": {
4
            "x-mojo-to": "Biblios::Volumes#list",
4
            "x-mojo-to": "Biblios::Volumes#list",
5
            "operationId": "listVolumes",
5
            "operationId": "listVolumes",
6
            "tags": [
6
            "tags": [ "volumes" ],
7
                "volumes"
7
            "summary": "List volumes",
8
            ],
9
            "parameters": [
8
            "parameters": [
10
                {
9
                {
11
                    "name": "biblio_id",
10
                    "name": "biblio_id",
Lines 25-30 Link Here
25
                },
24
                },
26
                {
25
                {
27
                    "$ref": "../parameters.json#/per_page"
26
                    "$ref": "../parameters.json#/per_page"
27
                },
28
                {
29
                    "$ref": "../parameters.json#/q_param"
30
                },
31
                {
32
                    "$ref": "../parameters.json#/q_body"
33
                },
34
                {
35
                    "$ref": "../parameters.json#/q_header"
28
                }
36
                }
29
            ],
37
            ],
30
            "consumes": [
38
            "consumes": [
Lines 80-88 Link Here
80
        "post": {
88
        "post": {
81
            "x-mojo-to": "Biblios::Volumes#add",
89
            "x-mojo-to": "Biblios::Volumes#add",
82
            "operationId": "addVolume",
90
            "operationId": "addVolume",
83
            "tags": [
91
            "tags": [ "volumes" ],
84
                "volumes"
92
            "summary": "Add volume",
85
            ],
86
            "parameters": [
93
            "parameters": [
87
                {
94
                {
88
                    "name": "biblio_id",
95
                    "name": "biblio_id",
Lines 178-186 Link Here
178
        "get": {
185
        "get": {
179
            "x-mojo-to": "Biblios::Volumes#get",
186
            "x-mojo-to": "Biblios::Volumes#get",
180
            "operationId": "getVolume",
187
            "operationId": "getVolume",
181
            "tags": [
188
            "tags": [ "volumes" ],
182
                "volumes"
189
            "summary": "Get volume",
183
            ],
184
            "parameters": [
190
            "parameters": [
185
                {
191
                {
186
                    "name": "biblio_id",
192
                    "name": "biblio_id",
Lines 247-255 Link Here
247
        "put": {
253
        "put": {
248
            "x-mojo-to": "Biblios::Volumes#update",
254
            "x-mojo-to": "Biblios::Volumes#update",
249
            "operationId": "updateVolume",
255
            "operationId": "updateVolume",
250
            "tags": [
256
            "tags": [ "volumes" ],
251
                "volumes"
257
            "summary": "Update volume",
252
            ],
253
            "parameters": [
258
            "parameters": [
254
                {
259
                {
255
                    "name": "biblio_id",
260
                    "name": "biblio_id",
Lines 347-355 Link Here
347
        "delete": {
352
        "delete": {
348
            "x-mojo-to": "Biblios::Volumes#delete",
353
            "x-mojo-to": "Biblios::Volumes#delete",
349
            "operationId": "deleteVolume",
354
            "operationId": "deleteVolume",
350
            "tags": [
355
            "tags": ["volumes"],
351
                "volumes"
356
            "summary": "Delete volume",
352
            ],
353
            "parameters": [
357
            "parameters": [
354
                {
358
                {
355
                    "name": "biblio_id",
359
                    "name": "biblio_id",
Lines 418-426 Link Here
418
        "post": {
422
        "post": {
419
            "x-mojo-to": "Biblios::Volumes::Items#add",
423
            "x-mojo-to": "Biblios::Volumes::Items#add",
420
            "operationId": "addVolumeItem",
424
            "operationId": "addVolumeItem",
421
            "tags": [
425
            "tags": [ "volumes" ],
422
                "volumes"
426
            "summary": "Add item to volume",
423
            ],
424
            "parameters": [
427
            "parameters": [
425
                {
428
                {
426
                    "name": "biblio_id",
429
                    "name": "biblio_id",
Lines 513-521 Link Here
513
        "delete": {
516
        "delete": {
514
            "x-mojo-to": "Biblios::Volumes::Items#delete",
517
            "x-mojo-to": "Biblios::Volumes::Items#delete",
515
            "operationId": "deleteVolumeItems",
518
            "operationId": "deleteVolumeItems",
516
            "tags": [
519
            "tags": ["volumes"],
517
                "volumes"
520
            "summary": "Delete item from volume",
518
            ],
519
            "parameters": [
521
            "parameters": [
520
                {
522
                {
521
                    "name": "biblio_id",
523
                    "name": "biblio_id",
522
- 

Return to bug 24857