Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Anchor
_Toc341972499
_Toc341972499
Attributes

Attribute

type

values

default

mandate

comment

tokenAssignment

object

 

 

true

 

code

string

 

 

 

 

starts

date

 

 

 

 

expires

date

 

 

 

 


Anchor
_Toc341972500
_Toc341972500
/challengeCode/create

Wiki Markup
+Examples:+
Method:/challengeCode/create
Parameters: 
\{
 "attrs":
\[
"tokenAssignment.user":\{"id":userid\},
"tokenAssignment.token":\{"id":tokenid\},
//or 
//"tokenAssignment.id":asid
\]
\}
Response: 
\{
 "error":0,
"result":\{"id":1, "code":"xxx", starts:"xxx", expires:"xxx"\}
\}
\\

Anchor
_Toc341972501
_Toc341972501
/challengeCode /delete

Anchor
_Toc341972502
_Toc341972502
/challengeCode /get

Anchor
_Toc341972503
_Toc341972503
/challengeCode /set

Anchor
_Toc341972504
_Toc341972504
/challengeCode /search