FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests