Is it possivel to use this parameters with Curl?
anderson On Fri, Apr 1, 2016 at 3:28 PM, Del Hoobler <[email protected]> wrote: > The REST API is through the Operations Center and its web server. > > > For register node: > > > Register node > servers/{server name}/clients > { > "registerclient" : { > "name":"<node name>", > "authentication":"<authentication type>", > "password":"<password>", > "domain":"<domain name>", > "contact":"<contact name>", > "email":"<email>", > ["schedule":" <schedule name> ]", > ["optionset":" <optionset name> ]", > ["deduplication":" <deduplication> ]", > ["sslrequired":" <sslrequired> ]", > ["sessioninitiation":" <sessioninitiation> ]" > }} > > > > Thank you, > > Del > > --------------------------------------------------- > > "ADSM: Dist Stor Manager" <[email protected]> wrote on 04/01/2016 > 01:31:09 PM: > > > From: Anderson Douglas <[email protected]> > > To: [email protected] > > Date: 04/01/2016 01:33 PM > > Subject: Script to register node using Curl and Rest API > > Sent by: "ADSM: Dist Stor Manager" <[email protected]> > > > > Hello > > > > > > > > Here we have started news tests using REST API through Operation > > center. We adopted Curl to send the commands. > > > > Some commands like this below runs normally > > > > > > > > curl -X GET -H "Accept: application/json" -H "OC-API-Version: 1.0" -k > > --user aaa:bbb https://xx.xx.xx.xx:11090/oc/api/help > > > > curl -X PUT -H "Accept: application/json" -H "OC-API-Version: 1.0" -k > > --user aaa:bbb https://xx.xx.xx.xx:11090/oc/api/servers/<inst>/ > > clients/<node>/unlock > > > > > > > > Now we need to implementade a rest command to register a node into > > TSM, But not able. Does anyone know how to do this? > > > > > > > > This is a link with REST API supportable commands > > > > http://www-01.ibm.com/support/docview.wss?uid=swg21973011 > > > > > > > > > > > > Anderson Douglas da Silva > > > -- ----- Anderson
