Machine-translated by Google. Questions are authored in English.
Top

Discussion

While designing cloud API using the ‘‘Richardson Maturity Model’’ on level ‘‘1’’, it uses :

  • A.Individual URI for each resource
  • B.Right HTTP method with status code
  • C.HATEOAS
  • D.All (A), (B) and (C)

Answer: A

At level 1 the API uses an Individual URI for each resource.

Leonard Richardson's maturity model for REST APIs has four levels. Level 0 sends everything to one endpoint, as in plain RPC over HTTP. Level 1 introduces resources: each resource gets its own URI. Level 2 adds proper use of HTTP methods (GET, POST, PUT, DELETE) and status codes. Level 3 adds HATEOAS, hypermedia links in responses that tell the client what it can do next.

So correct HTTP methods with status codes belong to level 2 and HATEOAS to level 3, and 'All' describes a fully mature level 3 API, not level 1.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.