AnsweredAssumed Answered

Service list Empty?

Question asked by jgustine on Oct 4, 2017
Latest reply on Feb 2, 2018 by sandeepkuniel@powel.com

Running to another roadblock playing around with this API. 

 

This gets me a list of servers nicely...

 

 gis_servers = gis.admin.servers.list()

 

This gets me at the server I want...

 

dev = gis_servers[0]

 

This validates to True nicely..

 

gis.admin.servers.validate()

 

I can check if a service exists...

 

>>> dev.services.exists("rwpc", "rwpc_auditissues", "MapServer")
True

 

but this returns an empty list?

 

>>> dev.services.list()
[]

 

I need the list to get the service object, so I can start, stop, delete, etc.

 

Anyone see this on thier end?

 

I have a freshly upgraded API and am connected with an Admin account. 

 

 Thanks in advance....again. 

 

James

Outcomes