summaryrefslogtreecommitdiff
path: root/examples/get-subscriptions.test
diff options
context:
space:
mode:
Diffstat (limited to 'examples/get-subscriptions.test')
-rw-r--r--examples/get-subscriptions.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/get-subscriptions.test b/examples/get-subscriptions.test
new file mode 100644
index 000000000..09766ffda
--- /dev/null
+++ b/examples/get-subscriptions.test
@@ -0,0 +1,21 @@
+# 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
+}