Cloud Foundry
AsynchronicityHow to handle long operations |
CollectionWhat is a collection (set) of resources |
Retrieve a collectionHow to get a collection or resources |
PaginationHow to retrieve a range of resources in a collection |
FilteringHow to select some resources in a collection |
Error formatHow to provide information about errors |
HTTP methodsGeneral information about HTTP methods usage |
GETThe GET method requests a representation of the specified resource. Requests using GET should only retrieve data and should have no other effect. |
POSTThe POST method requests that the server accept the entity enclosed in the request as a new subordinate of the web resource identified by the URI. The data POSTed might be, for example, an annotation for existing resources; a message for a bulletin board, newsgroup, mailing list, or comment thread; a block of data that is the result of submitting a web form to a data-handling process; or an item to add to a database. |
PUTThe PUT method requests that the enclosed entity be stored under the supplied URI. If the URI refers to an already existing resource, it is modified; if the URI does not point to an existing resource, then the server can create the resource with that URI. |
DELETEThe DELETE method deletes the specified resource. |
PATCHThe PATCH method applies partial modifications to a resource. |
HTTP StatusesGeneral information about HTTP statuses usage |
302 FoundCommon way of performing URL redirection. An HTTP response with this status code will additionally provide a URL in the location header field. The user agent (e.g. a web browser) is invited by a response with this code to make a second, otherwise identical, request to the new URL specified in the location field. |
303 See OtherThe response to the request can be found under another URI using a GET method. When received in response to a POST (or PUT/DELETE), the client should presume that the server has received the data and should issue a redirect with a separate GET message. |
500 Internal Server ErrorA generic error message, given when an unexpected condition was encountered and no more specific message is suitable. |
503 Service UnavailableThe server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state. |
200 OKStandard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action. |
201 CreatedThe request has been fulfilled, resulting in the creation of a new resource. |
202 AcceptedThe request has been accepted for processing, but the processing has not been completed. The request might or might not be eventually acted upon, and may be disallowed when processing occurs. |
204 No ContentThe server successfully processed the request and is not returning any content. |
400 Bad RequestThe server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, too large size, invalid request message framing, or deceptive request routing). |
401 UnauthorizedSimilar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. |
403 ForbiddenThe request was a valid request, but the server is refusing to respond to it. The user might be logged in but does not have the necessary permissions for the resource. |
404 Not FoundThe requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible. |
422 Unprocessable EntityThe request was well-formed but was unable to be followed due to semantic errors. |
HypermediaHow to use hypermedia |
Hypermedia (read)How to use hypermedia to read data |
Hypermedia (write)How to use hypermedia to write data |
Query parametersHow to use query parameters |
ResourceGeneral informations about resources |
Resource IDWhat is a resource ID and/or how it’s built |
URL formatHow to design URLs |
Retrieve resourceHow to retrieve a resource |
Retrieve resource partiallyHow to retrieve partially a resource |
Dereference RelationshipsHow to load a resource and its linked resources in one call |
Create resourceHow to create resources |
Update resourceHow to update a resource |
Update resource partiallyHow to udate partially a resource |
Delete resourceHow to delete resources |
Action resourceHow to use action resource (e.g. resources like /cancel or /approve) |
RelationshipsHow to define and use relations between resources |