Read Notification Hub

 

Updated: April 12, 2016

Retrieves a notification hub.

Method

Request URI

HTTP version

GET

https://{namespace}.servicebus.windows.net/{Notification Hub}?api-version=2015-01

HTTP/1.1

The following table describes required and optional request headers.

Request Header

Description

Content-Type

application/xml;type=entry;charset=utf-8

Authorization

Token generated as specified in Shared Access Signature Authentication with Service Bus, or Service Bus authentication and authorization with Microsoft Azure Active Directory Access Control (also known as Access Control Service or ACS).

x-ms-version

2015-01

The response includes an HTTP status code and a set of response headers.

Code

Description

200

Notification hub retrieved successfully.

400

Invalid request body. The notification hub could not be read because the request was malformed (or the validation failed).

401

Authorization failure. The access key was incorrect.

404

Not found. The node does not contain a notification hub.

For information about status codes, see Status and Error Codes.

A NotificationHubDescription element with all policies defined in the current node. For an example, see Create Notification Hub.

Show: