@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api spec
@base https://api.ote-godaddy.com
@endpoints 2
@toc countries(2)

@endpoint GET /v1/countries
@desc Retrieves summary country information for the provided marketId and filters
@required {marketId: any # MarketId in which the request is being made, and for which responses should be localized}
@returns(200) Request was successful
@errors {422: marketId is required, 429: Too many requests received within interval, 500: Internal server error}

@endpoint GET /v1/countries/{countryKey}
@desc Retrieves country and summary state information for provided countryKey
@required {countryKey: any # The country key, marketId: any # MarketId in which the request is being made, and for which responses should be localized}
@returns(200) Request was successful
@errors {404: Country not found, 422: marketId is required, 429: Too many requests received within interval, 500: Internal server error}

@end
