The important method when going after the data sources (Datakilde) is ResourceCategoryHandle as defined in /rest/resourcecategories, where we see that there are a number of different kinds of resources:
Thus, the ResourceCategoryHandle for aÂ Datakilde is 150102, which shows that the Datakilde metadata is:
- Maskinlæsbar / Machine Readable
- Publiceringsmetode /Publishing Method
- Dataejer / Dataowner
- Betingelser / Use Terms
Note that this specific resource metadata is currently not available through the API! (confirmed)
A Datakilde’s primary data is retrieved via its ID: /resources/392860. The output includes these data elements:
While the primary data is useful, and enough for many purposes, the unavailability of the metadata is a critical flaw in the current implementation (can’t check if a source is machine readable).
The web front end (example) offers the metadata (in a way that makes it hard to scrape). In the example, you may have noticed a reference to FORM, the business reference model. It is unfortunately only very few Data Sources that are using such a reference. Just as well, because where it is used, it uses an outdated TaxonomyNodeHandle, linking to the old version 1.3 of FORM.