forked from lda/telodendria
26 lines
622 B
JSON
26 lines
622 B
JSON
|
{
|
||
|
"header": "Schema\/AdminToken.h",
|
||
|
"types": {
|
||
|
"TokenRequest": {
|
||
|
"fields": {
|
||
|
"name": { "type": "string" },
|
||
|
"max_uses": { "type": "integer" },
|
||
|
"lifetime": { "type": "integer" }
|
||
|
},
|
||
|
"type": "struct"
|
||
|
},
|
||
|
"TokenInfo": {
|
||
|
"fields": {
|
||
|
"name": { "type": "string" },
|
||
|
"created_by": { "type": "string" },
|
||
|
"created_on": { "type": "integer" },
|
||
|
"expires_on": { "type": "integer" },
|
||
|
"used": { "type": "integer" },
|
||
|
"uses": { "type": "integer" }
|
||
|
},
|
||
|
"type": "struct"
|
||
|
}
|
||
|
},
|
||
|
"guard": "TELODENDRIA_ADMINTOKEN_H"
|
||
|
}
|