Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
66 lines (62 sloc)
1.63 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 1.0 | |
title: Inventory Move API | |
version: v0.2 | |
protocols: [ HTTP, HTTPS ] | |
baseUri: http://localhost | |
documentation: | |
- title: "Inventory Move API" | |
content: <b>API for moving items between holdings and holdings between instances</b> | |
types: | |
errors: !include raml-util/schemas/errors.schema | |
items_move: !include items_move.json | |
holdings_move: !include holdings_move.json | |
move_response: !include move_response.json | |
traits: | |
language: !include raml-util/traits/language.raml | |
validate: !include raml-util/traits/validation.raml | |
/inventory/items/move: | |
displayName: Items Move | |
post: | |
is: [validate] | |
body: | |
application/json: | |
type: items_move | |
responses: | |
200: | |
description: "Items moved to another holdings record" | |
body: | |
application/json: | |
type: move_response | |
422: | |
description: "Validation error" | |
body: | |
application/json: | |
type: errors | |
500: | |
description: "Internal server error" | |
body: | |
text/plain: | |
example: "Internal server error" | |
/inventory/holdings/move: | |
displayName: Holdings Record Move | |
post: | |
is: [validate] | |
body: | |
application/json: | |
type: holdings_move | |
responses: | |
200: | |
description: "Holdings record moved to another instance" | |
body: | |
application/json: | |
type: move_response | |
422: | |
description: "Validation error" | |
body: | |
application/json: | |
type: errors | |
500: | |
description: "Internal server error" | |
body: | |
text/plain: | |
example: "Internal server error" |