How can I get the itemTypeId a long with item data?

Hi,

I use GraphQL (REST) to consume data from DatoCMS.
How can I get the itemTypeId a long with item data?

With below query, I can have _modelApiKey (which is “article”), but it is not enough.

{
    list: allArticles {
        id    
        title
        __typename
        _modelApiKey
    }  
}

The intention is I want to support Admin/Editor , when viewing the content in visitor mode, can go directly to the edit panel inside DatoCms of the specific content via link like this

https://tennishanoicom.admin.datocms.com/editor/item_types/180236/items/2259750/edit
where 180236 is itemTypeId, and 2259750 is contentId.

With years of developing CMS, I feel this is a good fit for DatoCMS API in general

Hello @developer welcome to Community!

Thank you for your suggestion, I agree that it makes sense. We would need to add that information to our GraphQL API as currently it’s not exposed.

I’ll note that internally so that when we get a chance we add that and get back to you.