GraphQL API, PublicKey object and the "title" field

I’m in the process of reimplementing GitHub integration in my application to use GraphQL API exclusively. For that, I need to obtain a list of the public SSH keys for the authenticated user’s GitHub account. And I need descriptive title field of each key as well. That field is available in the REST API at

GET /user/keys

but according to GraphQL API v4 PublicKey specification, it isn’t available in the GraphQL API. I don’t really see the reason for that, as that information is quite convinient when presenting list of public SSH keys for the user in a 3rd party application.

Is this the right place to request an API change and addition of the title field?

Thanks,

– Dragan

Hi @milke,

Thanks for this feedback! This is the right place. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration.

Hi there, just pinging… Any progress with this?

And while on subject of public keys, any chance of having mutations to create and delete public keys? I don’t see those possibilities in the GraphQL API specification.