Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 3

What is the difference between ID and databaseID?

Solved! Go to Solution.

Hello,

 

I am starting a new integration with GitHub API v4 (the one using GraphQL).

 

I see for example that the User and Repository objects have the fields `id` and `databaseid`.

 

What is the difference between them?

Which should I use?

 

Thanks

2 Replies
Copilot Lvl 3
Message 2 of 3

Re: What is the difference between ID and databaseID?

Hi,

 

so many views and no one can help on this question ?!?


 ¯\_(ツ)_/¯

Solution
Ground Controller Lvl 1
Message 3 of 3

Re: What is the difference between ID and databaseID?

typeapi v3api v4Exemple
int (8)iddatabaseId12345678
String (20)node_ididMD96VXZlcjU0Mpd4NTY0
On API v4, you should use id which is the main id for graphQL.