Fix typos and change some grammatical constructions

This commit is contained in:
daniel.motzko
2021-07-02 11:09:35 +02:00
parent 8bfcbe8ae7
commit 74f3203a4e
79 changed files with 82 additions and 135 deletions

View File

@@ -2,8 +2,8 @@
title: "HAL / HATEOAS"
ring: assess
quadrant: methods-and-patterns
---
Hypermedia As The Engine Of Application State or in short HATEOAS is a pattern that helps to organize dependencies and resources in a RESTful API. The basic idea of HATEOAS is that an API consumer do not have to know how dependencies of resources are connected and how to get them. A consumer must only be familiar with the basics of hypermedia.
Let's assume we have a bank account and an action to deposit money on that account. Everything you need to know is that the account resource has an action for a deposit. The URL of that action can then fetched from the link attribute with the corresponding relation.
@@ -21,4 +21,4 @@ Besides from HATEOAS there is an alternative implementation called Hypertext App
With HAL you are allowed to also define parametrized links, embedded resources and documentation relations (which are called curies). You can find the specification here.
[http://stateless.co/hal_specification.html](http://stateless.co/hal_specification.html)
If you want to link different api endpoints or ressource locations in your API responses you should use this standard.
If you want to link different api endpoints or resource locations in your API responses you should use this standard.