Updated version 0.1 of Nikita - interface update

Thomas Sødring thomas.sodring at hioa.no
Tue Jan 31 15:18:48 CET 2017


On 01/31/2017 03:17 PM, Thomas Sødring wrote:
> On 01/31/2017 02:59 PM, Petter Reinholdtsen wrote:
>> [Thomas Sødring]
>>> I have added some code that now ensures the core publishes the services
>>> it supports. This is as per the Noark 5v4 standard and what Petter has
>>> been testing.
>> Very good!
>>
>>> Hopefully this is the last thing that has to be done for the 0.1 release
>>> and we can now progress with a branch for 0.2. Let me know if you find
>>> any problems.
>> Recursing over "http://n5test.kxml.no/api/" lead me to
>> <URL: http://n5test.kxml.no/api/arkivstruktur/arkiv{?$filter&$orderby&$top&$skip&$search} >
>> which return this json document:
>>
>> {"_links":[{"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/arkiv",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/arkiv{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/administrasjon/ny-arkivskaper",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/ny-arkivskaper",
>> "templated":false},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/arkivskaper",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/arkivskaper{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/arkivdel",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/arkivdel{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/klassifikasjonssystem",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/klassifikasjonssystem{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/klasse",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/klasse{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/mappe",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/mappe{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/registrering",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/registrering{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/basisregistrering",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/basisregistrering{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/dokumentbeskrivelse",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/dokumentbeskrivelse{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true},
>> {"rel":"http://rel.kxml.no/noark5/v4/api/arkivstruktur/dokumentobjekt",
>> "href":"http://n5test.kxml.no/api/arkivstruktur/dokumentobjekt{?$filter&$orderby&$top&$skip&$search}",
>> "templated":true}]}
>>
>> Doing the same for
>> <URL: http://localhost:8092/noark5v4/hateoas-api/arkivstruktur/arkiv/ >
>> return this json document:
>>
>>   {
>>     "arkiv" : [ ]
>>   }
Don't forget to populate the database!



More information about the nikita-noark mailing list