Versions Compared

Key

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

...

Code Block
languagejs
{
	"error":0,
	"result":
	{
		total:2,
		rows:
		[
			{
				"id":"aid1",
				"name":"application 1"
			},
			{
				"id":"aid2",
				"name":"application 2"
			}
		]
	}
}

Anchor
_Toc341972346
_Toc341972346
/auth/listDomains

Code Block
languagejs
{
	"application":
	{
		"id":"appid"
	},
	"return":["id","name"]
}


Code Block
languagejs
{
	
Wiki Markup
+Examples:+
Method:/auth/listApplications
Parameters: 
\{
"return":\["id","name"\]
\}
Response: 
\{
 "error":0,
	"result":
\	{
		total:12,
		rows:
\		[
 \			{
 				"id":"aid1domain id 1",
 				"name":"aaa application"
\}
\]
\}
\\
\}
\\
\\

...

Wiki Markup
+Examples:+
Method:/auth/listDomains
Parameters: 
\{
 "application":
\{
"id":appid
\},
 "return":\["id","name"\]
\}
Response: 
\{
 "error":0,
 "result":
\{
total:1,
rows:
\[
 \{
 "id":"did1",
 domain 1"
			},
			{
				"id":"domain id 2",
				"name":"aaadomain domain2"
\			}
\		]
\	}
\}
\\

Anchor
_Toc341972347
_Toc341972347
/auth/ listAuthenticators

...