2 "_copyright": "Copyright (C) 2013, Digium, Inc.",
3 "_author": "Jonathan Rose <jrose@digium.com>",
4 "_svn_revision": "$Revision$",
6 "swaggerVersion": "1.1",
7 "basePath": "http://localhost:8088/ari",
8 "resourcePath": "/api-docs/mailboxes.{format}",
15 "description": "Mailboxes",
19 "summary": "List all mailboxes.",
21 "responseClass": "List[Mailbox]"
26 "path": "/mailboxes/{mailboxName}",
27 "description": "Mailbox state",
31 "summary": "Retrieve the current state of a mailbox.",
33 "responseClass": "Mailbox",
36 "name": "mailboxName",
37 "description": "Name of the mailbox",
40 "allowMultiple": false,
47 "reason": "Mailbox not found"
53 "summary": "Change the state of a mailbox. (Note - implicitly creates the mailbox).",
55 "responseClass": "void",
58 "name": "mailboxName",
59 "description": "Name of the mailbox",
62 "allowMultiple": false,
66 "name": "oldMessages",
67 "description": "Count of old messages in the mailbox",
70 "allowMultiple": false,
74 "name": "newMessages",
75 "description": "Count of new messages in the mailbox",
78 "allowMultiple": false,
85 "reason": "Mailbox not found"
90 "httpMethod": "DELETE",
91 "summary": "Destroy a mailbox.",
93 "responseClass": "void",
96 "name": "mailboxName",
97 "description": "Name of the mailbox",
100 "allowMultiple": false,
107 "reason": "Mailbox not found"
117 "description": "Represents the state of a mailbox.",
121 "description": "Name of the mailbox.",
126 "description": "Count of old messages in the mailbox.",
131 "description": "Count of new messages in the mailbox.",