I want to get all lists from subsites etc. based on their content type with REST Api. For particular list ("ProjectList") this works:
/_api/Web/lists/GetByTitle('ProjectList')/Items?
$select=ContentType/Name&$expand=ContentType&$filter=ContentType eq
'Message'`
But how will I be able to retrieve ALL lists, including subpages etc. by their content type?
I have tried:
/_api/Web/lists/Items?
$select=ContentType/Name&$expand=ContentType&$filter=ContentType eq
'Message'`
Without luck.