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

Query event actions via GraphQL #247

Open
ThomasOrlita opened this issue May 1, 2021 · 1 comment
Open

Query event actions via GraphQL #247

ThomasOrlita opened this issue May 1, 2021 · 1 comment

Comments

@ThomasOrlita
Copy link

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.

@electerious electerious changed the title GraphQL: Query event actions Query event actions via GraphQL Jun 12, 2021
@electerious
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants