5
API Testing UI (Swagger-like) with Role-Based Simulation
Source: directus/directus#24573 · opened by @SEED-Foundation
Summary Directus provides a powerful API, but testing it efficiently with different roles and users requires external tools. This feature request proposes a built-in API testing UI, similar to Swagger but tailored for Directus, allowing users to test endpoints, simulate different roles, and visualize API responses. Basic Example A new section in the Directus admin panel called "API Playground" would provide: Endpoint Discovery – Auto-generate API documentation from Directus collections and custom endpoints. Role-Based Testing – Select user roles (admin, public, custom roles) to test API access. User Simulation – Log in as a specific user to test API requests as that user. Request Builder – Modify request parameters, headers, and payloads dynamically. Response Viewer – Display formatted JSON responses, errors, and permission feedback. Motivation I want to use Directus fully as a replacement for all backend frameworks. A built-in API testing UI would eliminate the …
No pledges yet. Be the first to back this.
Comments
Similar requests
Directus Extension (Integration) Testing Mocked Services
2 votes · 0 comments
Puppeteer Support? PDF Generation
2 votes · 0 comments
Re-Run flow execution
7 votes · 0 comments
Add Fields Exclusion in Rest API
3 votes · 0 comments
Emit Events control via the public API (and directus/sdk)
1 vote · 0 comments
No comments yet.