-
Notifications
You must be signed in to change notification settings - Fork 35
Api Documentation
This document provides an overview of the API endpoints available for managing resources using Synapse. The API is designed to interact with resources such as correlations, using standard HTTP methods.
-
Correlations API
- Get Correlation
- List Correlations
- List Correlations by Namespace
- List Correlations with Pagination
- List Correlations by Namespace with Pagination
- Watch Correlations
- Watch Correlations by Namespace
- Watch Correlations Using SSE
- Monitor Correlation
- Monitor Correlation Using SSE
- Patch Correlation
- Patch Correlation Status
- Delete Correlation
-
Correlators API
- List Correlators
- Get Correlator
- List Correlators by Namespace
- List Correlators with Pagination
- List Correlators by Namespace with Pagination
- Watch Correlators
- Watch Correlators by Namespace
- Watch Correlators Using SSE
- Monitor Correlator
- Monitor Correlator Using SSE
- Patch Correlator
- Patch Correlator Status
- Delete Correlator
- Documents API
- Namespaces API
- Operators API
-
Service Accounts API
- Get Service Account
- List Service Accounts
- List Service Accounts by Namespace
- List Service Accounts with Pagination
- List Service Accounts by Namespace with Pagination
- Watch Service Accounts
- Watch Service Accounts by Namespace
- Watch Service Accounts Using SSE
- Monitor Service Account
- Monitor Service Account Using SSE
- Patch Service Account
- Patch Service Account Status
- Delete Service Account
- Users API
-
Workflow Instances API
- List Workflow Instances
- Get Workflow Instance
- List Workflow Instances by Namespace
- List Workflow Instances with Pagination
- List Workflow Instances by Namespace with Pagination
- Watch Workflow Instances
- Watch Workflow Instances by Namespace
- Watch Workflow Instances Using SSE
- Monitor Workflow Instance
- Monitor Workflow Instance Using SSE
- Patch Workflow Instance
- Patch Workflow Instance Status
- Delete Workflow Instance
- Workflows API
- Error Responses
Retrieves a correlation with the specified name and namespace.
Endpoint: GET /api/v1/correlations/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the correlation. |
namespace |
string |
yes |
The namespace the correlation belongs to. |
- 200 OK: Returns the requested correlation.
- 400 Bad Request: Invalid request or validation problem.
Lists correlations matching the optional label selectors.
Endpoint: GET /api/v1/correlations
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors. |
- 200 OK: Returns a collection of correlations.
- 400 Bad Request: Invalid label selector.
Lists correlations within the specified namespace.
Endpoint: GET /api/v1/correlations/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list correlations from. |
labelSelector |
string |
no |
A comma-separated list of label selectors. |
- 200 OK: Returns a collection of correlations.
- 400 Bad Request: Invalid label selector.
Lists correlations with optional pagination and label selectors.
Endpoint: GET /api/v1/correlations/list
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors. |
maxResults |
ulong |
no |
Maximum number of results to return. |
continuationToken |
string |
no |
Token to continue listing from a previous result. |
- 200 OK: Returns a collection of correlations.
- 400 Bad Request: Invalid label selector.
Lists correlations within a specified namespace with optional pagination and label selectors.
Endpoint: GET /api/v1/correlations/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list correlations from. |
labelSelector |
string |
no |
A comma-separated list of label selectors. |
maxResults |
ulong |
no |
Maximum number of results to return. |
continuationToken |
string |
no |
Token to continue listing from a previous result. |
- 200 OK: Returns a collection of correlations.
- 400 Bad Request: Invalid label selector.
Watches for changes to correlations matching the optional label selectors.
Endpoint: GET /api/v1/correlations/watch
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors. |
- 200 OK: Returns a stream of watch events.
- 400 Bad Request: Invalid label selector.
Watches for changes to correlations within the specified namespace.
Endpoint: GET /api/v1/correlations/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch correlations in. |
labelSelector |
string |
no |
A comma-separated list of label selectors. |
- 200 OK: Returns a stream of watch events.
- 400 Bad Request: Invalid label selector.
Watches for changes to correlations within the specified namespace and uses Server-Sent Events (SSE) for streaming.
Endpoint: GET /api/v1/correlations/{namespace}/watch/sse
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch correlations in. |
labelSelector |
string |
no |
A comma-separated list of label selectors. |
- 200 OK: Returns a stream of watch events via SSE.
- 400 Bad Request: Invalid label selector.
Monitors a specific correlation for changes.
Endpoint: GET /api/v1/correlations/{namespace}/{name}/monitor
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the correlation. |
namespace |
string |
yes |
The namespace the correlation belongs to. |
- 200 OK: Returns a stream of watch events.
- 400 Bad Request: Invalid request.
Monitors a specific correlation for changes and uses SSE for streaming.
Endpoint: GET /api/v1/correlations/{namespace}/{name}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the correlation. |
namespace |
string |
yes |
The namespace the correlation belongs to. |
- 200 OK: Returns a stream of watch events via SSE.
- 400 Bad Request: Invalid request.
Applies a patch to a specific correlation.
Endpoint: PATCH /api/v1/correlations/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the correlation to patch. |
namespace |
string |
yes |
The namespace the correlation belongs to. |
patch |
Patch |
yes |
The patch to apply. |
resourceVersion |
string |
no |
The expected correlation version for optimistic concurrency. |
- 200 OK: Returns the patched correlation.
- 400 Bad Request: Invalid request or validation problem.
Applies a patch to a specific correlation's status.
Endpoint: PATCH /api/v1/correlations/{namespace}/{name}/status
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the correlation to patch. |
namespace |
string |
yes |
The namespace the correlation belongs to. |
patch |
Patch |
yes |
The patch to apply. |
resourceVersion |
string |
no |
The expected correlation version for optimistic concurrency. |
- 200 OK: Returns the patched correlation.
- 400 Bad Request: Invalid request or validation problem.
Deletes a specific correlation.
Endpoint: DELETE /api/v1/correlations/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the correlation to delete. |
namespace |
string |
yes |
The namespace the correlation belongs to. |
- 200 OK: Returns the deleted correlation.
- 400 Bad Request: Invalid request or validation problem.
Lists all correlators with optional filtering.
Endpoint: GET /api/v1/correlators
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
- 200 OK: Returns a collection of correlators.
- 400 Bad Request: Invalid label selector or request parameters.
Retrieves a correlator with the specified ID.
Endpoint: GET /api/v1/correlators/{id}
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the correlator to retrieve. |
- 200 OK: Returns the requested correlator.
- 404 Not Found: The correlator with the specified ID does not exist.
- 400 Bad Request: Invalid ID format.
Lists correlators within a specific namespace with optional filtering.
Endpoint: GET /api/v1/correlators/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to filter the correlators by. |
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
- 200 OK: Returns a collection of correlators within the specified namespace.
- 400 Bad Request: Invalid namespace or label selector.
Lists correlators with optional pagination and filtering.
Endpoint: GET /api/v1/correlators/list
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
maxResults |
ulong |
no |
The maximum number of results to return. |
continuationToken |
string |
no |
A token used to continue enumerating through matches. |
- 200 OK: Returns a paginated collection of correlators.
- 400 Bad Request: Invalid pagination parameters or label selector.
Lists correlators within a specific namespace with pagination.
Endpoint: GET /api/v1/correlators/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to filter the correlators by. |
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
maxResults |
ulong |
no |
The maximum number of results to return. |
continuationToken |
string |
no |
A token used to continue enumerating through matches. |
- 200 OK: Returns a paginated collection of correlators within the specified namespace.
- 400 Bad Request: Invalid parameters or namespace.
Streams real-time updates of correlators based on the label selectors.
Endpoint: GET /api/v1/correlators/watch
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
- 200 OK: Streams real-time updates of correlators.
- 400 Bad Request: Invalid label selector or request parameters.
Streams real-time updates of correlators within a specific namespace.
Endpoint: GET /api/v1/correlators/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to filter the correlators by. |
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
- 200 OK: Streams real-time updates of correlators within the specified namespace.
- 400 Bad Request: Invalid namespace or label selector.
Streams real-time updates of correlators using Server-Sent Events (SSE).
Endpoint: GET /api/v1/correlators/watch/sse
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors to filter the correlators. |
- 200 OK: Streams real-time updates using SSE.
- 400 Bad Request: Invalid label selector or request parameters.
Monitors a correlator and retrieves its real-time status.
Endpoint: GET /api/v1/correlators/{id}/monitor
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the correlator to monitor. |
- 200 OK: Returns the real-time status of the requested correlator.
- 404 Not Found: The correlator with the specified ID does not exist.
- 400 Bad Request: Invalid ID format.
Monitors a correlator using Server-Sent Events (SSE) to receive real-time updates.
Endpoint: GET /api/v1/correlators/{id}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the correlator to monitor. |
- 200 OK: Streams real-time updates using SSE for the requested correlator.
- 404 Not Found: The correlator with the specified ID does not exist.
- 400 Bad Request: Invalid ID format.
Updates specific fields of a correlator.
Endpoint: PATCH /api/v1/correlators/{id}
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the correlator to update. |
body |
object |
yes |
The fields to update in the correlator. |
- 200 OK: Returns the updated correlator.
- 404 Not Found: The correlator with the specified ID does not exist.
- 400 Bad Request: Invalid fields or request format.
Updates the status of a correlator.
Endpoint: PATCH /api/v1/correlators/{id}/status
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the correlator to update. |
status |
string |
yes |
The new status for the correlator. |
- 200 OK: Returns the updated status of the correlator.
- 404 Not Found: The correlator with the specified ID does not exist.
- 400 Bad Request: Invalid status or request format.
Deletes a correlator with the specified ID.
Endpoint: DELETE /api/v1/correlators/{id}
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the correlator to delete. |
- 204 No Content: The correlator was successfully deleted.
- 404 Not Found: The correlator with the specified ID does not exist.
- 400 Bad Request: Invalid ID format.
Creates a new document.
Endpoint: POST /api/v1/documents
Name | Type | Required | Description |
---|---|---|---|
document |
object |
yes |
The document data to be created. |
- 201 Created: Returns the created document.
- 400 Bad Request: Invalid document data or request format.
Retrieves a document with the specified ID.
Endpoint: GET /api/v1/documents/{id}
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the document to retrieve. |
- 200 OK: Returns the requested document.
- 404 Not Found: The document with the specified ID does not exist.
- 400 Bad Request: Invalid ID format.
Updates the contents of the document with the specified ID.
Endpoint: PUT /api/v1/documents/{id}
Name | Type | Required | Description |
---|---|---|---|
id |
string |
yes |
The ID of the document to update. |
content |
object |
yes |
The document's updated content. |
- 200 OK: Returns the updated document.
- 400 Bad Request: Invalid document ID or update content.
Retrieves a namespace with the specified name.
Endpoint: GET /api/v1/namespaces/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the namespace to retrieve. |
- 200 OK: Returns the requested namespace.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: The namespace with the specified name does not exist.
Lists matching namespaces based on label selectors.
Endpoint: GET /api/v1/namespaces
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a collection of matching namespaces.
- 400 Bad Request: Invalid label selectors or request format.
Lists matching namespaces with pagination support.
Endpoint: GET /api/v1/namespaces/list
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
maxResults |
ulong |
no |
The maximum number of results to list at once. |
continuationToken |
string |
no |
A token used to continue enumerating through matches. |
- 200 OK: Returns a paginated collection of matching namespaces.
- 400 Bad Request: Invalid label selectors, continuation token, or request format.
Watches for changes in matching namespaces.
Endpoint: GET /api/v1/namespaces/watch
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a stream of namespace watch events.
- 400 Bad Request: Invalid label selectors or request format.
Watches for changes in matching namespaces and streams updates using Server-Sent Events (SSE).
Endpoint: GET /api/v1/namespaces/watch/sse
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Streams namespace watch events in SSE format.
- 400 Bad Request: Invalid label selectors or request format.
Monitors a specific namespace for changes.
Endpoint: GET /api/v1/namespaces/{name}/monitor
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the namespace to monitor. |
- 200 OK: Returns a stream of namespace monitor events.
- 404 Not Found: The namespace with the specified name does not exist.
Monitors a specific namespace and streams updates using Server-Sent Events (SSE).
Endpoint: GET /api/v1/namespaces/{name}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the namespace to monitor. |
- 200 OK: Streams namespace monitor events in SSE format.
- 404 Not Found: The namespace with the specified name does not exist.
Patches the specified namespace.
Endpoint: PATCH /api/v1/namespaces/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the namespace to patch. |
patch |
object |
yes |
The patch to apply to the namespace. |
resourceVersion |
string |
no |
The expected namespace version for optimistic concurrency. |
- 200 OK: Returns the patched namespace.
- 400 Bad Request: Invalid patch data or request format.
- 404 Not Found: The namespace with the specified name does not exist.
Patches the status of the specified namespace.
Endpoint: PATCH /api/v1/namespaces/{name}/status
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the namespace to patch the status of. |
patch |
object |
yes |
The patch to apply to the namespace's status. |
resourceVersion |
string |
no |
The expected namespace version for optimistic concurrency. |
- 200 OK: Returns the namespace with the updated status.
- 400 Bad Request: Invalid patch data or request format.
- 404 Not Found: The namespace with the specified name does not exist.
Deletes the namespace with the specified name.
Endpoint: DELETE /api/v1/namespaces/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the namespace to delete. |
- 200 OK: Returns the deleted namespace.
- 404 Not Found: The namespace with the specified name does not exist.
- 400 Bad Request: Invalid request or validation problem.
Retrieves an operator with the specified name and namespace.
Endpoint: GET /api/v1/operators/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the operator. |
namespace |
string |
yes |
The namespace the operator belongs to. |
- 200 OK: Returns the requested operator.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: The operator with the specified name and namespace does not exist.
Lists matching operators based on optional label selectors.
Endpoint: GET /api/v1/operators
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a collection of matching operators.
- 400 Bad Request: Invalid label selectors or request format.
Lists operators in a specified namespace.
Endpoint: GET /api/v1/operators/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list operators in. |
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a collection of operators in the specified namespace.
- 400 Bad Request: Invalid label selectors or request format.
Lists matching operators with pagination support.
Endpoint: GET /api/v1/operators/list
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
maxResults |
ulong |
no |
The maximum number of results to list at once. |
continuationToken |
string |
no |
A token used to continue enumerating through matches. |
- 200 OK: Returns a paginated collection of matching operators.
- 400 Bad Request: Invalid label selectors, continuation token, or request format.
Lists operators in a specified namespace with pagination support.
Endpoint: GET /api/v1/operators/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list operators in. |
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
maxResults |
ulong |
no |
The maximum number of results to list at once. |
continuationToken |
string |
no |
A token used to continue enumerating through matches. |
- 200 OK: Returns a paginated collection of operators in the specified namespace.
- 400 Bad Request: Invalid label selectors, continuation token, or request format.
Watches for changes in matching operators.
Endpoint: GET /api/v1/operators/watch
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a stream of operator watch events.
- 400 Bad Request: Invalid label selectors or request format.
Watches for changes in operators within a specified namespace.
Endpoint: GET /api/v1/operators/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch operators in. |
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a stream of operator watch events in the specified namespace.
- 400 Bad Request: Invalid label selectors or request format.
Watches for changes in matching operators and streams updates using Server-Sent Events (SSE).
Endpoint: GET /api/v1/operators/watch/sse
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Streams operator watch events in SSE format.
- 400 Bad Request: Invalid label selectors or request format.
Monitors a specific operator for changes.
Endpoint: GET /api/v1/operators/{namespace}/{name}/monitor
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the operator to monitor. |
namespace |
string |
yes |
The namespace of the operator to monitor. |
- 200 OK: Returns a stream of operator monitor events.
- 404 Not Found: The operator with the specified name and namespace does not exist.
Monitors a specific operator and streams updates using Server-Sent Events (SSE).
Endpoint: GET /api/v1/operators/{namespace}/{name}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the operator to monitor. |
namespace |
string |
yes |
The namespace of the operator to monitor. |
- 200 OK: Streams operator monitor events in SSE format.
- 404 Not Found: The operator with the specified name and namespace does not exist.
Patches the specified operator.
Endpoint: PATCH /api/v1/operators/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the operator to patch. |
namespace |
string |
yes |
The namespace of the operator to patch. |
patch |
object |
yes |
The patch to apply to the operator. |
resourceVersion |
string |
no |
The expected operator version for optimistic concurrency. |
- 200 OK: Returns the patched operator.
- 400 Bad Request: Invalid patch data or request format.
- 404 Not Found: The operator with the specified name and namespace does not exist.
Patches the status of the specified operator.
Endpoint: PATCH /api/v1/operators/{namespace}/{name}/status
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the operator to patch the status of. |
namespace |
string |
yes |
The namespace of the operator to patch the status of. |
patch |
object |
yes |
The patch to apply to the operator's status. |
resourceVersion |
string |
no |
The expected operator version for optimistic concurrency. |
- 200 OK: Returns the operator with the updated status.
- 400 Bad Request: Invalid patch data or request format.
- 404 Not Found: The operator with the specified name and namespace does not exist.
Deletes the operator with the specified name and namespace.
Endpoint: DELETE /api/v1/operators/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the operator to delete. |
namespace |
string |
yes |
The namespace of the operator to delete. |
- 200 OK: Returns the deleted operator.
- 404 Not Found: The operator with the specified name and namespace does not exist.
- 400 Bad Request: Invalid request or validation problem.
Retrieves a service account with the specified name and namespace.
Endpoint: GET /api/v1/service-accounts/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the service account. |
namespace |
string |
yes |
The namespace the service account belongs to. |
- 200 OK: Returns the requested service account.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: The service account with the specified name and namespace does not exist.
Lists matching service accounts based on optional label selectors.
Endpoint: GET /api/v1/service-accounts
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a collection of matching service accounts.
- 400 Bad Request: Invalid label selectors or request format.
Lists service accounts in a specified namespace.
Endpoint: GET /api/v1/service-accounts/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list service accounts in. |
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a collection of service accounts in the specified namespace.
- 400 Bad Request: Invalid label selectors or request format.
Lists matching service accounts with pagination support.
Endpoint: GET /api/v1/service-accounts/list
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
maxResults |
ulong |
no |
The maximum number of results to list at once. |
continuationToken |
string |
no |
A token used to continue enumerating through matches. |
- 200 OK: Returns a paginated collection of matching service accounts.
- 400 Bad Request: Invalid label selectors, pagination parameters, or request format.
Watches for changes in service accounts based on optional label selectors.
Endpoint: GET /api/v1/service-accounts/watch
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a stream of events indicating changes to service accounts.
- 400 Bad Request: Invalid label selectors or request format.
Watches for changes in service accounts within a specified namespace.
Endpoint: GET /api/v1/service-accounts/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch for service accounts. |
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Returns a stream of events indicating changes to service accounts in the specified namespace.
- 400 Bad Request: Invalid label selectors or request format.
Streams updates for service accounts using Server-Sent Events (SSE).
Endpoint: GET /api/v1/service-accounts/watch/sse
Name | Type | Required | Description |
---|---|---|---|
labelSelector |
string |
no |
A comma-separated list of label selectors, if any. |
- 200 OK: Streams updates for service accounts as Server-Sent Events.
- 400 Bad Request: Invalid label selectors or request format.
Monitors a specific service account for changes.
Endpoint: GET /api/v1/service-accounts/{name}/monitor
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the service account to monitor. |
- 200 OK: Returns a stream of events indicating changes to the specified service account.
- 404 Not Found: The service account with the specified name does not exist.
Streams updates for a specific service account using Server-Sent Events (SSE).
Endpoint: GET /api/v1/service-accounts/{name}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the service account to monitor. |
- 200 OK: Streams updates for the specified service account as Server-Sent Events.
- 404 Not Found: The service account with the specified name does not exist.
Patches the specified service account with updated data.
Endpoint: PATCH /api/v1/service-accounts/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the service account to patch. |
namespace |
string |
yes |
The namespace the service account belongs to. |
patch |
object |
yes |
The patch to apply to the service account. |
resourceVersion |
string |
no |
The expected resource version, if any, used for optimistic concurrency. |
- 200 OK: Returns the updated service account.
- 400 Bad Request: Invalid patch data or request format.
Patches the status of the specified service account.
Endpoint: PATCH /api/v1/service-accounts/{namespace}/{name}/status
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the service account to patch. |
namespace |
string |
yes |
The namespace the service account belongs to. |
patch |
object |
yes |
The patch to apply to the service account's status. |
resourceVersion |
string |
no |
The expected resource version, if any, used for optimistic concurrency. |
- 200 OK: Returns the updated service account status.
- 400 Bad Request: Invalid patch data or request format.
Deletes the service account with the specified name and namespace.
Endpoint: DELETE /api/v1/service-accounts/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the service account to delete. |
namespace |
string |
yes |
The namespace the service account belongs to. |
- 200 OK: Returns a confirmation of the deletion.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: The service account with the specified name and namespace does not exist.
Retrieves the profile of the current user.
Endpoint: GET /api/v1/users/profile
None.
- 200 OK: Returns the current user's profile.
- 401 Unauthorized: Authentication is required to access this resource.
Lists all workflow instances within a specified namespace.
Endpoint: GET /api/v1/workflow-instances/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflow instances from. |
- 200 OK: Returns a list of workflow instances.
- 400 Bad Request: Invalid request or validation problem.
Retrieves a workflow instance with the specified name and namespace.
Endpoint: GET /api/v1/workflow-instances/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow instance. |
namespace |
string |
yes |
The namespace the workflow instance belongs to. |
- 200 OK: Returns the requested workflow instance.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow instance not found.
Lists all workflow instances within a specified namespace.
Endpoint: GET /api/v1/workflow-instances/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflow instances from. |
- 200 OK: Returns a list of workflow instances.
- 400 Bad Request: Invalid request or validation problem.
Lists workflow instances within a specified namespace with pagination support.
Endpoint: GET /api/v1/workflow-instances/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflow instances from. |
maxResults |
number |
no |
The maximum number of results to return. |
continuationToken |
string |
no |
Token for continuing through paginated results. |
- 200 OK: Returns a paginated list of workflow instances.
- 400 Bad Request: Invalid request or validation problem.
Lists workflow instances within a specified namespace with pagination support.
Endpoint: GET /api/v1/workflow-instances/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflow instances from. |
maxResults |
number |
no |
The maximum number of results to return. |
continuationToken |
string |
no |
Token for continuing through paginated results. |
- 200 OK: Returns a paginated list of workflow instances.
- 400 Bad Request: Invalid request or validation problem.
Streams updates for workflow instances within a specified namespace.
Endpoint: GET /api/v1/workflow-instances/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch workflow instances from. |
- 200 OK: Returns a stream of workflow instance updates.
- 400 Bad Request: Invalid request or validation problem.
Streams updates for workflow instances within a specified namespace.
Endpoint: GET /api/v1/workflow-instances/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch workflow instances from. |
- 200 OK: Returns a stream of workflow instance updates.
- 400 Bad Request: Invalid request or validation problem.
Streams updates for workflow instances within a specified namespace using Server-Sent Events (SSE).
Endpoint: GET /api/v1/workflow-instances/{namespace}/watch/sse
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch workflow instances from. |
- 200 OK: Returns a stream of workflow instance updates in SSE format.
- 400 Bad Request: Invalid request or validation problem.
Monitors a specific workflow instance within a namespace.
Endpoint: GET /api/v1/workflow-instances/{namespace}/{name}/monitor
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow instance to monitor. |
namespace |
string |
yes |
The namespace the workflow instance belongs to. |
- 200 OK: Returns a stream of monitoring data for the workflow instance.
- 400 Bad Request: Invalid request or validation problem.
Monitors a specific workflow instance within a namespace using Server-Sent Events (SSE).
Endpoint: GET /api/v1/workflow-instances/{namespace}/{name}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow instance to monitor. |
namespace |
string |
yes |
The namespace the workflow instance belongs to. |
- 200 OK: Returns a stream of monitoring data for the workflow instance in SSE format.
- 400 Bad Request: Invalid request or validation problem.
Patches a specific workflow instance within a namespace.
Endpoint: PATCH /api/v1/workflow-instances/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow instance to patch. |
namespace |
string |
yes |
The namespace the workflow instance belongs to. |
patch |
object |
yes |
The patch details for updating the workflow instance. |
resourceVersion |
string |
no |
The expected resource version for optimistic concurrency. |
- 200 OK: Returns the updated workflow instance.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow instance not found.
Patches the status of a specific workflow instance within a namespace.
Endpoint: PATCH /api/v1/workflow-instances/{namespace}/{name}/status
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow instance to patch the status of. |
namespace |
string |
yes |
The namespace the workflow instance belongs to. |
patch |
object |
yes |
The patch details for updating the workflow instance's status. |
resourceVersion |
string |
no |
The expected resource version for optimistic concurrency. |
- 200 OK: Returns the updated workflow instance with the new status.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow instance not found.
Deletes a specific workflow instance within a namespace.
Endpoint: DELETE /api/v1/workflow-instances/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow instance to delete. |
namespace |
string |
yes |
The namespace the workflow instance belongs to. |
- 200 OK: Returns a confirmation of the deletion.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow instance not found.
Lists all workflows within a specified namespace.
Endpoint: GET /api/v1/workflows/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflows from. |
- 200 OK: Returns a list of workflows.
- 400 Bad Request: Invalid request or validation problem.
Retrieves a workflow with the specified name and namespace.
Endpoint: GET /api/v1/workflows/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow. |
namespace |
string |
yes |
The namespace the workflow belongs to. |
- 200 OK: Returns the requested workflow.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow not found.
Lists all workflows within a specified namespace.
Endpoint: GET /api/v1/workflows/{namespace}
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflows from. |
- 200 OK: Returns a list of workflows.
- 400 Bad Request: Invalid request or validation problem.
Lists workflows within a specified namespace with pagination support.
Endpoint: GET /api/v1/workflows/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflows from. |
maxResults |
number |
no |
The maximum number of results to return. |
continuationToken |
string |
no |
Token for continuing through paginated results. |
- 200 OK: Returns a paginated list of workflows.
- 400 Bad Request: Invalid request or validation problem.
Lists workflows within a specified namespace with pagination support.
Endpoint: GET /api/v1/workflows/{namespace}/list
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to list workflows from. |
maxResults |
number |
no |
The maximum number of results to return. |
continuationToken |
string |
no |
Token for continuing through paginated results. |
- 200 OK: Returns a paginated list of workflows.
- 400 Bad Request: Invalid request or validation problem.
Streams updates for workflows within a specified namespace.
Endpoint: GET /api/v1/workflows/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch workflows from. |
- 200 OK: Returns a stream of workflow updates.
- 400 Bad Request: Invalid request or validation problem.
Streams updates for workflows within a specified namespace.
Endpoint: GET /api/v1/workflows/{namespace}/watch
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch workflows from. |
- 200 OK: Returns a stream of workflow updates.
- 400 Bad Request: Invalid request or validation problem.
Streams updates for workflows within a specified namespace using Server-Sent Events (SSE).
Endpoint: GET /api/v1/workflows/{namespace}/watch/sse
Name | Type | Required | Description |
---|---|---|---|
namespace |
string |
yes |
The namespace to watch workflows from. |
- 200 OK: Returns a stream of workflow updates in SSE format.
- 400 Bad Request: Invalid request or validation problem.
Monitors a specific workflow within a namespace.
Endpoint: GET /api/v1/workflows/{namespace}/{name}/monitor
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow to monitor. |
namespace |
string |
yes |
The namespace the workflow belongs to. |
- 200 OK: Returns a stream of monitoring data for the workflow.
- 400 Bad Request: Invalid request or validation problem.
Monitors a specific workflow within a namespace using Server-Sent Events (SSE).
Endpoint: GET /api/v1/workflows/{namespace}/{name}/monitor/sse
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow to monitor. |
namespace |
string |
yes |
The namespace the workflow belongs to. |
- 200 OK: Returns a stream of monitoring data for the workflow in SSE format.
- 400 Bad Request: Invalid request or validation problem.
Patches a specific workflow within a namespace.
Endpoint: PATCH /api/v1/workflows/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow to patch. |
namespace |
string |
yes |
The namespace the workflow belongs to. |
patch |
object |
yes |
The patch details for updating the workflow. |
resourceVersion |
string |
no |
The expected resource version for optimistic concurrency. |
- 200 OK: Returns the updated workflow.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow not found.
Patches the status of a specific workflow within a namespace.
Endpoint: PATCH /api/v1/workflows/{namespace}/{name}/status
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow to patch the status of. |
namespace |
string |
yes |
The namespace the workflow belongs to. |
patch |
object |
yes |
The patch details for updating the workflow's status. |
resourceVersion |
string |
no |
The expected resource version for optimistic concurrency. |
- 200 OK: Returns the updated workflow with the new status.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow not found.
Deletes a specific workflow within a namespace.
Endpoint: DELETE /api/v1/workflows/{namespace}/{name}
Name | Type | Required | Description |
---|---|---|---|
name |
string |
yes |
The name of the workflow to delete. |
namespace |
string |
yes |
The namespace the workflow belongs to. |
- 200 OK: Returns a confirmation of the deletion.
- 400 Bad Request: Invalid request or validation problem.
- 404 Not Found: Workflow not found.
All endpoints may return the following error responses:
- 400 Bad Request: Invalid request, validation errors, or invalid label selector.
- 404 Not Found: The specified correlation or namespace was not found.