Sdk

Actions

Trigger server-side actions (bulk operations).

Actions

Actions run backend logic on a resource.

  • Endpoint: POST {baseRoute}/actions/{actionUriKey}
  • Body: { "fields": [ { "name": "...", "value": "..." } ] }
final res = await repo.actions(
  actionUriKey: 'expire-items',
  data: LaravelRestApiActionsBody(
    fields: [
      Action(name: 'expires_at', value: '2025-12-31'),
    ],
  ),
);

print(res.data); // impacted