Docs
Template

Template

Description

GET

To GET the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters.

POST (Create)

To POST (Create) the data in the specified collection with the specified parameters. When a JSON or Form Data object is saved, the object properties are automatically added to the collection you specified.

PUT (Update)

To PUT (Update) the data in the specified collection with the specified parameters. When a JSON or Form Data object is saved, the object properties are automatically updated to the collection you specified.

PATCH (Update)

To PATCH (Update) the data in the specified collection with the specified parameters. When a JSON or Form Data object is saved, the object properties are automatically updated to the collection you specified.

DELETE

To DELETE the data that has been stored in database by sending a DELETE request to remove a document using the unique id or other specified parameters

Method

Method : GET POST PUT PATCH DELETE

URL

URL : /url

Body

Body : JSON

{
	"title": "title",
	"description": "description"
}

Body : Form Data

FieldTypeRequired
titlestring
descriptionstring

Response

HTTP response status codes (opens in a new tab)


200 - OK201 - Created202 - Accepted400 - Bad Request401 - Unauthorized404 - Not Found405 - Method Not Allowed422 - Unprocessable Content408 - Request Timeout500 - Server Error503 - Service Unavailable504 - Gateway Timeout

Response : 200 - OK

{
	"data": [
		{
			"title": "Ad aut reprehenderit minima praesentium quos illum nihil.",
			"description": "Cum omnis neque at rerum nostrum. Et rerum adipisci magnam quibusdam architecto enim. Sint repellat..."
		}
	]
}

Response : 404 - Not Found

Not Found

Response : 422 - Unprocessable Content

{
	"error": {
		"title": ["title can't be empty"],
		"description": ["description can't be empty"]
	}
}

Response : 500 - Server Error

Internal Server Error

Response Codes

CodeDescription
200The alias was successfully assigned to the deployment
202File successfully uploaded
400One of the provided values in the request query / body is invalid.
401Invalid token or the request is missing an authentication token
403You do not have permission to access this resource
404The domain used for the alias was not found. The deployment was not found
CodeAliasDescription
200OKThe request succeeded. The result meaning of "success" depends on the HTTP method
201CreatedThe request succeeded, and a new resource was created as a result. This is typically the response sent after POST requests, or some PUT requests.
202AcceptedThe request has been received but not yet acted upon. It is intended for cases where another process or server handles the request, or for batch processing.
400Bad RequestThe server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
401UnauthorizedAlthough the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
403ForbiddenThe client does not have access rights to the content; that is, it is unauthorized, so the server is refusing to give the requested resource. Unlike 401 Unauthorized, the client's identity is known to the server.
404Not FoundThe server can not find the requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist.
405Method Not AllowedThe request method is known by the server but is not supported by the target resource. For example, an API may not allow calling DELETE to remove a resource.
408Request TimeoutThis response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection.
422Unprocessable EntityThe request was well-formed but was unable to be followed due to semantic errors.
429Too Many RequestsThe user has sent too many requests in a given amount of time ("rate limiting").
500Internal Server ErrorThe server has encountered a situation it does not know how to handle.
502Bad GatewayThis error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.
503Service UnavailableThe server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.
504Gateway TimeoutThis error response is given when the server is acting as a gateway and cannot get a response in time.