Skip to content

bug: Webhook is not triggered using the REST API Query Endpoint #8648

@marcom4rtinez

Description

@marcom4rtinez

Component

API Server / GraphQL

Infrahub version

v1.8.0

Current Behavior

Doing mutations using either /api/query/{query_id} GET or POST endpoint doesn't trigger webhooks, even if data is created or altered

Expected Behavior

Trigger webhooks just like graphql sandbox mutations trigger webhooks

Steps to Reproduce

  1. upload a mutation query
  2. trigger it using the endpoint /api/query/{query_id}
  3. Observe if the webhook is triggered in tasks

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    state/need-triageThis issue needs to be triagedtype/bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions