{"files":{"SKILL.md":"---\nname: marketplace-rp-service\ndescription: \"Marketplace RP Service API skill. Use when working with Marketplace RP Service for providers, subscriptions. Covers 13 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Marketplace RP Service\nAPI version: 2020-01-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Marketplace/privateStores -- gets the list of available private stores\n3. POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} -- create first offer\n\n## Endpoints\n13 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers | Get a list of all private offers in the given private store |\n| DELETE | /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} | Deletes an offer from the given private store. |\n| GET | /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} | Gets information about a specific offer. |\n| PUT | /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} | Update or add an offer to the default collection of the private store. |\n| POST | /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} | Delete Private store offer. This is a workaround. |\n| GET | /providers/Microsoft.Marketplace/privateStores | Gets the list of available private stores |\n| GET | /providers/Microsoft.Marketplace/privateStores/{privateStoreId} | Get information about the private store |\n| DELETE | /providers/Microsoft.Marketplace/privateStores/{privateStoreId} | Deletes the private store. All that is not saved will be lost. |\n| PUT | /providers/Microsoft.Marketplace/privateStores/{privateStoreId} | Changes private store properties |\n| GET | /providers/Microsoft.Marketplace/operations | Lists all of the available Microsoft.Marketplace REST API operations. |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers | Get a list of all private offers in the given private store |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} | Gets information about a specific private offer. |\n| PUT | /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId} | Update or add a private offer to the default collection of the private store. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all offers?\" -> GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers\n- \"Delete a offer?\" -> DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n- \"Get offer details?\" -> GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n- \"Update a offer?\" -> PUT /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n- \"List all privateStores?\" -> GET /providers/Microsoft.Marketplace/privateStores\n- \"Get privateStore details?\" -> GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}\n- \"Delete a privateStore?\" -> DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}\n- \"Update a privateStore?\" -> PUT /providers/Microsoft.Marketplace/privateStores/{privateStoreId}\n- \"List all operations?\" -> GET /providers/Microsoft.Marketplace/operations\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Marketplace RP Service\n@base https://management.azure.com\n@version 2020-01-01\n@auth OAuth2\n@endpoints 13\n@toc providers(10), subscriptions(3)\n\n@group providers\n@endpoint GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers\n@desc Get a list of all private offers in the given private store\n@returns(200) OK\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers\n@desc Get a list of all private offers in the given private store\n@returns(200) OK\n\n@endgroup\n\n@group providers\n@endpoint DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n@desc Deletes an offer from the given private store.\n@returns(200) Offer was deleted successfully\n\n@endpoint GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n@desc Gets information about a specific offer.\n@returns(200) Offer information retrieved\n\n@endpoint PUT /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n@desc Update or add an offer to the default collection of the private store.\n@optional {payload: map}\n@returns(200) OK\n\n@endpoint POST /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n@desc Delete Private store offer. This is a workaround.\n@optional {payload: str}\n@returns(200) Operation succeeded\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n@desc Gets information about a specific private offer.\n@returns(200) Private offer information retrieved\n\n@endpoint PUT /subscriptions/{subscriptionId}/providers/Microsoft.Marketplace/privateStores/{privateStoreId}/offers/{offerId}\n@desc Update or add a private offer to the default collection of the private store.\n@optional {payload: map}\n@returns(200) OK\n\n@endgroup\n\n@group providers\n@endpoint GET /providers/Microsoft.Marketplace/privateStores\n@desc Gets the list of available private stores\n@returns(200) OK. The request has succeeded.\n\n@endpoint GET /providers/Microsoft.Marketplace/privateStores/{privateStoreId}\n@desc Get information about the private store\n@returns(200) OK. The request has succeeded.\n\n@endpoint DELETE /providers/Microsoft.Marketplace/privateStores/{privateStoreId}\n@desc Deletes the private store. All that is not saved will be lost.\n@returns(200) Private store was deleted successfully .\n\n@endpoint PUT /providers/Microsoft.Marketplace/privateStores/{privateStoreId}\n@desc Changes private store properties\n@optional {payload: map}\n@returns(200) Change successful\n\n@endpoint GET /providers/Microsoft.Marketplace/operations\n@desc Lists all of the available Microsoft.Marketplace REST API operations.\n@required {api-version: any # The API version to use for the request.}\n@returns(200) OK. The request has succeeded.\n\n@endgroup\n\n@end\n"}}