{"files":{"SKILL.md":"---\nname: featureclient\ndescription: \"FeatureClient API skill. Use when working with FeatureClient for providers, subscriptions. Covers 6 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# FeatureClient\nAPI version: 2015-12-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /providers/Microsoft.Features/operations -- lists all of the available microsoft.features rest api operations.\n3. POST /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register -- create first register\n\n## Endpoints\n6 endpoints across 2 groups. See references/api-spec.lap for full details.\n\n### Providers\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /providers/Microsoft.Features/operations | Lists all of the available Microsoft.Features REST API operations. |\n\n### Subscriptions\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Features/features | Gets all the preview features that are available through AFEC for the subscription. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features | Gets all the preview features in a provider namespace that are available through AFEC for the subscription. |\n| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName} | Gets the preview feature with the specified name. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register | Registers the preview feature for the subscription. |\n| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister | Unregisters the preview feature for the subscription. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all operations?\" -> GET /providers/Microsoft.Features/operations\n- \"List all features?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Features/features\n- \"Get feature details?\" -> GET /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}\n- \"Create a register?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register\n- \"Create a unregister?\" -> POST /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister\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 FeatureClient\n@base https://management.azure.com\n@version 2015-12-01\n@auth OAuth2\n@common_fields {api-version: any # The API version to use for this operation.}\n@endpoints 6\n@toc providers(1), subscriptions(5)\n\n@group providers\n@endpoint GET /providers/Microsoft.Features/operations\n@desc Lists all of the available Microsoft.Features REST API operations.\n@returns(200) OK. The request has succeeded.\n\n@endgroup\n\n@group subscriptions\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Features/features\n@desc Gets all the preview features that are available through AFEC for the subscription.\n@required {subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns an array containing metadata for each feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features\n@desc Gets all the preview features in a provider namespace that are available through AFEC for the subscription.\n@required {resourceProviderNamespace: any # The namespace of the resource provider for getting features., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns an array containing metadata for each feature in the resource provider. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.\n\n@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}\n@desc Gets the preview feature with the specified name.\n@required {resourceProviderNamespace: any # The resource provider namespace for the feature., featureName: any # The name of the feature to get., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns metadata about the feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/register\n@desc Registers the preview feature for the subscription.\n@required {resourceProviderNamespace: any # The namespace of the resource provider., featureName: any # The name of the feature to register., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns metadata about the registered feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.\n\n@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister\n@desc Unregisters the preview feature for the subscription.\n@required {resourceProviderNamespace: any # The namespace of the resource provider., featureName: any # The name of the feature to unregister., subscriptionId: any # The ID of the target subscription.}\n@returns(200) OK - Returns metadata about the unregistered feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.\n\n@endgroup\n\n@end\n"}}