All URIs are relative to https://pipes.turbot.com/api/v0
| Method | HTTP request | Description |
|---|---|---|
| Create | Post /user/{user_handle}/workspace/{workspace_handle}/flowpipe/input | Create user workspace flowpipe input |
| Get | Get /user/{user_handle}/workspace/{workspace_handle}/flowpipe/form/{step_execution_id}/{random_id} | Get user workspace flowpipe form |
| Get_0 | Get /user/{user_handle}/workspace/{workspace_handle}/flowpipe/input/{input_id} | Get user workspace flowpipe input |
| List | Get /user/{user_handle}/workspace/{workspace_handle}/flowpipe/input | List user workspace flowpipe inputs |
| Post | Post /user/{user_handle}/workspace/{workspace_handle}/flowpipe/form/{step_execution_id}/{random_id}/submit | Post user workspace flowpipe form response |
FlowpipeInput Create(ctx, userHandle, workspaceHandle).Request(request).Execute()
Create user workspace flowpipe input
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
userHandle := "userHandle_example" // string | The handle of the user to which the workspace belongs.
workspaceHandle := "workspaceHandle_example" // string | The handle of the workspace to create the Flowpipe input against.
request := *openapiclient.NewCreateFlowpipeInputRequest("ExecutionId_example", "NotifierName_example", "StepExecutionId_example", map[string][]openapiclient.FlowpipeInputStepType{"key": "TODO"}) // CreateFlowpipeInputRequest | The request body for the Flowpipe input.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UserWorkspaceFlowpipeInputs.Create(context.Background(), userHandle, workspaceHandle).Request(request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UserWorkspaceFlowpipeInputs.Create``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Create`: FlowpipeInput
fmt.Fprintf(os.Stdout, "Response from `UserWorkspaceFlowpipeInputs.Create`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userHandle | string | The handle of the user to which the workspace belongs. | |
| workspaceHandle | string | The handle of the workspace to create the Flowpipe input against. |
Other parameters are passed through a pointer to a apiCreateRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
request | CreateFlowpipeInputRequest | The request body for the Flowpipe input. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FlowpipeInput Get(ctx, userHandle, workspaceHandle, stepExecutionId, randomId).Execute()
Get user workspace flowpipe form
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
userHandle := "userHandle_example" // string | The handle of the user to which the workspace belongs.
workspaceHandle := "workspaceHandle_example" // string | The handle of the workspace to which the Flowpipe input belongs.
stepExecutionId := "stepExecutionId_example" // string | The execution ID of the step to which the Flowpipe input belongs.
randomId := "randomId_example" // string | The random ID used to verify the input response.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UserWorkspaceFlowpipeInputs.Get(context.Background(), userHandle, workspaceHandle, stepExecutionId, randomId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UserWorkspaceFlowpipeInputs.Get``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Get`: FlowpipeInput
fmt.Fprintf(os.Stdout, "Response from `UserWorkspaceFlowpipeInputs.Get`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userHandle | string | The handle of the user to which the workspace belongs. | |
| workspaceHandle | string | The handle of the workspace to which the Flowpipe input belongs. | |
| stepExecutionId | string | The execution ID of the step to which the Flowpipe input belongs. | |
| randomId | string | The random ID used to verify the input response. |
Other parameters are passed through a pointer to a apiGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FlowpipeInput Get_0(ctx, userHandle, workspaceHandle, inputId).Execute()
Get user workspace flowpipe input
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
userHandle := "userHandle_example" // string | The handle of the user to which the workspace belongs.
workspaceHandle := "workspaceHandle_example" // string | The handle of the workspace to which the Flowpipe input belongs.
inputId := "inputId_example" // string | The ID of the Flowpipe input. Optionally can pass the step execution ID in lieu of the input ID.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UserWorkspaceFlowpipeInputs.Get_0(context.Background(), userHandle, workspaceHandle, inputId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UserWorkspaceFlowpipeInputs.Get_0``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Get_0`: FlowpipeInput
fmt.Fprintf(os.Stdout, "Response from `UserWorkspaceFlowpipeInputs.Get_0`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userHandle | string | The handle of the user to which the workspace belongs. | |
| workspaceHandle | string | The handle of the workspace to which the Flowpipe input belongs. | |
| inputId | string | The ID of the Flowpipe input. Optionally can pass the step execution ID in lieu of the input ID. |
Other parameters are passed through a pointer to a apiGet_1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ListFlowpipeInputsResponse List(ctx, userHandle, workspaceHandle).Limit(limit).NextToken(nextToken).Execute()
List user workspace flowpipe inputs
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
userHandle := "userHandle_example" // string | The handle of the user to which the workspace belongs.
workspaceHandle := "workspaceHandle_example" // string | The handle of the workspace to which the Flowpipe inputs belong.
limit := int32(56) // int32 | The max number of items to fetch per page of data, subject to a min and max of 1 and 100 respectively. If not specified will default to 25. (optional) (default to 25)
nextToken := "nextToken_example" // string | When list results are truncated, next_token will be returned, which is a cursor to fetch the next page of data. Pass next_token to the subsequent list request to fetch the next page of data. (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UserWorkspaceFlowpipeInputs.List(context.Background(), userHandle, workspaceHandle).Limit(limit).NextToken(nextToken).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UserWorkspaceFlowpipeInputs.List``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `List`: ListFlowpipeInputsResponse
fmt.Fprintf(os.Stdout, "Response from `UserWorkspaceFlowpipeInputs.List`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userHandle | string | The handle of the user to which the workspace belongs. | |
| workspaceHandle | string | The handle of the workspace to which the Flowpipe inputs belong. |
Other parameters are passed through a pointer to a apiListRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
limit | int32 | The max number of items to fetch per page of data, subject to a min and max of 1 and 100 respectively. If not specified will default to 25. | [default to 25] nextToken | string | When list results are truncated, next_token will be returned, which is a cursor to fetch the next page of data. Pass next_token to the subsequent list request to fetch the next page of data. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FlowpipeInput Post(ctx, userHandle, workspaceHandle, stepExecutionId, randomId).Request(request).Execute()
Post user workspace flowpipe form response
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
userHandle := "userHandle_example" // string | The handle of the user to which the workspace belongs.
workspaceHandle := "workspaceHandle_example" // string | The handle of the workspace to which the Flowpipe input belongs.
stepExecutionId := "stepExecutionId_example" // string | The execution ID of the step to which the Flowpipe input belongs.
randomId := "randomId_example" // string | The random ID used to verify the input response.
request := map[string]map[string]interface{}{"key": map[string]interface{}(123)} // map[string]map[string]interface{} | The request body for the response to the Flowpipe input form.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.UserWorkspaceFlowpipeInputs.Post(context.Background(), userHandle, workspaceHandle, stepExecutionId, randomId).Request(request).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `UserWorkspaceFlowpipeInputs.Post``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `Post`: FlowpipeInput
fmt.Fprintf(os.Stdout, "Response from `UserWorkspaceFlowpipeInputs.Post`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| userHandle | string | The handle of the user to which the workspace belongs. | |
| workspaceHandle | string | The handle of the workspace to which the Flowpipe input belongs. | |
| stepExecutionId | string | The execution ID of the step to which the Flowpipe input belongs. | |
| randomId | string | The random ID used to verify the input response. |
Other parameters are passed through a pointer to a apiPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
request | map[string]map[string]interface{} | The request body for the response to the Flowpipe input form. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]