Does the API Platform framework fully support HATEOAS?

285 views Asked by At

Currently I am working on a REST API and noticed, that for real REST it is essential to provide the possible HTTP operations of the resource within the HTTP response (e.g. in JSON-LD format).

After playing around with Swagger, I got to JSON-LD and Hydra, which in combination provide the foundation for real REST.

The problem with pure JSON-LD and Hydra is, that there is no real editor (the Playground does help for testing but not for editing).

Then I found Api Platform which sounds quite promising but I could not find any hint, that it supports real REST.

Does API Platform support HATEOAS in terms of providing the possible HTTP operations?

1

There are 1 answers

0
Nowhere man On

API Platform explicitly supports HATEOAS and they even encourage using Hydra. Their admin UI supports viewing the API through an OpenAPI lens or a Hydra lens.