AppsApi class

Constructors

AppsApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createApp(CreateAppRequest createAppRequest) → Future<App?>
Register a prototype app (project_path is the on-disk root).
createAppWithHttpInfo(CreateAppRequest createAppRequest) → Future<Response>
Register a prototype app (project_path is the on-disk root).
deleteApp(String id) → Future<void>
Delete an app.
deleteAppFile(String id, String path) → Future<void>
Delete one file inside the app's project directory.
deleteAppFileWithHttpInfo(String id, String path) → Future<Response>
Delete one file inside the app's project directory.
deleteAppWithHttpInfo(String id) → Future<Response>
Delete an app.
getApp(String id) → Future<App?>
Fetch an app.
getAppWithHttpInfo(String id) → Future<Response>
Fetch an app.
listAppFiles(String id, {String? path}) → Future<AppFileListResponse?>
List files inside the app's project directory.
listAppFilesWithHttpInfo(String id, {String? path}) → Future<Response>
List files inside the app's project directory.
listApps() → Future<AppListResponse?>
List the caller's prototype apps.
listAppsWithHttpInfo() → Future<Response>
List the caller's prototype apps.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAppFile(String id, String path) → Future<AppFileContentResponse?>
Read one file inside the app's project directory. Path is traversal-checked; returns 400 if it escapes project root.
readAppFileWithHttpInfo(String id, String path) → Future<Response>
Read one file inside the app's project directory. Path is traversal-checked; returns 400 if it escapes project root.
toString() → String
A string representation of this object.
inherited
updateApp(String id, UpdateAppRequest updateAppRequest) → Future<App?>
Update an app.
updateAppWithHttpInfo(String id, UpdateAppRequest updateAppRequest) → Future<Response>
Update an app.
workspaceCreateApp(String org, String workspace, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceCreateAppWithHttpInfo(String org, String workspace, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'POST /v1/organizations/{org}/workspaces/{workspace}/apps' operation and returns the Response. Parameters:
workspaceDeleteApp(String org, String workspace, String id) → Future<void>
Parameters:
workspaceDeleteAppWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'DELETE /v1/organizations/{org}/workspaces/{workspace}/apps/{id}' operation and returns the Response. Parameters:
workspaceGetApp(String org, String workspace, String id) → Future<Map<String, Object>?>
Parameters:
workspaceGetAppWithHttpInfo(String org, String workspace, String id) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/apps/{id}' operation and returns the Response. Parameters:
workspaceListApps(String org, String workspace) → Future<Map<String, Object>?>
Parameters:
workspaceListAppsWithHttpInfo(String org, String workspace) → Future<Response>
Performs an HTTP 'GET /v1/organizations/{org}/workspaces/{workspace}/apps' operation and returns the Response. Parameters:
workspaceUpdateApp(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Map<String, Object>?>
Parameters:
workspaceUpdateAppWithHttpInfo(String org, String workspace, String id, Map<String, Object> requestBody) → Future<Response>
Performs an HTTP 'PATCH /v1/organizations/{org}/workspaces/{workspace}/apps/{id}' operation and returns the Response. Parameters:
writeAppFile(String id, WriteAppFileRequest writeAppFileRequest) → Future<void>
Write one file inside the app's project directory.
writeAppFileWithHttpInfo(String id, WriteAppFileRequest writeAppFileRequest) → Future<Response>
Write one file inside the app's project directory.

Operators

operator ==(Object other) → bool
The equality operator.
inherited