@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Axesso Api
@base http://api.axesso.de
@version 1.0.0
@endpoints 4
@toc amz(4)

@endpoint GET /amz/amazon-lookup-product
@desc lookup product information
@required {url: any # The url of the requested product.}
@optional {size: any # Size parameter if available.}
@returns(200) successful operation
@errors {400: Bad Request - Missing parameter, 404: Not Found - Product not Found, 406: Not Acceptable - Wrong parameter}

@endpoint GET /amz/amazon-lookup-buy-recommendations
@desc request buy recommendations to a given product
@required {url: any # The url of the requested product.}
@returns(200) successful operation
@errors {400: Bad Request - Missing parameter, 404: Not Found - Product not Found, 406: Not Acceptable - Wrong parameter}

@endpoint GET /amz/amazon-search-by-keyword
@desc fetch results auf a keyword search on Amazon
@required {keyword: any # keyword to search, domainCode: any # domain for the search}
@optional {sortBy: any # sort option, numberOfProducts: any # number of the results (max 20)}
@returns(200) successful operation
@errors {400: Bad Request - Missing parameter, 404: Not Found - Product not Found}

@endpoint GET /amz/sort-options
@desc request available sort options to use in keyword search
@returns(200) successful operation

@end
