Open jhsoby opened 6 years ago
this was new to me – good that you could make a new folder for the time being. I'm passing this on to KulturIT, it seems that "list" is not the same as "folder".
@Ambrosiani – any updates on this issue?
lists (i.e. folders created directly in Digitalt Museum) are not available through the API at this time. Only folders (created in Primus and published on Digitalt Museum). Will doublecheck this with KulturIT once more.
detailed reply:
Mappe/liste laget og publisert fra Primus Har UUID & dimukode Er koblet til en eier API-søk (filtrerer bort intern-eier): https://api.dimu.org/api/solr/select?q=*&wt=json&api.key=demo&fq=artifact.type:Folder&fq=-identifier.owner:(I-DM%20OR%20I-S-DM)
Mappe/liste fra DM, opprettet på en eier Har UUID & dimukode Er koblet til intern-eier (I-DM/I-S-DM) API-søk (inkluderer norsk & svensk intern-eier): https://api.dimu.org/api/solr/select?q=*&wt=json&api.key=demo&fq=artifact.type:Folder&fq=identifier.owner:(I-DM%20OR%20I-S-DM)
Vanlig mappe (privatperson) fra DM Ikke søkbar
Ditt eksempel er nok en privat mappe som vi har vurdert at ikke skal være søkbare. De får ikke UUID/DiMukode og er ikke tilgjengelig i index. Dersom mappen kommer fra Primus eller er en såkalt "museumsmappe" fra DigitaltMuseum vil det fungere.
Hi, we're just starting to look into the script for Vestfoldmuseene! Yay!
One thing we found right off the bat was that the folder IDs that are needed in the settings.json are not always readily available. This folder is the one we originally planned on testing against, but the script requires a numeric folder ID. We circumvented this by using this folder instead.
The difference between the two folders is that the former was created directly in Digitalt museum, while the latter was created in Primus and then imported to Digitalt museum, and they clearly have different IDs (the former using "list/dmuu" in the URL and the latter using "021096756963" in the URL). Is there already a way to use the former version, or are some changes needed?