Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Wiki Markup
+Examples:+
Method:/agent/listApplications
Parameters: 
\{
"return": \["*"\]
\}
Response: 
\{
 "error":0,
"result":
\{
"total":2,
"rows":
\[
 \{
 "id":"aid1",
 "name":"aaa application"
\},
 \{
 "id":"aid2",
 "name":"aaa application 2"
\}
\]
\}
\}
\\
\\
\\
\\


/agent/addApplication

Code Block
languagejs
titleRequest
{
    "agent": {"id":"agent id"}, // name etc will also work
    "application": {"id": "application id"}, // name etc will also work
}

...