Subscription
Class Description
Holds the information related to a client subscription to receive updates to a resource automatically.
Attributes
| Name | Type | Description |
|---|---|---|
| encoding | UInt8 | 0 - application/sep+xml 1 - application/sep-exi 2-255 - reserved |
| level | String16 | Contains the preferred schema and extensibility level indication such as "+S1" |
| limit | UInt32 | This element is used to indicate the maximum number of list items that should be included in a notification when the subscribed resource changes. This limit is meant to be functionally equivalent to the βlimitβ query string parameter, but applies to both list resources as well as other resources. For list resources, if a limit of β0β is specified, then notifications SHALL contain a list resource with results=β0β (equivalent to a simple change notification). For list resources, if a limit greater than β0β is specified, then notifications SHALL contain a list resource with results equal to the limit specified (or less, should the list contain fewer items than the limit specified or should the server be unable to provide the requested number of items for any reason) and follow the same rules for list resources (e.g., ordering). For non-list resources, if a limit of β0β is specified, then notifications SHALL NOT contain a resource representation (equivalent to a simple change notification). For non-list resources, if a limit greater than β0β is specified, then notifications SHALL contain the representation of the changed resource. |
| notificationURI | anyURI | The resource to which to post the notifications about the requested subscribed resource. Because this URI will exist on a server other than the one being POSTed to, this attribute SHALL be a fully-qualified absolute URI, not a relative reference. |
Relationships
Inherits from
Descendant classes
- No descendant classes
Associations
| Source Class | Cardinality Source | Target Class | Cardinality Target |
|---|---|---|---|
| Subscription | Condition | 0..1 | |
| SubscriptionList | Subscription | 0..* |