Ackee icon indicating copy to clipboard operation
Ackee copied to clipboard

Query event actions via GraphQL

Open ThomasOrlita opened this issue 4 years ago • 1 comments

Would it be possible to query all actions of an event?

Something like:

query getEventWithActions($eventId: ID!) {
    event(id: $eventId) {
        id
        title
        actions() {
            id
            key
            value
        }
    }
}

which would return the event details with a list of its actions.

ThomasOrlita avatar May 01 '21 21:05 ThomasOrlita

It's currently not possible, but it would be a helpful feature for tools using the API. I would like to see the same for records.

If someone wants to create a PR: This needs to be a cursor based paginated list, because of the amount of items and because the number of items is constantly growing. A offset based pagination wouldn't work.

electerious avatar Jun 12 '21 08:06 electerious