## Media Subscriptions [/media/subscriptions]
### Get the subscription template [GET /media/subscriptions/template{?type}]
+ Parameters
+ type: `2` - The type of the thing we're subscribing too (e.g. show, season).
+ Response 200 (application/xml)
```xml
```
### Create a subscription [POST /media/subscriptions/{?targetLibrarySectionID,targetSectionLocationID,type,hints,prefs}]
+ Parameters
+ targetLibrarySectionID: `1` - The library section into which we'll grab the media. Not actually required when the subscription is to a playlist.
+ targetSectionLocationID: `3` (optional) - The section location into which to grab.
+ type: `2` - The type of the thing we're subscribing too (e.g. show, season).
+ hints: `hints[title]=Family+Guy` (array) - Hints describing what we're looking for. Note: The hint `ratingKey` is required for downloading from a PMS remote.
+ prefs: `prefs[minVideoQuality]=720` (array) - Subscription preferences.
+ params: (array) - Subscription parameters.
+ `params[mediaProviderID]=1` Required for downloads to indicate which MP the subscription will download into
+ `params[source]=server://0123456789abcdef0123456789abcdef01234567/com.plexapp.plugins.library`: Required for downloads to indicate the source of the downloaded content.
+ Response 200 (application/xml)
```xml
```
### Get all subscriptions [GET /media/subscriptions/{?includeGrabs}]
+ Parameters
+ includeGrabs: `1` (optional) - Whether or not to include all the scheduled grabs for each subcription.
+ Response 200 (application/xml)
```xml
```
### Get a single subscription [GET /media/subscriptions/{subscription}{?includeGrabs}]
+ Parameters
+ subscription: `42` - The ID of the subscription.
+ includeGrabs: `1` (optional) - Whether or not to include all the scheduled grabs for each subcription.
+ Response 200 (application/xml)
```xml
```
### Delete a subscription [DELETE /media/subscriptions/{subscription}]
+ Parameters
+ subscription: `42` - The ID of the subscription.
+ Response 200
### Edit a subscription [PUT /media/subscriptions/{subscription?prefs}]
+ Parameters
+ prefs: `prefs[minVideoQuality]=720` (array) - Subscription preferences.
+ Response 200 (application/xml)
```xml
```
### Get all scheduled recordings [GET /media/subscriptions/scheduled]
+ Response 200 (application/xml)
```xml
```
### Process all subscriptions [POST /media/subscriptions/process]
+ Response 200
+ Headers
X-Plex-Activity: d391ddb0-b29b-4e20-a57a-46b15b4e4318