Skip to main content

API Requirements / متطلبات API

IDRequirementالمتطلب بالعربيStatus
API-001The API shall use authenticated access for protected endpoints.يجب أن تستخدم API المصادقة للواجهات المحميةConfirmed
API-002The API shall return unauthorized responses for unauthenticated access.يجب أن ترجع API استجابة عدم تصريح عند عدم تسجيل الدخولConfirmed
API-003The API shall return forbidden responses for unauthorized role or scope access.يجب أن ترجع API استجابة منع عند عدم امتلاك الصلاحية أو النطاقConfirmed
API-004The API shall validate input and return validation errors.يجب أن تتحقق API من المدخلات وترجع أخطاء تحققConfirmed
API-005An OpenAPI specification shall exist for core API endpoints.يجب توفر مواصفة OpenAPI للواجهات الأساسيةDraft Available
API-006The OpenAPI specification shall be validated against runtime route list before final approval.يجب مراجعة OpenAPI مقابل route list الفعلي قبل الاعتمادNeeds Technical Verification