You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added comprehensive project documentation in CLAUDE.md
- Expanded configuration options with better version detection
- Enhanced documentation and troubleshooting guides
- Detailed REST API examples and best practices
- Fixed version parsing from different format patterns
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
description: "Execute REST API requests against Strapi endpoints. Important notes for working with components:\n\n"+
580
+
description: "Execute REST API requests against Strapi endpoints. IMPORTANT: All write operations (POST, PUT, DELETE) require explicit user authorization via the userAuthorized parameter.\n\n"+
561
581
"1. Reading components:\n"+
562
582
"params: { populate: ['SEO'] } // Populate a component\n"+
563
583
"params: { populate: { SEO: { fields: ['Title', 'seoDescription'] } } } // With field selection\n\n"+
564
-
"2. Updating components:\n"+
584
+
"2. Updating components (REQUIRES USER AUTHORIZATION):\n"+
description: "Request body for POST/PUT requests. For components, use: { data: { componentName: { field: 'value' } } } for single components or { data: { componentName: [{ field: 'value' }] } } for repeatable components",
609
630
additionalProperties: true,
610
631
required: false
632
+
},
633
+
userAuthorized: {
634
+
type: "boolean",
635
+
description: "REQUIRED for POST/PUT/DELETE operations. Client MUST obtain explicit user authorization before setting this to true.",
636
+
default: false
611
637
}
612
638
},
613
639
required: ["server","endpoint"],
614
640
},
615
641
},
616
642
{
617
643
name: "strapi_upload_media",
618
-
description: "Upload media to Strapi's media library from a URL with format conversion, quality control, and metadata options. Returns the uploaded file information including the ID for future reference.",
644
+
description: "Upload media to Strapi's media library from a URL with format conversion, quality control, and metadata options. IMPORTANT: This is a write operation that REQUIRES explicit user authorization via the userAuthorized parameter.",
0 commit comments