{"files":{"SKILL.md":"---\nname: commercemanagementclient\ndescription: \"CommerceManagementClient API skill. Use when working with CommerceManagementClient for providers, subscriptions. Covers 3 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# CommerceManagementClient\nAPI version: 2015-06-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Commerce.Admin/operations -- returns the list of supported rest operations.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/updateEncryption -- create first updateEncryption\n\n## Endpoints\n3 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Commerce.Admin/operations | Returns the list of supported REST operations. |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/subscriberUsageAggregates | Gets a collection of SubscriberUsageAggregates, which are UsageAggregates from users. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/updateEncryption | Update the encryption. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/Microsoft.Commerce.Admin/operations\n- \"List all subscriberUsageAggregates?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/subscriberUsageAggregates\n- \"Create a updateEncryption?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/updateEncryption\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 CommerceManagementClient\n@base https://management.azure.com\n@version 2015-06-01-preview\n@auth OAuth2\n@endpoints 3\n@toc providers(1), subscriptions(2)\n\n@group providers\n@endpoint GET /providers/Microsoft.Commerce.Admin/operations\n@desc Returns the list of supported REST operations.\n@required {api-version: any # Client API Version.}\n@returns(200) OK\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/subscriberUsageAggregates\n@desc Gets a collection of SubscriberUsageAggregates, which are UsageAggregates from users.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call., api-version: any # Client API Version., reportedStartTime: any # The reported start time (inclusive)., reportedEndTime: any # The reported end time (exclusive).}\n@optional {aggregationGranularity: any # The aggregation granularity., subscriberId: any # The tenant subscription identifier., continuationToken: any # The continuation token.}\n@returns(200) OK\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Commerce.Admin/updateEncryption\n@desc Update the encryption.\n@required {subscriptionId: any # Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call., api-version: any # Client API Version.}\n@returns(200) OK\n\n@endgroup\n\n@end\n"}}