SessionsResource
The following resources are part of this group:
- /sessions
- /sessions/bandwidthInfoByLogin
- /sessions/count
- /sessions/sessions.json
- /sessions/sessions.xml
- /sessions/sessionsInfo.json
- /sessions/{sessionID}
/sessions
GET
Gets the sessions in json format.
http://www.markhneedham.com/blog/2014/04/30/jerseyjax-rs-streaming-json/
Parameters
name | description | type | default |
---|---|---|---|
limit | the limit | query | |
type | the type | query | |
localDaemonReturn | determines whether local daemon search should be included. | query | |
version | (no documentation provided) | path |
Response Body
element: | (custom) |
the sessions in json format
/sessions/bandwidthInfoByLogin
GET
Gets the sessions bandwidth information by login name in a single list.
Parameters
name | description | type | default |
---|---|---|---|
limit |
- the maximum number of statistics records to return. If not specified then return all statistics records. |
query | |
version | (no documentation provided) | path |
Response Body
element: | (custom) |
the sessions info json format
/sessions/count
GET
Gets the sessions count.
Parameters
name | description | type | default |
---|---|---|---|
type | the type | query | |
version | (no documentation provided) | path |
Response Body
element: | (custom) |
the sessions count
/sessions/sessions.json
GET
Gets the sessions in json format.
Parameters
name | description | type | default |
---|---|---|---|
limit | the limit | query | |
type | the type | query | |
localDaemonReturn | determines whether local daemon search should be included. | query | |
version | (no documentation provided) | path |
Response Body
element: | sessions |
the sessions in json format
/sessions/sessions.xml
GET
Gets the sessions in xml format.
Parameters
name | description | type | default |
---|---|---|---|
limit | the limit | query | |
type | the type | query | |
localDaemonReturn | determines whether local daemon search should be included. | query | |
version | (no documentation provided) | path |
Response Body
element: | sessions |
the sessions xml format
/sessions/sessionsInfo.json
GET
Gets the sessions information in json format.
Parameters
name | description | type | default |
---|---|---|---|
version | (no documentation provided) | path |
Response Body
element: | (custom) |
the sessions info json format
/sessions/{sessionID}
GET
Gets a single session.
Parameters
name | description | type | default |
---|---|---|---|
sessionID | the session id. Format should be FTP:{session_id} or HTTP:{session_id} | path | |
version | (no documentation provided) | path |
Response Body
element: | session |
the session in XML or JSON format depending from the request params.
DELETE
Kills a session.
Parameters
name | description | type | default |
---|---|---|---|
sessionID | the session id. Format should be FTP:{session_id} or HTTP:{session_id} | path | |
localDaemonReturn | determines whether local daemon search should be included. | query | |
version | (no documentation provided) | path |
Response Body
element: | (custom) |
message.