Global Options

The following options will be used for the appropriate API calls in the playground below.



Explanation

API Playground

Initialize new SafeApp(app, permissions, config)

Authorize authorize()

Am I Authorized? isAuth()

Deauthorize deauthorize()

List Names listNames()

Create Name createName(name)

Delete Name deleteName(name)

List Services For Name listServices(name)

Create Service For Name createServiceForName(obj)

Create Name and Service createServiceAndName(obj)

Delete Service For Name deleteService(service, name)

Get Service Directory getServiceDir(service, name)

Get Service File getFile(service, name, filePath, options = {})

Create Directory createDirectory(dir, options)

Get Directory getDirectory(dir, options)

Delete Directory deleteDirectory(dir, options)

Create File createFile(filePath, options)

Update File updateFile(filePath, content, options)

Get File getFile(filePath, options)

Delete File deleteFile(filePath, options)

Created by Ephi Blanshey
Email: hello@blanshey.com