Description Usage Format Details Arguments Methods See Also
AppsApi Class
1 |
An object of class R6ClassGenerator
of length 24.
An app, in the context of Agave, is an executable code available for invocation through the Agave Jobs service on a specific execution system. Put another way, an app is a piece of code that you can run on a specific system. If a single code needs to be run on multiple systems, each combination of app and system needs to be defined as an app.
Apps are language agnostic and may or may not carry with them their own dependencies. (More on bundling your app in a moment.) Any code that can be forked at the command line or submitted to a batch scheduler can be registered as an Agave app and run through the Jobs service.
The Apps service is the central registry for all Agave apps. The Apps service provides permissions, validation, archiving, and revision information about each app in addition to the usual discovery capability. The rest of this tutorial explains in detail how to register an app to the Apps service, how to manage and share apps, and what the different application scopes mean.
Read more about the Apps API in the Agave Developer's Guide
apiClient
a rAgave::ApiClient instance preconfigured to speak to the Agave Platform.
cache
an rAgave::AgaveCache instance pointing to the persistent auth cache file on disk.
responseType
the default object type methods of this class should return. Valid values are:
raw: the raw JSON string response from the API. You may optionally include
pretty=TRUE
in the method call to receive pretty printed JSON.
list: a standard R list object. This is the default value.
dt: a data table
$addApp()
Register and update new applications.
Usage
1 | apps$addApp$listApps(naked, body, )
|
$addAppPermission()
Grant a user permission for an application.
Usage
1 | apps$addAppPermission$listApps(appId, body, naked, )
|
$clearAppPermissions()
Deletes all permissions on an application.
Usage
1 | apps$clearAppPermissions$listApps(appId, naked, )
|
$deleteApp()
Deletes an application.
Usage
1 | apps$deleteApp$listApps(appId, naked, )
|
$deleteAppPermission()
Deletes all permissions for the given user on an application.
Usage
1 | apps$deleteAppPermission$listApps(appId, username, naked, )
|
$getAppDetails()
Get details of an application by its unique id.
Usage
1 2 |
$getAppPermission()
Get a specific user permission for an application.
Usage
1 | apps$getAppPermission$listApps(appId, username, filter, naked, )
|
$getAppSubmissionForm()
Get a submission form for the named application.
Usage
1 2 |
$invokeAppAction()
Edit an application.
Usage
1 | apps$invokeAppAction$listApps(appId, body, naked, )
|
$listAppHistory()
List the event history of this app
Usage
1 2 |
$listAppPermissions()
Get the permission for this application.
Usage
1 2 |
$listApps()
List apps
Usage
1 2 |
$updateApp()
Update an application.
Usage
1 | apps$updateApp$listApps(appId, body, naked, )
|
$updateAppPermission()
Add or update a user permission for an application.
Usage
1 | apps$updateAppPermission$listApps(appId, username, body, naked, )
|
rAgave::ApiClient rAgave::Agave [rAgave::Application][rAgave::ApplicationAction][rAgave::ApplicationSummary][rAgave::HistoryEvent][rAgave::Permission]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.