Get same information from GraphQL API as from REST Api


with the following REST Api call I get an package ID like "id": 206778:

curl \
  -H "Authorization: token ${GITHUB_TOKEN}" \
  -H "Accept: application/vnd.github.v3+json" \

With the GraphQL Api I get an ID like this "id":"P_kwAO7IP0aM4ADdYa":

query {
  organization(login: "ORG") {
    packages(packageType: NPM, names: ["PACKAGE_NAME"], first: 1) {
      nodes {
        latestVersion {

Is it possible to get the same short number ID from the REST Api also with the GraphQL Api? I need explicitly this short ID.