...
Parameter | Description |
---|---|
| Host name of the CDAP server. |
| Port set as the |
Note: If SSL is enabled for CDAP, then the base URL uses https
instead and port
becomes the port that is set as the router.ssl.server.port
in cdap-site.xml
(default: 10443).
In this API, each endpoint is documented with the HTTP method for the request and a resource identifier. The base URL is assumed to precede each API's resource identifier. For example, the endpoint documentation for creating an application is:
...
Code | Description | Explanation |
---|---|---|
|
| The request returned successfully. |
|
| The request had a combination of parameters that is not recognized. |
|
| The request did not contain an authentication token; see the section below on Working with CDAP Security. |
|
| The request was authenticated but the client does not have permission; requests can fail due to a lack of privilege, as described in the section below on “Working with CDAP Security”. |
|
| The request did not address any of the known URIs. |
|
| A request was received with a method not supported for the URI. |
|
| A request could not be completed due to a conflict with the current resource state. |
|
| An internal error occurred while processing the request. |
|
| A request contained a query that is not supported by this API. |
Note: These returned status codes are not necessarily included in the descriptions of the APIs, but a request may return any of these.
Working with CDAP Security
...