Skip to content

POST Bulk events on Key Event API #310

@AndreiAlexandruParaschiv

Description

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When creating a key event, I would like to be able to post more events per site/ multi events, instead of making each time a POST request per event

Describe the solution you'd like
A clear and concise description of what you want to happen.

The API should accept a multi-object array

POST sites/{siteId}/key-events
Body:

[{
  "name": "Broken Internal Links",
  "type": "seo",
  "time": "2024-02-23T12:28:00.000Z"
}
,{
  "name": "FIX:Broken Links",
  "type": "seo",
  "time": "2024-03-23T19:28:00.000Z"
}] 

Currently, this fails with 500 ( "message": "Required field "name" is missing")

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions