Correct rel and _links for ny-arkiv?

Thomas Sødring thomas.sodring at hioa.no
Mon Feb 6 14:14:08 CET 2017


On 02/06/2017 01:29 PM, Petter Reinholdtsen wrote:
> [Thomas Sødring]
>> Taking a look at this I think I've mixed up the rels for advertising
>> arkivstrutur:
>>
>>  http://rel.kxml.no/noark5/v4/api/arkivstruktur/
>>
>> with the rel used when creating a new fonds object:
>>
>>  http://rel.kxml.no/noark5/v4/api/administrasjon/ny-arkiv/
>>  http://rel.kxml.no/noark5/v4/api/arkivstruktur/ny-arkiv/
>>
>> It's an easy fix, but I'll do it as described below.
> Right.  I added a test to check all rel links, and found a few that seem
> to be missing in the specification.
>
> http://rel.kxml.no/noark5/v4/api/administration/ny-arkiv
> http://rel.kxml.no/noark5/v4/api/arkivstruktur/klassifikasjonsystem
> http://rel.kxml.no/noark5/v4/api/arkivstrukturbasisregistrering
> http://rel.kxml.no/noark5/v4/api/arkivstrukturdokumentbeskrivelse
> http://rel.kxml.no/noark5/v4/api/arkivstrukturdokumentobjekt
>
> Typos?  I suspect they should look like this (with or without trailing
> slash):
>
> http://rel.kxml.no/noark5/v4/api/arkivstruktur/ny-arkiv
> http://rel.kxml.no/noark5/v4/api/arkivstruktur/klassifikasjonssystem
> http://rel.kxml.no/noark5/v4/api/arkivstruktur/basisregistrering
> http://rel.kxml.no/noark5/v4/api/arkivstruktur/dokumentbeskrivelse
> http://rel.kxml.no/noark5/v4/api/arkivstruktur/dokumentobjekt
>
> Should I try to fix them in master?
>
That's a good idea. Yes, go ahead and fix! It will be nice to see other
people committing :)


More information about the nikita-noark mailing list