Data Backup and Recovery Discussions

Highlighted

SnapCenter - Swagger API to refresh host

Is there a way using the Swagger API (http://docs.netapp.com/ocsc-43/index.jsp?topic=%2Fcom.netapp.doc.ocsc-ag%2FGUID-F2F08997-953E-4C60-B572-F435A5BD77F5.html) to refresh a host/resource?

 

I see when using the application I access this URL: 

https://servername:8146/ProvisionDisk/GetDisks

 

But I don't see any way to manually run a refresh on a host.

1 REPLY 1
Highlighted

Re: SnapCenter - Swagger API to refresh host

Hi,

 

I'm not sure if it's possible to achieve? Whilst the REST API doesn't appear to enable this functionality i was able to view the REST API post using this chrome plugin: WebSpy and could see that the "WindowsHostName=<%Hostname%>" snapcenter host is hidden within the body.

 

/Matt

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

Check out the KB!
Knowledge Base
All Community Forums