Check if a Stream Service name is available on Portal

3298
1
06-16-2015 01:07 AM
Michaelvan_der_Veeken
New Contributor

I need to be able to detect if a Stream Service name is available. I have done this in the past with Feature Services with success.

For this I'm using the isServiceNameAvailable endpoint, The documentation only lists Feature Service and Map Service as valid values for the 'type' argument. I have tried 'Stream Service' as an argument, but this will return 'false' on every request to isServiceNameAvailable.

What is the right argument for 'type', or is there an alternative way to check if a Stream Service with the name already exists?

Thank you!

Tags (2)
0 Kudos
1 Reply
Michaelvan_der_Veeken
New Contributor

Sorry for giving this a bump, but I'm wondering if anyone has an answer.

0 Kudos