Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
mod-notify/ramls/patron-notice.raml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45 lines (38 sloc)
1.22 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: Patron Notice API | |
baseUri: https://github.com/folio-org/mod-notify | |
version: v1.1 | |
documentation: | |
- title: mod-notify API | |
content: This documents the API calls that can be made to post patron notices for users | |
types: | |
errors: !include raml-util/schemas/errors.schema | |
notifySendRequest: !include notifySendRequest.json | |
patronNoticeEntity: !include patronNotice.json | |
templateProcessingRequest: !include templateProcessingRequest.json | |
templateProcessingResult: !include templateProcessingResult.json | |
traits: | |
language: !include raml-util/traits/language.raml | |
/patron-notice: | |
displayName: Patron Notice | |
description: API for sendig Patron Notices | |
post: | |
description: Send patron notice | |
is: [language] | |
body: | |
application/json: | |
type: patronNoticeEntity | |
example: !include examples/patronNotice.sample | |
responses: | |
200: | |
description: Patron notice successfully sent | |
422: | |
description: Unprocessable entity, e.g. incorrect template id or recipient id | |
body: | |
application/json: | |
type: errors | |
500: | |
description: Internal Server Error | |
body: | |
text/plain: | |
example: "Internal server error" | |