Access to content, users and roles
Constructor
Methods
getFileByName (path:String):Null<FileApi>
Get a file by name - formatted as "storage/project/file.ext"
getProject (key:String):ProjectApi
Returns a ProjectApi instance for a given project key.
Use a project to modify content.
See ProjectApi for more info.
inviteUser (email:String, secure:Bool, ?mailOptions:InviteMailOptions):UserApi
Create a new user and send an invite, returns the newly created user.
If secure is set the link to the registration page uses the https protocol.
Content of the invite mail can be changed using mailOptions, see InviteMailOptions for more info.
removeFileByName (path:String):BackendApi
Remove a file by name - formatted as "storage/project/file.ext"