{Denodo}Solution Manager REST API

 

https://community.denodo.com/docs/html/browse/8.0/jp/solution_manager/administration/appendix/rest_api/rest_api

https://community.denodo.com/docs/html/browse/8.0/en/scheduler/administration/developer_api/rest_api/rest_api


-- Basic認証の文字列作成

1. Construct the user-pass by concatenating the user-id, a single colon (":") character and the password
2. Encode the user-pass using Base64 into a sequence of US-ASCII characters
3. Build a header "Authorization" and the value "Basic <BASE64-user-pass>"

notepad input.txt
admin:admin

※改行なし

certutil -f -encode input.txt output.txt

type output.txt

 

-- 1. 環境のリストの取得

curl -X GET "https:// of the Solution Manager server>:10090/environments" -H "Authorization: Basic YWRtaW46YWRtaW4="


-- 2. クラスタのリストの取得

curl -X GET "https:// of the Solution Manager server>:10090/environments/{number:environmentId}/clusters" -H "Authorization: Basic YWRtaW46YWRtaW4="


-- 3. クラスタの取得

curl -X GET "https:// of the Solution Manager server>:10090/clusters/{number:clusterId}" -H "Authorization: Basic YWRtaW46YWRtaW4="


-- 4. サーバーのリストの取得

curl -X GET "https:// of the Solution Manager server>:10090/environments/{number:environmentId}/servers" -H "Authorization: Basic YWRtaW46YWRtaW4="


-- 5. サーバーの取得

curl -X GET "https:// of the Solution Manager server>:10090/servers/{number:serverId}" -H "Authorization: Basic YWRtaW46YWRtaW4="