noark5_filter_entities
Filter archive entities in a specific collection using OData $filter expressions to retrieve precise field-level matches.
Instructions
List or filter entities from a specific collection URL using OData $filter.
Operates on one collection at a time with full OData expression support. Use this when you have a known collection URL from noark5_entity_links or noark5_list_children and need precise field-level filtering.
Contrast with noark5_search_entities, which searches globally across all entity types using $search (title/text matching) — optionally combined with $filter for additional constraints.
Common filter examples:
Filter by MIME type: 'mimetype eq ''application/epub+zip'''
Filter by title substring: 'contains(tittel, ''MyArchive'')'
Multiple conditions: 'mimetype eq ''application/pdf'' and contains(filnavn, ''report'')'
Args: collection_url: The base URL of the collection endpoint (without {?$filter}). E.g., from noark5_entity_links query template "base" URLs. filter_str: Optional OData $filter expression. Leave empty to list all entities.
Returns formatted list with systemID, title, and URL for each matching entity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_str | No | ||
| collection_url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |