REST Commands : Application Management Commands : Create Application

Create Application
A new application is created by sending a POST request to the _applications resource:
POST /_applications
The request must include the application’s schema as an input entity in XML or JSON format. If the request is successful, a 200 OK response is returned with no message body.
Because Doradus uses idempotent update semantics, using this command for an existing application is not an error and treated as a Modify Application command. If the identical schema is added twice, the second command is treated as a no-op. An example Logging application schema is shown below in JSON:
{"LogDepot": {
"options": {
"StorageService": "LoggingService"
},
"tables": {
"AppLogs": {
"options": {"retention-age": "3 MONTHS"}
}
}
}}