Share via


List Rules

 

Enumerates the rules that exist within the specified subscription. An empty feed is returned if no rule exists within this subscription.

Request

Method

Request URI

HTTP Version

GET

GET https://{serviceNamespace}.servicebus.windows.net/{topic path}/subscriptions/{subscription name}/rules/

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

201

Successfully retrieved list of rules.

401

Authorization failure.

404

Specified subscription does not exist.

500

Internal error.

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

Response Headers

None.

Response Body

An AtomPub feed with descriptions of each rule as described in RuleDescription.

See Also

Rules
Delete Rule
Get Rule
Create Rule
RuleDescription
Example: Creating a Rule