Skip to main content
Documentation

Actor API

Actions in the actor namespace of the Nexigon Hub API.

actor_GetActor

POST/api/v1/actions/invoke/actor_GetActor

Get the actor.

This action is used to get the actor that is used to invoke the action.

Request GetActorAction

No fields.

Response GetActorOutput

  • actorrequired

    The actor.

    Actor
    • Anonymous

      An anonymous, unauthenticated actor.

      { "actor": "Anonymous", ...<payload fields> } β€” or "content" for non-object payloads

      AnonymousActor

      No fields.

    • System

      The system itself, typically used for internal actions.

      { "actor": "System", ...<payload fields> } β€” or "content" for non-object payloads

      SystemActor

      No fields.

    • Device

      A device authenticated via a specific deployment token.

      { "actor": "Device", ...<payload fields> } β€” or "content" for non-object payloads

      DeviceActor
      • deviceId(from device_id)required

        ID of the device.

        DeviceIdstring
      • tokenId(from token_id)required

        ID of the deployment token used for authentication.

        DeploymentTokenIdstring
    • User

      A user typically authenticated via a user session.

      { "actor": "User", ...<payload fields> } β€” or "content" for non-object payloads

      UserActor
      • userId(from user_id)required

        ID of the user.

        UserIdstring
    • UserToken

      A user authenticated via a specific token.

      { "actor": "UserToken", ...<payload fields> } β€” or "content" for non-object payloads

      UserTokenActor
      • userId(from user_id)required

        ID of the user.

        UserIdstring
      • tokenId(from token_id)required

        ID of the user token used for authentication.

        UserTokenIdstring
    • ClusterNode

      A cluster node.

      { "actor": "ClusterNode", ...<payload fields> } β€” or "content" for non-object payloads

      ClusterNodeActor
      • nodeId(from node_id)required

        ID of the cluster node.

        ClusterNodeIdstring
    • OrganizationApiToken

      An organization API token.

      { "actor": "OrganizationApiToken", ...<payload fields> } β€” or "content" for non-object payloads

      OrganizationApiTokenActor
      • organizationId(from organization_id)required

        ID of the organization.

        OrganizationIdstring
      • tokenId(from token_id)required

        ID of the API token.

        OrganizationApiTokenIdstring