Tailwind UI Pattern Registry for humans and agents

api endpoint http method badge documentation rest api endpoint http post get delete method badge rest documentation API endpoint list with HTTP method badges REST API documentation endpoints collapsible API reference rows

API Endpoint List

Fetch pattern JSON: curl https://webspire.de/patterns/code-preview/api-endpoint.json

Details

Family
code-preview
Tier
enhanced
Kind
component
Extends
code-preview/base
Responsive Dark Mode Tailwind Only SSR Safe Copy & Paste
Stable Published
apiendpointhttpmethodbadgedocumentationrest

Slots

Name Required Description
endpoints Yes Endpoint rows with HTTP method badge, URL path, and optional category label.
expanded No Inline expanded state showing description and parameter table.

API endpoint list for documentation pages. Each row shows a colored HTTP method badge (POST=emerald, GET=sky, DELETE=red), a monospace URL path, and a category label. One row shows the expanded state with a description and inline parameter table. Uses the same dark theme as other code-preview components.