]> git.ipfire.org Git - thirdparty/cups.git/blame - examples/get-subscriptions.test
Changelog
[thirdparty/cups.git] / examples / get-subscriptions.test
CommitLineData
d1c13e16
MS
1# Get subscriptions using Get-Subscriptions
2{
3 # The name of the test...
4 NAME "Get subscriptions using Get-Subscriptions"
5
6 # The resource to use for the POST
7 # RESOURCE /admin
8
9 # The operation to use
10 OPERATION Get-Subscriptions
11
12 # Attributes, starting in the operation group...
13 GROUP operation
14 ATTR charset attributes-charset utf-8
15 ATTR language attributes-natural-language en
16 ATTR uri printer-uri $uri
17
18 # What statuses are OK?
94436c5a
MS
19 STATUS successful-ok
20 STATUS successful-ok-ignored-or-substituted-attributes
d1c13e16 21}