cups/examples/get-subscriptions.test

22 lines
519 B
Plaintext

# Get subscriptions using Get-Subscriptions
{
# The name of the test...
NAME "Get subscriptions using Get-Subscriptions"
# The resource to use for the POST
# RESOURCE /admin
# The operation to use
OPERATION Get-Subscriptions
# Attributes, starting in the operation group...
GROUP operation
ATTR charset attributes-charset utf-8
ATTR language attributes-natural-language en
ATTR uri printer-uri $uri
# What statuses are OK?
STATUS successful-ok
STATUS successful-ok-ignored-or-substituted-attributes
}