|
Lines 396-400
Link Here
|
| 396 |
} |
396 |
} |
| 397 |
} |
397 |
} |
| 398 |
} |
398 |
} |
|
|
399 |
}, |
| 400 |
"/public/biblios/{biblio_id}/items": { |
| 401 |
"get": { |
| 402 |
"x-mojo-to": "Biblios#get_items_public", |
| 403 |
"operationId": "getBiblioItemsPublic", |
| 404 |
"tags": [ |
| 405 |
"biblios", |
| 406 |
"items" |
| 407 |
], |
| 408 |
"parameters": [ |
| 409 |
{ |
| 410 |
"$ref": "../parameters.json#/biblio_id_pp" |
| 411 |
}, |
| 412 |
{ |
| 413 |
"$ref": "../parameters.json#/match" |
| 414 |
}, |
| 415 |
{ |
| 416 |
"$ref": "../parameters.json#/order_by" |
| 417 |
}, |
| 418 |
{ |
| 419 |
"$ref": "../parameters.json#/page" |
| 420 |
}, |
| 421 |
{ |
| 422 |
"$ref": "../parameters.json#/per_page" |
| 423 |
}, |
| 424 |
{ |
| 425 |
"$ref": "../parameters.json#/q_param" |
| 426 |
}, |
| 427 |
{ |
| 428 |
"$ref": "../parameters.json#/q_body" |
| 429 |
}, |
| 430 |
{ |
| 431 |
"$ref": "../parameters.json#/q_header" |
| 432 |
} |
| 433 |
], |
| 434 |
"consumes": [ |
| 435 |
"application/json" |
| 436 |
], |
| 437 |
"produces": [ |
| 438 |
"application/json" |
| 439 |
], |
| 440 |
"responses": { |
| 441 |
"200": { |
| 442 |
"description": "A list of the items attached to the record", |
| 443 |
"schema": { |
| 444 |
"type": "array", |
| 445 |
"items": { |
| 446 |
"$ref": "../definitions.json#/item" |
| 447 |
} |
| 448 |
} |
| 449 |
}, |
| 450 |
"401": { |
| 451 |
"description": "Authentication required", |
| 452 |
"schema": { |
| 453 |
"$ref": "../definitions.json#/error" |
| 454 |
} |
| 455 |
}, |
| 456 |
"403": { |
| 457 |
"description": "Access forbidden", |
| 458 |
"schema": { |
| 459 |
"$ref": "../definitions.json#/error" |
| 460 |
} |
| 461 |
}, |
| 462 |
"404": { |
| 463 |
"description": "Biblio not found", |
| 464 |
"schema": { |
| 465 |
"$ref": "../definitions.json#/error" |
| 466 |
} |
| 467 |
}, |
| 468 |
"406": { |
| 469 |
"description": "Not acceptable", |
| 470 |
"schema": { |
| 471 |
"type": "array", |
| 472 |
"description": "Accepted content-types", |
| 473 |
"items": { |
| 474 |
"type": "string" |
| 475 |
} |
| 476 |
} |
| 477 |
}, |
| 478 |
"500": { |
| 479 |
"description": "Internal server error", |
| 480 |
"schema": { |
| 481 |
"$ref": "../definitions.json#/error" |
| 482 |
} |
| 483 |
}, |
| 484 |
"503": { |
| 485 |
"description": "Under maintenance", |
| 486 |
"schema": { |
| 487 |
"$ref": "../definitions.json#/error" |
| 488 |
} |
| 489 |
} |
| 490 |
} |
| 491 |
} |
| 399 |
} |
492 |
} |
| 400 |
} |
493 |
} |
| 401 |
- |
|
|