public interface AppApi
Modifier and Type | Method and Description |
---|---|
AppBuilder |
appConfig()
Return a new app builder.
|
InvokableBuilder<AppItem> |
create(AppBuilder app)
Create a new App by issuing a POST request to the /apps endpoint
|
InvokableBuilder<Message> |
delete(int app_id)
Delete an app by issuing a DELETE request at /apps/ID endpoint
|
InvokableBuilder<List<App>> |
index()
Shows a list of all available apps by issuing a GET request to the /apps endpoint
|
InvokableBuilder<App> |
show(int app_id)
Shows an app by issuing a GET request to the /apps/ID endpoint
|
InvokableBuilder<App> |
stop(int app_id)
Stop an app by issuing a PUT request at /apps/ID/stop endpoint
|
InvokableBuilder<App> show(int app_id)
app_id
- the id of appInvokableBuilder<List<App>> index()
InvokableBuilder<AppItem> create(AppBuilder app)
app
- config valuesInvokableBuilder<Message> delete(int app_id)
InvokableBuilder<App> stop(int app_id)
AppBuilder appConfig()
Copyright © 2020. All rights reserved.