Share via


Get Topic

 

Retrieves an AtomPub entry that contains the description for the specified topic.

Request

Method

Request URI

HTTP Version

GET

https://{serviceNamespace}.servicebus.windows.net/{Topic Path}

HTTP/1.1

Request Headers

The following table describes required and optional request headers.

Request Header

Description

Authorization

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

Request Body

None.

Response

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

Response Codes

Code

Description

200

Successfully retrieved topic description.

401

Authorization failure.

500

Internal error.

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

Response Headers

None.

Response Body

If the topic exists, an AtomPub entry that contains the topic description (see Topic Description). If the topic does not exist, an empty AtomPub feed is returned.

See Also

Topics
Example: Creating a Topic
Create Topic
Delete Topic
List Topics
Topic Description