TL;DR - What your API needs to be to be RESTful?
It needs to implement HATEOAS. An Wikipedia entry provides a good example how would that look with a example JSON API.[…]HATEOAS isn’t a good fit for most modern use cases for APIs. That is why after almost 20 years, HATEOAS still hasn’t gained wide adoption among developers. commercetools: GraphQL and REST Level 3 (HATEOAS)
Should I forget about REST?
Sort of. But maybe still include it in your resume. Also, in my experience, in tech interviews, most questions about “REST” aren’t about “REST” itself, but about HTTP JSON APIs conventions, knowledge, and best practices, such as:- request/response structure
- idempotency
- using correct HTTP methods and their meanings
- naming endpoints correctly
- comparisons to other API architectures