{"files":{"SKILL.md":"---\nname: blueprintclient\ndescription: \"BlueprintClient API skill. Use when working with BlueprintClient for {resourceScope}. Covers 14 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# BlueprintClient\nAPI version: 2018-11-01-preview\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName} -- get a blueprint definition.\n3. Explore available endpoints below\n\n## Endpoints\n14 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### {resourceScope}\n| Method | Path | Description |\n|--------|------|-------------|\n| PUT | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName} | Create or update a blueprint definition. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName} | Get a blueprint definition. |\n| DELETE | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName} | Delete a blueprint definition. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints | List blueprint definitions. |\n| PUT | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName} | Create or update blueprint artifact. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName} | Get a blueprint artifact. |\n| DELETE | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName} | Delete a blueprint artifact. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts | List artifacts for a given blueprint definition. |\n| PUT | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId} | Publish a new version of the blueprint definition with the latest artifacts. Published blueprint definitions are immutable. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId} | Get a published version of a blueprint definition. |\n| DELETE | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId} | Delete a published version of a blueprint definition. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions | List published versions of given blueprint definition. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}/artifacts/{artifactName} | Get an artifact for a published blueprint definition. |\n| GET | /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}/artifacts | List artifacts for a version of a published blueprint definition. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"Update a blueprint?\" -> PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}\n- \"Get blueprint details?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}\n- \"Delete a blueprint?\" -> DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}\n- \"List all blueprints?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints\n- \"Update a artifact?\" -> PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}\n- \"Get artifact details?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}\n- \"Delete a artifact?\" -> DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}\n- \"List all artifacts?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts\n- \"Update a version?\" -> PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}\n- \"Get version details?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}\n- \"Delete a version?\" -> DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}\n- \"List all versions?\" -> GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions\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 BlueprintClient\n@base https://management.azure.com\n@version 2018-11-01-preview\n@auth OAuth2\n@common_fields {api-version: any # Client API Version., resourceScope: any # The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').}\n@endpoints 14\n@toc {resourceScope}(14)\n\n@endpoint PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}\n@desc Create or update a blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition., blueprint: map # Blueprint definition.}\n@returns(201) Created -- blueprint definition saved.\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}\n@desc Get a blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition.}\n@returns(200) OK -- blueprint definition retrieved.\n\n@endpoint DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}\n@desc Delete a blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition.}\n@returns(200) OK -- blueprint definition deleted.\n@returns(204) No Content\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints\n@desc List blueprint definitions.\n@returns(200) OK -- retrieved list of blueprint definitions.\n\n@endpoint PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}\n@desc Create or update blueprint artifact.\n@required {blueprintName: any # Name of the blueprint definition., artifactName: any # Name of the blueprint artifact., artifact: map # Blueprint artifact to create or update.}\n@returns(201) Created -- blueprint artifact created/updated.\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}\n@desc Get a blueprint artifact.\n@required {blueprintName: any # Name of the blueprint definition., artifactName: any # Name of the blueprint artifact.}\n@returns(200) OK -- blueprint artifact retrieved.\n\n@endpoint DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts/{artifactName}\n@desc Delete a blueprint artifact.\n@required {blueprintName: any # Name of the blueprint definition., artifactName: any # Name of the blueprint artifact.}\n@returns(200) OK -- blueprint artifact deleted.\n@returns(204) No Content\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/artifacts\n@desc List artifacts for a given blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition.}\n@returns(200) OK -- blueprint artifacts retrieved.\n\n@endpoint PUT /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}\n@desc Publish a new version of the blueprint definition with the latest artifacts. Published blueprint definitions are immutable.\n@required {blueprintName: any # Name of the blueprint definition., versionId: any # Version of the published blueprint definition.}\n@optional {publishedBlueprint: map # Published Blueprint to create or update.}\n@returns(201) Created -- blueprint definition published.\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}\n@desc Get a published version of a blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition., versionId: any # Version of the published blueprint definition.}\n@returns(200) OK -- published blueprint definition retrieved.\n\n@endpoint DELETE /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}\n@desc Delete a published version of a blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition., versionId: any # Version of the published blueprint definition.}\n@returns(200) OK -- published version of blueprint definition deleted.\n@returns(204) No Content\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions\n@desc List published versions of given blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition.}\n@returns(200) OK -- all published versions of blueprint definition retrieved.\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}/artifacts/{artifactName}\n@desc Get an artifact for a published blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition., versionId: any # Version of the published blueprint definition., artifactName: any # Name of the blueprint artifact.}\n@returns(200) OK -- artifact of published blueprint definition retrieved.\n\n@endpoint GET /{resourceScope}/providers/Microsoft.Blueprint/blueprints/{blueprintName}/versions/{versionId}/artifacts\n@desc List artifacts for a version of a published blueprint definition.\n@required {blueprintName: any # Name of the blueprint definition., versionId: any # Version of the published blueprint definition.}\n@returns(200) OK -- artifacts of a version of published blueprint definition retrieved.\n\n@end\n"}}