noark5_get_root_links
Retrieve root API links after authentication to reveal top-level navigation endpoints (arkivstruktur, sakarkiv, metadata) and discover available HATEOAS relations for further entity exploration.
Instructions
Get the root API links using authenticated client.
Returns all available relations from the API root, including those that require authentication (arkivstruktur/, metadata/, sakarkiv/). After login, this reveals top-level navigation endpoints.
To find global entity collections, follow the arkivstruktur or sakarkiv link to its URL, then use noark5_entity_links on that URL to discover OData query templates for each entity type (e.g., dokumentobjekt/{?$filter}). The cleaned base URLs can be passed to noark5_filter_entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |