The ProjectCard struct is currently still missing 4 attributes, which are returned from the Events API:
Name | Type | Description
-- | -- | --
project_card["project_id"] | string | The identification number of the project.
project_card["project_url"] | string | The API URL of the project.
project_card["column_name"] | string | The name of the column that the card is listed in.
project_card["previous_column_name"] | string | The name of the column that the card was listed in prior to聽column_name. Only returned for聽moved_columns_in_project events.
Note: after testing it I see that project_id is actually an integer and not a string, as stated in the documentation.
Related issue: https://github.com/google/go-github/issues/667
Thank you for the issue, @lovromazgon!
Would you mind contacting [email protected] and explaining the discrepancy and ask them to either comment or update their documentation?
I've contacted GitHub support and the field should indeed be an integer, they forwarded this to their Documentation team.
Excellent! Thank you very much, @lovromazgon !
I must mention that the support team at GitHub has consistently been a pleasure to work with and always extremely responsive and helpful to requests!
Most helpful comment
I've contacted GitHub support and the field should indeed be an integer, they forwarded this to their Documentation team.