All URIs are relative to http://localhost/nifi-api
Method | HTTP request | Description |
---|---|---|
CopySnippet | Post /process-groups/{id}/snippet-instance | Copies a snippet and discards it. |
CreateConnection | Post /process-groups/{id}/connections | Creates a connection |
CreateControllerService | Post /process-groups/{id}/controller-services | Creates a new controller service |
CreateEmptyAllConnectionsRequest | Post /process-groups/{id}/empty-all-connections-requests | Creates a request to drop all flowfiles of all connection queues in this process group. |
CreateFunnel | Post /process-groups/{id}/funnels | Creates a funnel |
CreateInputPort | Post /process-groups/{id}/input-ports | Creates an input port |
CreateLabel | Post /process-groups/{id}/labels | Creates a label |
CreateOutputPort | Post /process-groups/{id}/output-ports | Creates an output port |
CreateProcessGroup | Post /process-groups/{id}/process-groups | Creates a process group |
CreateProcessor | Post /process-groups/{id}/processors | Creates a new processor |
CreateRemoteProcessGroup | Post /process-groups/{id}/remote-process-groups | Creates a new process group |
CreateTemplate | Post /process-groups/{id}/templates | Creates a template and discards the specified snippet. |
DeleteReplaceProcessGroupRequest | Delete /process-groups/replace-requests/{id} | Deletes the Replace Request with the given ID |
DeleteVariableRegistryUpdateRequest | Delete /process-groups/{groupId}/variable-registry/update-requests/{updateId} | Deletes an update request for a process group's variable registry. If the request is not yet complete, it will automatically be cancelled. |
ExportProcessGroup | Get /process-groups/{id}/download | Gets a process group for download |
GetConnections | Get /process-groups/{id}/connections | Gets all connections |
GetDropAllFlowfilesRequest | Get /process-groups/{id}/empty-all-connections-requests/{drop-request-id} | Gets the current status of a drop all flowfiles request. |
GetFunnels | Get /process-groups/{id}/funnels | Gets all funnels |
GetInputPorts | Get /process-groups/{id}/input-ports | Gets all input ports |
GetLabels | Get /process-groups/{id}/labels | Gets all labels |
GetLocalModifications | Get /process-groups/{id}/local-modifications | Gets a list of local modifications to the Process Group since it was last synchronized with the Flow Registry |
GetOutputPorts | Get /process-groups/{id}/output-ports | Gets all output ports |
GetProcessGroup | Get /process-groups/{id} | Gets a process group |
GetProcessGroups | Get /process-groups/{id}/process-groups | Gets all process groups |
GetProcessors | Get /process-groups/{id}/processors | Gets all processors |
GetRemoteProcessGroups | Get /process-groups/{id}/remote-process-groups | Gets all remote process groups |
GetReplaceProcessGroupRequest | Get /process-groups/replace-requests/{id} | Returns the Replace Request with the given ID |
GetVariableRegistry | Get /process-groups/{id}/variable-registry | Gets a process group's variable registry |
GetVariableRegistryUpdateRequest | Get /process-groups/{groupId}/variable-registry/update-requests/{updateId} | Gets a process group's variable registry |
ImportTemplate | Post /process-groups/{id}/templates/import | Imports a template |
InitiateReplaceProcessGroup | Post /process-groups/{id}/replace-requests | Initiate the Replace Request of a Process Group with the given ID |
InstantiateTemplate | Post /process-groups/{id}/template-instance | Instantiates a template |
RemoveDropRequest | Delete /process-groups/{id}/empty-all-connections-requests/{drop-request-id} | Cancels and/or removes a request to drop all flowfiles. |
RemoveProcessGroup | Delete /process-groups/{id} | Deletes a process group |
ReplaceProcessGroup | Put /process-groups/{id}/flow-contents | Replace Process Group contents with the given ID with the specified Process Group contents |
SubmitUpdateVariableRegistryRequest | Post /process-groups/{id}/variable-registry/update-requests | Submits a request to update a process group's variable registry |
UpdateProcessGroup | Put /process-groups/{id} | Updates a process group |
UpdateVariableRegistry | Put /process-groups/{id}/variable-registry | Updates the contents of a Process Group's variable Registry |
UploadTemplate | Post /process-groups/{id}/templates/upload | Uploads a template |
FlowEntity CopySnippet(ctx, id).Body(body).Execute()
Copies a snippet and discards it.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewCopySnippetRequestEntity() // CopySnippetRequestEntity | The copy snippet request.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CopySnippet(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CopySnippet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CopySnippet`: FlowEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CopySnippet`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCopySnippetRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | CopySnippetRequestEntity | The copy snippet request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionEntity CreateConnection(ctx, id).Body(body).Execute()
Creates a connection
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewConnectionEntity("SourceType_example", "DestinationType_example") // ConnectionEntity | The connection configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateConnection(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateConnection``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateConnection`: ConnectionEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateConnection`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateConnectionRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ConnectionEntity | The connection configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ControllerServiceEntity CreateControllerService(ctx, id).Body(body).Execute()
Creates a new controller service
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewControllerServiceEntity() // ControllerServiceEntity | The controller service configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateControllerService(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateControllerService``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateControllerService`: ControllerServiceEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateControllerService`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateControllerServiceRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ControllerServiceEntity | The controller service configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupEntity CreateEmptyAllConnectionsRequest(ctx, id).Execute()
Creates a request to drop all flowfiles of all connection queues in this process group.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateEmptyAllConnectionsRequest(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateEmptyAllConnectionsRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateEmptyAllConnectionsRequest`: ProcessGroupEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateEmptyAllConnectionsRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateEmptyAllConnectionsRequestRequest 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]
FunnelEntity CreateFunnel(ctx, id).Body(body).Execute()
Creates a funnel
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewFunnelEntity() // FunnelEntity | The funnel configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateFunnel(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateFunnel``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateFunnel`: FunnelEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateFunnel`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateFunnelRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | FunnelEntity | The funnel configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortEntity CreateInputPort(ctx, id).Body(body).Execute()
Creates an input port
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewPortEntity() // PortEntity | The input port configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateInputPort(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateInputPort``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateInputPort`: PortEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateInputPort`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateInputPortRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | PortEntity | The input port configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
LabelEntity CreateLabel(ctx, id).Body(body).Execute()
Creates a label
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewLabelEntity() // LabelEntity | The label configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateLabel(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateLabel``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateLabel`: LabelEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateLabel`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateLabelRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | LabelEntity | The label configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PortEntity CreateOutputPort(ctx, id).Body(body).Execute()
Creates an output port
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewPortEntity() // PortEntity | The output port configuration.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateOutputPort(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateOutputPort``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateOutputPort`: PortEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateOutputPort`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateOutputPortRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | PortEntity | The output port configuration. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupEntity CreateProcessGroup(ctx, id).Body(body).Execute()
Creates a process group
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewProcessGroupEntity() // ProcessGroupEntity | The process group configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateProcessGroup(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateProcessGroup`: ProcessGroupEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ProcessGroupEntity | The process group configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessorEntity CreateProcessor(ctx, id).Body(body).Execute()
Creates a new processor
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewProcessorEntity() // ProcessorEntity | The processor configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateProcessor(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateProcessor``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateProcessor`: ProcessorEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateProcessor`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateProcessorRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ProcessorEntity | The processor configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoteProcessGroupEntity CreateRemoteProcessGroup(ctx, id).Body(body).Execute()
Creates a new process group
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewRemoteProcessGroupEntity() // RemoteProcessGroupEntity | The remote process group configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateRemoteProcessGroup(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateRemoteProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateRemoteProcessGroup`: RemoteProcessGroupEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateRemoteProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateRemoteProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | RemoteProcessGroupEntity | The remote process group configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplateEntity CreateTemplate(ctx, id).Body(body).Execute()
Creates a template and discards the specified snippet.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewCreateTemplateRequestEntity() // CreateTemplateRequestEntity | The create template request.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.CreateTemplate(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.CreateTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CreateTemplate`: TemplateEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.CreateTemplate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiCreateTemplateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | CreateTemplateRequestEntity | The create template request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupReplaceRequestEntity DeleteReplaceProcessGroupRequest(ctx, id).DisconnectedNodeAcknowledged(disconnectedNodeAcknowledged).Execute()
Deletes the Replace Request with the given ID
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The ID of the Update Request
disconnectedNodeAcknowledged := true // bool | Acknowledges that this node is disconnected to allow for mutable requests to proceed. (optional) (default to false)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.DeleteReplaceProcessGroupRequest(context.Background(), id).DisconnectedNodeAcknowledged(disconnectedNodeAcknowledged).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.DeleteReplaceProcessGroupRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteReplaceProcessGroupRequest`: ProcessGroupReplaceRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.DeleteReplaceProcessGroupRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The ID of the Update Request |
Other parameters are passed through a pointer to a apiDeleteReplaceProcessGroupRequestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
disconnectedNodeAcknowledged | bool | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [default to false]
ProcessGroupReplaceRequestEntity
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryUpdateRequestEntity DeleteVariableRegistryUpdateRequest(ctx, groupId, updateId).DisconnectedNodeAcknowledged(disconnectedNodeAcknowledged).Execute()
Deletes an update request for a process group's variable registry. If the request is not yet complete, it will automatically be cancelled.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
groupId := "groupId_example" // string | The process group id.
updateId := "updateId_example" // string | The ID of the Variable Registry Update Request
disconnectedNodeAcknowledged := true // bool | Acknowledges that this node is disconnected to allow for mutable requests to proceed. (optional) (default to false)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.DeleteVariableRegistryUpdateRequest(context.Background(), groupId, updateId).DisconnectedNodeAcknowledged(disconnectedNodeAcknowledged).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.DeleteVariableRegistryUpdateRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `DeleteVariableRegistryUpdateRequest`: VariableRegistryUpdateRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.DeleteVariableRegistryUpdateRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupId | string | The process group id. | |
updateId | string | The ID of the Variable Registry Update Request |
Other parameters are passed through a pointer to a apiDeleteVariableRegistryUpdateRequestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
disconnectedNodeAcknowledged | bool | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [default to false]
VariableRegistryUpdateRequestEntity
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string ExportProcessGroup(ctx, id).Execute()
Gets a process group for download
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.ExportProcessGroup(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.ExportProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ExportProcessGroup`: string
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.ExportProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiExportProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
string
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ConnectionsEntity GetConnections(ctx, id).Execute()
Gets all connections
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetConnections(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetConnections``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetConnections`: ConnectionsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetConnections`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetConnectionsRequest 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]
DropRequestEntity GetDropAllFlowfilesRequest(ctx, id, dropRequestId).Execute()
Gets the current status of a drop all flowfiles request.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
dropRequestId := "dropRequestId_example" // string | The drop request id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetDropAllFlowfilesRequest(context.Background(), id, dropRequestId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetDropAllFlowfilesRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetDropAllFlowfilesRequest`: DropRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetDropAllFlowfilesRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. | |
dropRequestId | string | The drop request id. |
Other parameters are passed through a pointer to a apiGetDropAllFlowfilesRequestRequest 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]
FunnelsEntity GetFunnels(ctx, id).Execute()
Gets all funnels
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetFunnels(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetFunnels``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetFunnels`: FunnelsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetFunnels`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetFunnelsRequest 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]
InputPortsEntity GetInputPorts(ctx, id).Execute()
Gets all input ports
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetInputPorts(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetInputPorts``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetInputPorts`: InputPortsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetInputPorts`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetInputPortsRequest 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]
LabelsEntity GetLabels(ctx, id).Execute()
Gets all labels
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetLabels(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetLabels``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLabels`: LabelsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetLabels`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetLabelsRequest 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]
FlowComparisonEntity GetLocalModifications(ctx, id).Execute()
Gets a list of local modifications to the Process Group since it was last synchronized with the Flow Registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetLocalModifications(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetLocalModifications``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetLocalModifications`: FlowComparisonEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetLocalModifications`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetLocalModificationsRequest 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]
OutputPortsEntity GetOutputPorts(ctx, id).Execute()
Gets all output ports
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetOutputPorts(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetOutputPorts``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetOutputPorts`: OutputPortsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetOutputPorts`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetOutputPortsRequest 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]
ProcessGroupEntity GetProcessGroup(ctx, id).Execute()
Gets a process group
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetProcessGroup(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetProcessGroup`: ProcessGroupEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetProcessGroupRequest 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]
ProcessGroupsEntity GetProcessGroups(ctx, id).Execute()
Gets all process groups
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetProcessGroups(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetProcessGroups``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetProcessGroups`: ProcessGroupsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetProcessGroups`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetProcessGroupsRequest 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]
ProcessorsEntity GetProcessors(ctx, id).IncludeDescendantGroups(includeDescendantGroups).Execute()
Gets all processors
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
includeDescendantGroups := true // bool | Whether or not to include processors from descendant process groups (optional) (default to false)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetProcessors(context.Background(), id).IncludeDescendantGroups(includeDescendantGroups).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetProcessors``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetProcessors`: ProcessorsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetProcessors`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetProcessorsRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
includeDescendantGroups | bool | Whether or not to include processors from descendant process groups | [default to false]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RemoteProcessGroupsEntity GetRemoteProcessGroups(ctx, id).Execute()
Gets all remote process groups
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetRemoteProcessGroups(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetRemoteProcessGroups``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetRemoteProcessGroups`: RemoteProcessGroupsEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetRemoteProcessGroups`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetRemoteProcessGroupsRequest 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]
ProcessGroupReplaceRequestEntity GetReplaceProcessGroupRequest(ctx, id).Execute()
Returns the Replace Request with the given ID
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The ID of the Replace Request
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetReplaceProcessGroupRequest(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetReplaceProcessGroupRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetReplaceProcessGroupRequest`: ProcessGroupReplaceRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetReplaceProcessGroupRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The ID of the Replace Request |
Other parameters are passed through a pointer to a apiGetReplaceProcessGroupRequestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ProcessGroupReplaceRequestEntity
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryEntity GetVariableRegistry(ctx, id).IncludeAncestorGroups(includeAncestorGroups).Execute()
Gets a process group's variable registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
includeAncestorGroups := true // bool | Whether or not to include ancestor groups (optional) (default to true)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetVariableRegistry(context.Background(), id).IncludeAncestorGroups(includeAncestorGroups).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetVariableRegistry``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetVariableRegistry`: VariableRegistryEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetVariableRegistry`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiGetVariableRegistryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
includeAncestorGroups | bool | Whether or not to include ancestor groups | [default to true]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryUpdateRequestEntity GetVariableRegistryUpdateRequest(ctx, groupId, updateId).Execute()
Gets a process group's variable registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
groupId := "groupId_example" // string | The process group id.
updateId := "updateId_example" // string | The ID of the Variable Registry Update Request
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.GetVariableRegistryUpdateRequest(context.Background(), groupId, updateId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.GetVariableRegistryUpdateRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetVariableRegistryUpdateRequest`: VariableRegistryUpdateRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.GetVariableRegistryUpdateRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
groupId | string | The process group id. | |
updateId | string | The ID of the Variable Registry Update Request |
Other parameters are passed through a pointer to a apiGetVariableRegistryUpdateRequestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
VariableRegistryUpdateRequestEntity
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplateEntity ImportTemplate(ctx, id).Execute()
Imports a template
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.ImportTemplate(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.ImportTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ImportTemplate`: TemplateEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.ImportTemplate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiImportTemplateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
No authorization required
- Content-Type: Not defined
- Accept: application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupReplaceRequestEntity InitiateReplaceProcessGroup(ctx, id).Body(body).Execute()
Initiate the Replace Request of a Process Group with the given ID
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewProcessGroupImportEntity() // ProcessGroupImportEntity | The process group replace request entity
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.InitiateReplaceProcessGroup(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.InitiateReplaceProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `InitiateReplaceProcessGroup`: ProcessGroupReplaceRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.InitiateReplaceProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiInitiateReplaceProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ProcessGroupImportEntity | The process group replace request entity |
ProcessGroupReplaceRequestEntity
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FlowEntity InstantiateTemplate(ctx, id).Body(body).Execute()
Instantiates a template
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewInstantiateTemplateRequestEntity() // InstantiateTemplateRequestEntity | The instantiate template request.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.InstantiateTemplate(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.InstantiateTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `InstantiateTemplate`: FlowEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.InstantiateTemplate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiInstantiateTemplateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | InstantiateTemplateRequestEntity | The instantiate template request. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DropRequestEntity RemoveDropRequest(ctx, id, dropRequestId).Execute()
Cancels and/or removes a request to drop all flowfiles.
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
dropRequestId := "dropRequestId_example" // string | The drop request id.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.RemoveDropRequest(context.Background(), id, dropRequestId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.RemoveDropRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveDropRequest`: DropRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.RemoveDropRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. | |
dropRequestId | string | The drop request id. |
Other parameters are passed through a pointer to a apiRemoveDropRequestRequest 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]
ProcessGroupEntity RemoveProcessGroup(ctx, id).Version(version).ClientId(clientId).DisconnectedNodeAcknowledged(disconnectedNodeAcknowledged).Execute()
Deletes a process group
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
version := "version_example" // string | The revision is used to verify the client is working with the latest version of the flow. (optional)
clientId := "clientId_example" // string | If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. (optional)
disconnectedNodeAcknowledged := true // bool | Acknowledges that this node is disconnected to allow for mutable requests to proceed. (optional) (default to false)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.RemoveProcessGroup(context.Background(), id).Version(version).ClientId(clientId).DisconnectedNodeAcknowledged(disconnectedNodeAcknowledged).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.RemoveProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemoveProcessGroup`: ProcessGroupEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.RemoveProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiRemoveProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
version | string | The revision is used to verify the client is working with the latest version of the flow. | clientId | string | If the client id is not specified, new one will be generated. This value (whether specified or generated) is included in the response. | disconnectedNodeAcknowledged | bool | Acknowledges that this node is disconnected to allow for mutable requests to proceed. | [default to false]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupImportEntity ReplaceProcessGroup(ctx, id).Body(body).Execute()
Replace Process Group contents with the given ID with the specified Process Group contents
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewProcessGroupImportEntity() // ProcessGroupImportEntity | The process group replace request entity.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.ReplaceProcessGroup(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.ReplaceProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ReplaceProcessGroup`: ProcessGroupImportEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.ReplaceProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiReplaceProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ProcessGroupImportEntity | The process group replace request entity. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryUpdateRequestEntity SubmitUpdateVariableRegistryRequest(ctx, id).Body(body).Execute()
Submits a request to update a process group's variable registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewVariableRegistryEntity() // VariableRegistryEntity | The variable registry configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.SubmitUpdateVariableRegistryRequest(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.SubmitUpdateVariableRegistryRequest``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `SubmitUpdateVariableRegistryRequest`: VariableRegistryUpdateRequestEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.SubmitUpdateVariableRegistryRequest`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiSubmitUpdateVariableRegistryRequestRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | VariableRegistryEntity | The variable registry configuration details. |
VariableRegistryUpdateRequestEntity
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ProcessGroupEntity UpdateProcessGroup(ctx, id).Body(body).Execute()
Updates a process group
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewProcessGroupEntity() // ProcessGroupEntity | The process group configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.UpdateProcessGroup(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.UpdateProcessGroup``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateProcessGroup`: ProcessGroupEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.UpdateProcessGroup`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiUpdateProcessGroupRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | ProcessGroupEntity | The process group configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VariableRegistryEntity UpdateVariableRegistry(ctx, id).Body(body).Execute()
Updates the contents of a Process Group's variable Registry
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
body := *openapiclient.NewVariableRegistryEntity() // VariableRegistryEntity | The variable registry configuration details.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.UpdateVariableRegistry(context.Background(), id).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.UpdateVariableRegistry``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateVariableRegistry`: VariableRegistryEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.UpdateVariableRegistry`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiUpdateVariableRegistryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
body | VariableRegistryEntity | The variable registry configuration details. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TemplateEntity UploadTemplate(ctx, id).Template(template).Execute()
Uploads a template
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
id := "id_example" // string | The process group id.
template := os.NewFile(1234, "some_file") // *os.File | The binary content of the template file being uploaded.
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.ProcessGroupsApi.UploadTemplate(context.Background(), id).Template(template).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ProcessGroupsApi.UploadTemplate``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UploadTemplate`: TemplateEntity
fmt.Fprintf(os.Stdout, "Response from `ProcessGroupsApi.UploadTemplate`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | The process group id. |
Other parameters are passed through a pointer to a apiUploadTemplateRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
template | *os.File | The binary content of the template file being uploaded. |
No authorization required
- Content-Type: multipart/form-data
- Accept: application/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]