home > API > [/database/create] > |
request url |
https://[SERVER]:[PORT]/database/create[?PARAMETER1=value[&...]] |
short description |
Creates a database |
long description |
|
parameters |
name |
type |
description |
new_name |
string |
Name of the new database |
sid |
string |
Session identifier for a server connection. Use the /server/login request to get a valid session identifier. |
type |
identifier |
Type of the database (0=normal (default), 3=user info) |
external_identifier |
string |
(Optional) Path to backup file where the database will be loaded from |
password |
string |
(Optional) If in restore mode, password to provided encrypted archive with database. |
|
result |
# |
name |
type |
description |
0 |
database |
identifier |
Identifier of the database |
1 |
name_database |
string |
Name of the database |
2 |
number_dimensions |
integer |
Number of dimensions in the database |
3 |
number_cubes |
integer |
Number of cubes in the database |
4 |
status |
integer |
Status of database (0=unloaded, 1=loaded and 2=changed) |
5 |
type |
integer |
Type of database (0=normal, 1=system, 3=user info) |
|
examples |
|
further information |
|