feat(api): Add active user api

This commit is contained in:
Berkeley Martinez
2017-01-17 16:27:08 -08:00
parent 51912d5263
commit 962675ee17
9 changed files with 160 additions and 20 deletions

View File

@ -108,22 +108,24 @@
"default": "{}"
},
"required": {
"type": [{
"type": {
"link": {
"type": "string",
"description": "Used for css files"
},
"src": {
"type": "string",
"description": "Used for script files"
},
"crossDomain": {
"type": "boolean",
"description": "Files coming from FreeCodeCamp must mark this true"
"type": [
{
"type": {
"link": {
"type": "string",
"description": "Used for css files"
},
"src": {
"type": "string",
"description": "Used for script files"
},
"crossDomain": {
"type": "boolean",
"description": "Files coming from FreeCodeCamp must mark this true"
}
}
}
}],
],
"default": []
}
},

View File

@ -13,9 +13,7 @@
}
},
"validations": [],
"relations": {
},
"relations": {},
"acls": [
{
"accessType": "*",
@ -30,5 +28,5 @@
"permission": "ALLOW"
}
],
"methods": []
"methods": {}
}

View File

@ -122,8 +122,8 @@
},
"currentChallengeId": {
"type": "string",
"default": "",
"description": "The challenge last visited by the user"
"description": "The challenge last visited by the user",
"default": ""
},
"currentChallenge": {
"type": {},