Skip to content

environment

DQOps environment and configuration controller, provides access to the DQOps configuration, current user's information and issue local API Keys for the calling user.


get_dqo_settings

Returns all effective DQOps configuration settings.
Source code

GET

http://localhost:8888/api/environment/settings  

Return value

 Property name   Description                       Data type 
dqo_settings_model DqoSettingsModel

Usage examples

curl http://localhost:8888/api/environment/settings^
    -H "Accept: application/json"

get_user_profile

Returns the profile of the current user.
Source code

GET

http://localhost:8888/api/environment/profile  

Return value

 Property name   Description                       Data type 
dqo_user_profile_model DqoUserProfileModel

Usage examples

curl http://localhost:8888/api/environment/profile^
    -H "Accept: application/json"

issue_api_key

Issues a local API Key for the calling user. This API Key could be used to authenticate using the DQOps REST API client. This API Key should be passed in the "Authorization" HTTP header in the format "Authorization: Bearer <api_key>".
Source code

GET

http://localhost:8888/api/environment/issueapikey  

Return value

 Property name   Description                       Data type 
string string

Usage examples

curl http://localhost:8888/api/environment/issueapikey^
    -H "Accept: application/json"