I tried to access REST API to get content for a page with/wiki/rest/api/content/{pageId}?expand=body.storage and in its body field, I can see macros are available but not all macros are assigned with macro-id or macro tag name like table, date macros does not come with a macro id in body value.
So I was looking if there is any rest end point or cql query with which we can fetch all the macros for a page or blog or comment etc. or is there any identification tag in a body value of a content that says that a particular field is a macro type?