Skip to main content

add-feature-usage-tracking

Add, change or retire a Platform API feature in the feature-usage taxonomy and bind it to the REST API operations that report it. Use when a new Platform API endpoint (or an existing one) should be counted as feature usage, when someone says "track this endpoint", "add a feature to the taxonomy", "report <operation> to Moesif", "add a feature-usage binding", or when TestEveryPlatformAPIFeatureIsBound, TestBindingsAgreeWithTheTaxonomy, TestBindingsAgreeWithTheOpenAPIDocument or TestFeatureUsageBindingsResolveToRealRoutes fails. Edits exactly two files, platform-api/internal/featureusage/taxonomy/api-platform-taxonomy.yaml and platform-api/internal/featureusage/bindings.go, then runs the tests that keep them in agreement.

معلومات المصدر

المستودع
wso2/api-platform
آخر نشاط في المصدر
١٢ نوفمبر ٢٠٢٦ في ٠٧:٠٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٨٥
التفرعات
١٣٧

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
nameadd-feature-usage-tracking
descriptionAdd, change or retire a Platform API feature in the feature-usage taxonomy and bind it to the REST API operations that report it. Use when a new Platform API endpoint (or an existing one) should be counted as feature usage, when someone says "track this endpoint", "add a feature to the taxonomy", "report <operation> to Moesif", "add a feature-usage binding", or when TestEveryPlatformAPIFeatureIsBound, TestBindingsAgreeWithTheTaxonomy, TestBindingsAgreeWithTheOpenAPIDocument or TestFeatureUsageBindingsResolveToRealRoutes fails. Edits exactly two files, platform-api/internal/featureusage/taxonomy/api-platform-taxonomy.yaml and platform-api/internal/featureusage/bindings.go, then runs the tests that keep them in agreement.