Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to configure report(s) in bulk for given a list of sites #227

Open
iuliag opened this issue Mar 21, 2024 · 0 comments
Open

API to configure report(s) in bulk for given a list of sites #227

iuliag opened this issue Mar 21, 2024 · 0 comments
Labels
automation Request to automate an existing manual workflow enhancement New feature or request

Comments

@iuliag
Copy link
Contributor

iuliag commented Mar 21, 2024

Is your feature request related to a problem? Please describe.
Since we are using a phased approach for enabling auditing (specifically ahrefs-related) and reporting, we need an easy way non-engineers can configure reporting for sites or organizations, as they come into our pipeline.
Sometimes a customer can have tens of specific sites in an organization for which we need to enable reporting on a single channel, while for the rest of the sites reporting shouldn't be done. This requires us to perform tens of get - patch API calls manually.

Describe the solution you'd like
An API that, given:

  • a list of sites (baseURLs, not encoded)
  • organizationId
  • list of report types
  • slack channel ID and optionally user IDs
  • byOrg or not
    Configures reporting for all those sites accordingly.

Describe alternatives you've considered
Scripting that would actually do the same, but outside the API, and could be error-prone, like https://github.com/iuliag/spacecat-automation-tools

Asks that could have been solved by the feature
https://cq-dev.slack.com/archives/C05A45JBP9N/p1710871764208859

@iuliag iuliag added enhancement New feature or request automation Request to automate an existing manual workflow labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Request to automate an existing manual workflow enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant