Reference
Every building block of Fusion Stack, with its options and defaults. To learn how they fit together, start with the tutorial; to understand why they work as they do, read the concepts.
| Page | What it covers |
|---|---|
| Requests and responses | Resources, ApiRequest and ApiResponse. |
| Queries | ApiQuery: includes, sparse fieldsets, filters, sorts and pagination. |
| Attributes | #[Endpoint], #[RequiresScope], #[Describe] and the others, and the middleware. |
| Version changes | VersionChange's properties and transform helpers. |
| Errors | The error format, every error code, and defining your own. |
| HTTP headers | The headers the API reads and sends, and webhook headers. |
| Configuration | Every key of config/api.php. |
| Artisan commands | Every api: command and its options. |
| Testing helpers | InteractsWithApi, the response assertions and version change tests. |
Every page has a Laravel for Rust counterpart in the Laravel for Rust reference, with the same sections.
CI checks that these pages cover every command, error code, attribute, config key, helper and header in the packages.