krapio
Library referenceTypes

AppAction

type AppAction = {
  action_id: string;
  created_at: string;
  decided_at?: string;
  expires_at: string;
  result?: unknown;
  result_status?: number;
  status: AppActionStatus;
  summary: Record<string, unknown>;
  type: string;
};

GET /app/v1/actions/:action_id, kept for 24 hours

Properties

PropertyTypeDescription
action_idstring-
created_atstring-
decided_at?string-
expires_atstring-
result?unknownthe body the direct call would have returned (approved) or its error body (failed)
result_status?numberthe http status of the call, once the action has run
statusAppActionStatus-
summaryRecord<string, unknown>what the player was shown
typestringe.g. follow.remove

On this page