{"files":{"SKILL.md":"---\nname: api\ndescription: \"カラーミーショップアプリストア API skill. Use when working with カラーミーショップアプリストア for appstore, inline_script_tags.json, inline_script_tags. Covers 18 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# カラーミーショップアプリストア API\nAPI version: 1.0.0\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://api.shop-pro.jp\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /appstore/v1/script_tags.json -- スクリプトタグの取得\n3. POST /appstore/v1/script_tags.json -- create first script_tags.json\n\n## Endpoints\n18 endpoints across 5 groups. See references/api-spec.lap for full details.\n\n### Appstore\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /appstore/v1/script_tags.json | スクリプトタグの取得 |\n| POST | /appstore/v1/script_tags.json | スクリプトタグの作成 |\n| GET | /appstore/v1/script_tags/{scriptTagId}.json | スクリプトタグの取得 |\n| PUT | /appstore/v1/script_tags/{scriptTagId}.json | スクリプトタグの更新 |\n| DELETE | /appstore/v1/script_tags/{scriptTagId}.json | スクリプトタグの削除 |\n| POST | /appstore/v1/application_charges.json | アプリ内課金データの作成 |\n| POST | /appstore/v1/recurring_application_charges/{recurringApplicationChargeId}/usage_charges.json | 従量課金データの作成 |\n| DELETE | /appstore/v1/installation.json | アプリストアアプリのアンインストール |\n\n### Inline_script_tags.json\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/inline_script_tags.json | インラインスクリプトタグの取得 |\n| POST | /v1/inline_script_tags.json | インラインスクリプトタグの登録 |\n\n### Inline_script_tags\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/inline_script_tags/{inlineScriptTagId}.json | インラインスクリプトタグの取得 |\n| PUT | /v1/inline_script_tags/{inlineScriptTagId}.json | インラインスクリプトタグの更新 |\n| DELETE | /v1/inline_script_tags/{inlineScriptTagId}.json | インラインスクリプトタグの削除 |\n\n### Script_tags.json\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/script_tags.json | スクリプトタグの取得 |\n| POST | /v1/script_tags.json | スクリプトタグの作成 |\n\n### Script_tags\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /v1/script_tags/{scriptTagId}.json | スクリプトタグの取得 |\n| PUT | /v1/script_tags/{scriptTagId}.json | スクリプトタグの更新 |\n| DELETE | /v1/script_tags/{scriptTagId}.json | スクリプトタグの削除 |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all script_tags.json?\" -> GET /appstore/v1/script_tags.json\n- \"Create a script_tags.json?\" -> POST /appstore/v1/script_tags.json\n- \"Get script_tag details?\" -> GET /appstore/v1/script_tags/{scriptTagId}.json\n- \"Update a script_tag?\" -> PUT /appstore/v1/script_tags/{scriptTagId}.json\n- \"Delete a script_tag?\" -> DELETE /appstore/v1/script_tags/{scriptTagId}.json\n- \"List all inline_script_tags.json?\" -> GET /v1/inline_script_tags.json\n- \"Create a inline_script_tags.json?\" -> POST /v1/inline_script_tags.json\n- \"Get inline_script_tag details?\" -> GET /v1/inline_script_tags/{inlineScriptTagId}.json\n- \"Update a inline_script_tag?\" -> PUT /v1/inline_script_tags/{inlineScriptTagId}.json\n- \"Delete a inline_script_tag?\" -> DELETE /v1/inline_script_tags/{inlineScriptTagId}.json\n- \"Create a application_charges.json?\" -> POST /appstore/v1/application_charges.json\n- \"Create a usage_charges.json?\" -> POST /appstore/v1/recurring_application_charges/{recurringApplicationChargeId}/usage_charges.json\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 カラーミーショップアプリストア API\n@base https://api.shop-pro.jp\n@version 1.0.0\n@auth OAuth2\n@endpoints 18\n@toc appstore(8), inline_script_tags.json(2), inline_script_tags(3), script_tags.json(2), script_tags(3)\n\n@group appstore\n@endpoint GET /appstore/v1/script_tags.json\n@desc スクリプトタグの取得\n@returns(200)\n\n@endpoint POST /appstore/v1/script_tags.json\n@desc スクリプトタグの作成\n@optional {script_tag: map # 作成するスクリプトタグの情報}\n@returns(200)\n\n@endpoint GET /appstore/v1/script_tags/{scriptTagId}.json\n@desc スクリプトタグの取得\n@required {scriptTagId: any # スクリプトタグID}\n@returns(200)\n\n@endpoint PUT /appstore/v1/script_tags/{scriptTagId}.json\n@desc スクリプトタグの更新\n@required {scriptTagId: any # スクリプトタグID}\n@optional {script_tag: map # 作成するスクリプトタグの情報}\n@returns(200)\n\n@endpoint DELETE /appstore/v1/script_tags/{scriptTagId}.json\n@desc スクリプトタグの削除\n@required {scriptTagId: any # スクリプトタグID}\n@returns(204) No Content\n\n@endgroup\n\n@group inline_script_tags.json\n@endpoint GET /v1/inline_script_tags.json\n@desc インラインスクリプトタグの取得\n@returns(200)\n\n@endpoint POST /v1/inline_script_tags.json\n@desc インラインスクリプトタグの登録\n@optional {inline_script_tag: map # 作成するインラインスクリプトタグの情報}\n@returns(201)\n\n@endgroup\n\n@group inline_script_tags\n@endpoint GET /v1/inline_script_tags/{inlineScriptTagId}.json\n@desc インラインスクリプトタグの取得\n@required {inlineScriptTagId: any # インラインスクリプトタグID}\n@returns(200)\n\n@endpoint PUT /v1/inline_script_tags/{inlineScriptTagId}.json\n@desc インラインスクリプトタグの更新\n@required {inlineScriptTagId: any # インラインスクリプトタグID}\n@optional {inline_script_tag: map # 更新するスクリプトタグの情報}\n@returns(200)\n\n@endpoint DELETE /v1/inline_script_tags/{inlineScriptTagId}.json\n@desc インラインスクリプトタグの削除\n@required {inlineScriptTagId: any # インラインスクリプトタグID}\n@returns(204) No Content\n\n@endgroup\n\n@group script_tags.json\n@endpoint GET /v1/script_tags.json\n@desc スクリプトタグの取得\n@returns(200)\n\n@endpoint POST /v1/script_tags.json\n@desc スクリプトタグの作成\n@optional {script_tag: map # 作成するスクリプトタグの情報}\n@returns(200)\n\n@endgroup\n\n@group script_tags\n@endpoint GET /v1/script_tags/{scriptTagId}.json\n@desc スクリプトタグの取得\n@required {scriptTagId: any # スクリプトタグID}\n@returns(200)\n\n@endpoint PUT /v1/script_tags/{scriptTagId}.json\n@desc スクリプトタグの更新\n@required {scriptTagId: any # スクリプトタグID}\n@optional {script_tag: map # 作成するスクリプトタグの情報}\n@returns(200)\n\n@endpoint DELETE /v1/script_tags/{scriptTagId}.json\n@desc スクリプトタグの削除\n@required {scriptTagId: any # スクリプトタグID}\n@returns(204) No Content\n\n@endgroup\n\n@group appstore\n@endpoint POST /appstore/v1/application_charges.json\n@desc アプリ内課金データの作成\n@required {application_charge: map}\n@returns(201)\n\n@endpoint POST /appstore/v1/recurring_application_charges/{recurringApplicationChargeId}/usage_charges.json\n@desc 従量課金データの作成\n@required {recurringApplicationChargeId: any # 課金契約ID, usage_charge: map # 従量課金データ}\n@optional {X-Appstore-Usage-Charge-Token: any # アンインストール後の従量課金の精算をする際に、 `Authorization` ヘッダへアクセストークンを指定する代わりにこのヘッダを指定することで、このAPIを実行することができます。 インストール中は指定不要で、アンインストール後のみ必須となります。 アンインストールフックで通知される `usage_charge.api_token` の値を指定してください。 このヘッダは、アンインストールフックで通知される `usage_charge.closing_on` まで有効です。この期間を過ぎると従量課金を精算できなくなりますのでご注意ください。詳しくは [アプリのアンインストール](#section/API/アプリのアンインストール) をご確認ください。}\n@returns(201)\n\n@endpoint DELETE /appstore/v1/installation.json\n@desc アプリストアアプリのアンインストール\n@returns(200) アンインストール成功\n\n@endgroup\n\n@end\n"}}