Skip to content

Parse reviewed event object state property returned by Timeline Events API #1885

@ghost

Description

The Timeline Events API can return a reviewed event object when listing events for a pull request. One of the properties of this object is state, which tells you the state of a submitted review.

The values state can have are:

  • commented
  • changes_requested
  • approved

I'd like to add this field to the Timeline struct defined in issues_timeline.go to make it possible to tell the state of a review when listing pull request events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions