ui/client/features/flow-browser/services/FlowApi
Cockpit client (features), v0.9. Source: ui/client/features/flow-browser/services/FlowApi.ts.
Functions#
fetchFlow()#
fetchFlow(
feature):Promise<FlowData>
Defined in: ui/client/features/flow-browser/services/FlowApi.ts:5
GET /api/flow/:feature (read-only). The server checks the name against the project's real features.
Parameters#
feature
string
Returns#
Promise<FlowData>
fetchProjectKey()#
fetchProjectKey():
Promise<string|null>
Defined in: ui/client/features/flow-browser/services/FlowApi.ts:13
The current project directory, used only as the key the Files | Flow choice is remembered under.
Returns#
Promise<string | null>