Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions core/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,12 @@ resources:

When you do not want to allow access to the resource item (i.e. you don't want a `GET` item
operation), instead of omitting the resource item altogether, you can explicitly specify the IRI of
the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found). For
example:
the resource item by declaring a `GET` item operation that returns HTTP 404 (Not Found).

> For Laravel applications, the same behavior can be implemented using the
> ApiPlatform\Laravel\Controller\NotExposedController.

For example:

<code-selector>

Expand Down
Loading