getAction

@GET(value = "/namespaces/{namespace}/actions/{action}")
abstract fun getAction(@Path(value = "namespace") namespace: Namespace, @Path(value = "action") action: ActionName, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<Action>

Retrieves a specific action.

Return

A Call object representing the API call that can be executed asynchronously.

Parameters

namespace

The namespace of the action.

action

The name of the action.

correlationId

The correlation ID for tracking the request (optional, defaults to a random UUID).