locked
List all notification hubs under a namespace RRS feed

  • Question

  • How can I list all hub names of a given notification hub namespace?

    Any restful API?

    Friday, April 29, 2016 8:51 AM

Answers

  • Hi Raven,

    Yes, there is a REST API for listing all Notification Hubs in a namespace.  Here are the details. We are updating our documentation to reflect this.

    Method:GET

    URI Format: https://{serviceNamespace}.servicebus.windows.net/$Resources/NotificationHubs

    Headers:
    Authorization : Specifies a WRAPv0.9.7.2 token containing a SimpleWebToken acquired from ACS. Set to WRAP access_token=”{swt}”.


    Thanks,
    Sateesh


    Mark Post as helpful if it provides any help.Otherwise,leave it as it is.

    • Proposed as answer by Mimi Xu Friday, April 29, 2016 5:43 PM
    • Marked as answer by Raven Tsai Friday, April 29, 2016 6:01 PM
    Friday, April 29, 2016 5:28 PM