Skip to content

Add export button for target list [Frontend] #2913

@SaladDay

Description

@SaladDay

Description:
Add frontend implementation for the target export feature.
Backend API has been implemented in PR #2912

Tasks:

  • Add "Export" button in target list page
  • Call /api/v1/targets/export endpoint with current filter parameters
  • Trigger file download when API responds

API Details:

  • Endpoint: GET /api/v1/targets/export
  • Supports query parameters: gids, query, downtime, dsIds, order, desc, hosts
  • Returns: csv file with UTF-8 BOM

Related to #2781

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions