/Info/Config/:application
Request Method
GET, POST or DELETE
URL Parameters
Required. This is the name of the application.
Request Body Details
This endpoint uses the following properties of the request body for POST requests:
Optional. Used in combination with the ACTION property, the USER property allows an administrator to manage application configurations for other users, including the _PUBLIC user. If the user who has made the request is not an administrator, this property is ignored and the API updates the user’s own configuration with the contents of the CONFIG property. If no USER is specified, the requested operation is performed upon the configuration of the user who submitted the request.
Optional. Used in combination with the USER property, the ACTION property allows an administrator to manage application configurations for other users: the value "GET" retrieves the configuration which is currently stored for the user; "DELETE" deletes it; "POST" updates its contents with the contents of the request’s CONFIG property. (When no ACTION value is specified, "POST" is assumed as the default.) If the user who has made the request is not an administrator, this property is ignored and the API updates the user’s own configuration with the contents of the CONFIG property.
Optional. This property is a JSON object containing custom configuration information.
For a given application, one JSON configuration object may be stored per user.
Example Request
-
Request Method:
POST
-
Request URL:
https://localhost/biserver/api/deepsee/v3/research/Info/Config/myapp
For comments on the possible forms of the URL, see Introduction to the Business Intelligence REST API.
-
Request Body:
{ "USER": "_PUBLIC", "ACTION": "", "CONFIG": { "CUSTOM1": "value1", "CUSTOM2": "value2", "CUSTOM3": [ "value3", "value4", "value5" ] } }
Sample Response
{
"Info": {
"Application": "myapp",
"Error": ""
},
"Result": {}
}