Table of Contents
Note
|
Credit Card Api is a RestFul application built with Spring Boot and Embedded MongoDB It’s based on Level 3 of the famous Richardson Maturity Model. This is one of the most discussed subjects about API design. This source code is hosted in https://github.com/jonyfs/credit-card-api. |
Environment | Url |
---|---|
dev |
|
test |
|
production |
Note
|
RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP verbs. |
Verb | Usage |
---|---|
|
Used to retrieve a resource |
|
Used to create a new resource |
Note
|
RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP status codes. |
Status code | Usage |
---|---|
|
The request completed successfully |
|
A new resource has been created successfully. The resource’s URI is available from the response’s |
|
An update to an existing resource has been applied successfully |
|
The request was malformed. The response body will include an error providing further information |
|
The request was well-formed but was unable to be followed due to semantic errors. |
|
The requested resource did not exist |
Note
|
RESTful Notes uses hypermedia and resources include links to other resources in their
responses. Responses are in Hypertext Application
Language (HAL) format. Links can be found benath the _links key. Users of the API should
not created URIs themselves, instead they should use the above-described links to navigate
from resource to resource.
|