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 0.8 | |
title: construction-cqrs-api | |
version: 1 | |
/parts/{part_id}: | |
get: | |
description: Query application behaviour - Returns the price of a part in the currency of the given currency code. | |
queryParameters: | |
currency-code: | |
type: string |
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 0.8 | |
title: construction-write-api | |
version: 1 | |
/parts/{part_id}: | |
description: Update the part information | |
put: | |
body: | |
application/xml: | |
example: | |
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 0.8 | |
title: construction-machine | |
version: 1 | |
/parts: | |
/search: | |
description: The search resource for parts. | |
get: | |
description: List all parts in the system when used without query parameters. Query parameters allow powerful depenency searches. For now only one parameter at a time is allowed. | |
queryParameters: | |
used-for: |