Skip to content

Latest commit

 

History

History
178 lines (110 loc) · 5.59 KB

FlowsApi.md

File metadata and controls

178 lines (110 loc) · 5.59 KB

{{classname}}

All URIs are relative to /

Method HTTP request Description
GetAvailableFlowFields Get /flows/fields Get flow fields
GetFlow1 Get /flows/{flowId} Get flow
GetFlowVersion1 Get /flows/{flowId}/versions/{versionNumber} Get flow version
GetFlowVersions1 Get /flows/{flowId}/versions Get flow versions
GetLatestFlowVersion1 Get /flows/{flowId}/versions/latest Get latest flow version
GetLatestFlowVersionMetadata1 Get /flows/{flowId}/versions/latest/metadata Get latest flow version metadata

GetAvailableFlowFields

Fields GetAvailableFlowFields(ctx, ) Get flow fields

Retrieves the flow field names that can be used for searching or sorting on flows.

Required Parameters

This endpoint does not need any parameter.

Return type

Fields

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetFlow1

VersionedFlow GetFlow1(ctx, flowId) Get flow

Gets a flow by id.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
flowId string The flow identifier

Return type

VersionedFlow

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetFlowVersion1

VersionedFlowSnapshot GetFlowVersion1(ctx, flowId, versionNumber) Get flow version

Gets the given version of a flow, including metadata and flow content.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
flowId string The flow identifier
versionNumber int32 The version number

Return type

VersionedFlowSnapshot

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetFlowVersions1

[]VersionedFlowSnapshotMetadata GetFlowVersions1(ctx, flowId) Get flow versions

Gets summary information for all versions of a given flow. Versions are ordered newest->oldest.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
flowId string The flow identifier

Return type

[]VersionedFlowSnapshotMetadata

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetLatestFlowVersion1

VersionedFlowSnapshot GetLatestFlowVersion1(ctx, flowId) Get latest flow version

Gets the latest version of a flow, including metadata and flow content.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
flowId string The flow identifier

Return type

VersionedFlowSnapshot

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

GetLatestFlowVersionMetadata1

VersionedFlowSnapshotMetadata GetLatestFlowVersionMetadata1(ctx, flowId) Get latest flow version metadata

Gets the metadata for the latest version of a flow.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
flowId string The flow identifier

Return type

VersionedFlowSnapshotMetadata

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]