Create Application
POST {{baseUrl}}/api/v1/app?get_if_exists=false
Create a new application.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
get_if_exists | boolean | Get an existing application, or create a new one if doesn't exist. It's two separate functions in the libs. |
Request Body
{"name"=>"<string>", "rateLimit"=>"<uint16>", "uid"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
idempotency-key | string | The request's idempotency key | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"createdAt":"1974-10-17T23:30:19.000Z","id":"app_1srOrx2ZWZBpBUvZwXKQmoEYga2","metadata":{"veniam2":"laborum elit ea Lorem"},"name":"My first application","updatedAt":"2019-02-15T23:01:19.656Z","uid":"unique-app-identifier","rateLimit":84623706}