Resource functions
Collection functions
Search functions
IIIF
Metadata functions
User functions
System
Message functions
Plugin functions

consentmanager_get_all_consents_by_collection

Fetch all consent records linked to resources in a collection.

Variable Description Data type
$collection *
The ID of the collection containing the resources for which to retrieve consent records.
int

Return values

JSON containing the consent metadata else false.