Code Scanning REST API: what type is the closed_by field?

In the example responses for the Code Scanning v3 API, all of the example responses are for open issues, so closed_by is just null. If the alert was closed, what is the type of the closed_by field? Would it be a string with the username, or a user object similar to the closed_by field in the examples for the issues api?

The response I got from GH support was that it is the same response as for the user field for this pull request example at: https://developer.github.com/v3/pulls/#response-2

1 Like