@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Marketplace RP Service
@base https://management.azure.com
@version 2020-01-01
@auth OAuth2
@endpoints 13
@toc providers(10), subscriptions(3)

@group providers
@endpoint GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers
@desc Get a list of all private offers in the given private store
@returns(200) OK

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers
@desc Get a list of all private offers in the given private store
@returns(200) OK

@endgroup

@group providers
@endpoint DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}
@desc Deletes an offer from the given private store.
@returns(200) Offer was deleted successfully

@endpoint GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}
@desc Gets information about a specific offer.
@returns(200) Offer information retrieved

@endpoint PUT /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}
@desc Update or add an offer to the default collection of the private store.
@optional {payload: map}
@returns(200) OK

@endpoint POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}
@desc Delete Private store offer. This is a workaround.
@optional {payload: str}
@returns(200) Operation succeeded

@endgroup

@group subscriptions
@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}
@desc Gets information about a specific private offer.
@returns(200) Private offer information retrieved

@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}
@desc Update or add a private offer to the default collection of the private store.
@optional {payload: map}
@returns(200) OK

@endgroup

@group providers
@endpoint GET /providers/Microsoft.Marketplace/privateStores
@desc Gets the list of available private stores
@returns(200) OK. The request has succeeded.

@endpoint GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
@desc Get information about the private store
@returns(200) OK. The request has succeeded.

@endpoint DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
@desc Deletes the private store. All that is not saved will be lost.
@returns(200) Private store was deleted successfully .

@endpoint PUT /providers/Microsoft.Marketplace/privateStores/{privateStoreId}
@desc Changes private store properties
@optional {payload: map}
@returns(200) Change successful

@endpoint GET /providers/Microsoft.Marketplace/operations
@desc Lists all of the available Microsoft.Marketplace REST API operations.
@required {api-version: any # The API version to use for the request.}
@returns(200) OK. The request has succeeded.

@endgroup

@end
