Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #%RAML 1.0
- title: ACME Banking API
- version: 1.0.0
- mediaType:
- - application/json
- types:
- Customer: !include datatypes/Customer.raml
- Account: !include datatypes/Account.raml
- Transaction: !include datatypes/Transaction.raml
- CustomErrorMessage: !include /datatypes/CustomErrorMessage.raml
- /customers:
- get:
- headers:
- Accept?:
- responses:
- 200:
- headers:
- Cache-Control:
- Expires:
- type: datetime
- body:
- application/json:
- type: Customer[]
- examples: !include /examples/CustomersExample.raml
- application/xml:
- type: Customer[]
- examples: !include /examples/CustomersExample.raml
- 404:
- body:
- type: CustomErrorMessage
- post:
- body:
- type: Customer
- responses:
- 201:
- headers:
- Location:
- body:
- type: string
- 503:
- body:
- type: CustomErrorMessage
- /{ID}:
- get:
- responses:
- 200:
- body:
- type: array
- delete:
- put:
- body:
- responses:
- 200:
- body:
- 201:
- headers:
- Location:
- body:
- /accounts:
- get:
- /accounts:
- get:
- post:
- /{ID}:
- get:
- delete:
- responses:
- 200:
- body:
- 404:
- body:
- type: CustomErrorMessage
- patch:
- body:
- responses:
- 204:
- 501:
- body:
- type: CustomErrorMessage
- /transactions:
- get:
- /transactions:
- get:
- post:
Advertisement