Software Development Kit (SDK) and API Discussions

http server requirement for running API's

JGPSHNTAP

I'm just trying to understand if we need to enable the http servers  (system services web show)

 

or can we just give the privileged account access via security login with Ontapi.  

 

Any documentation link on this would be great.

 

Thanks

3 REPLIES 3

Re: http server requirement for running API's

asulliva

Hello @JGPSHNTAP,

 

ZAPI is accessible over both HTTP (when enabled) and HTTPS...there's no reason to enable HTTP if you don't want/need to.  To access ZAPI, regardless of protocol, the user will need to have the "ontapi" application enabled for them:

 

security login create -vserver <svm_name> -user-or-group-name <username> -application ontapi -authentication-method password

Andrew

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.

Re: http server requirement for running API's

JGPSHNTAP

Andrew -

 

I agree with your statement and I'm aware of  of the security login approach for sure.

 

So, is it safe to assume that all tools (OCUM, PS) they default to https?   

Re: http server requirement for running API's

asulliva

PowerShell for sure, but I'm not familiar with OCUM enough to be able to *authortatively* say "yes, it defaults to HTTPS".  That being said, I would assume it does...

If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public