The following table shows the HTTP verbs, the scope, and the semantics for the methods that our new API must support. Each method is composed by an HTTP verb and a scope and all the methods have well-defined meanings for all the resources and collections.
HTTP verb |
Scope |
Semantics |
|
Collection of game categories |
Retrieve all the stored game categories in the collection, sorted by their name in ascending order. Each game category must include a list of URLs for each game resource that belongs to the category. |
|
Game category |
Retrieve a single game category. The game category must include a list of URLs for each game resource that belongs to the category. |
|
Collection of game categories |
Create a new game category in the collection. |
|
Game category |
Update an existing game category. |
|
Game category |
Update one or more fields of an existing game category. |
|
Game category
|
Delete an existing... |