Skip to content

No way to get WatchEvent created_date from GraphQL.  #16250

@JulinaM

Description

@JulinaM

Code of Conduct

What article on docs.github.com is affected?

If you go to link, the response has "created_at" field which is the timestamp when the repo was watched. But if we want to get the same event's created date from GraphQL, we get user's created date instead of watched date.

I hope this clarifies the explanation.
Screen Shot 2022-03-22 at 10 49 44 AM

What part(s) of the article would you like to see updated?

There's no reference to show.

Additional information

The "created_at" field in the nodes/edges with the "watcher" node returns the login_users' created date instead of the watched_date.

I checked out in the REST_API and it turns out that the "created_at" field returned in the REST_APIT is the expected watched event created date, however the graphQL doesn't.


edited by maintainer to add additional information posted in a comment below

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamgraphqlContent related to GraphQLwaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions