Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Klasse has both ../klasse and ../underklasse links [71] #41

Open
henningjensen opened this Issue Nov 27, 2018 · 3 comments

Comments

4 participants
@henningjensen
Copy link
Collaborator

commented Nov 27, 2018

Following conclusion on Mappe:The klasse/ny-klasse means creating a "underklasse", providing a hierarchical structure.On the other objects, ny-klasse means creating a new "top-level" klasse.

Further, only GET is applicable to the ../underklasse link. POST should work as on klasse/ny-klasse

Conclusions:
PUT and DELETE are not intended used on the ../underklasse link.Arkitektum In special cases like this, and for mappe/undermappe, the spec should clarify which methods should be supported on these routes, preferably with examples.

Saken er migrert fra Arkivverkets Jira.

@petterreinholdtsen

This comment has been minimized.

Copy link
Collaborator

commented Nov 27, 2018

Er dette relatert til #38?

@hanber

This comment has been minimized.

Copy link
Collaborator

commented Mar 1, 2019

Ja det er det samme forholdet, når man står på et (under)arkiv betyr ny-arkiv nytt underarkiv, men det tilhører administrasjon. , ikke med i versjon 5.4.

@AnnKnu AnnKnu added the Noark 5 v. 4 label Mar 27, 2019

@AnnKnu AnnKnu added the 1/2 label Mar 27, 2019

@petterreinholdtsen

This comment has been minimized.

Copy link
Collaborator

commented Mar 28, 2019

Hvis resultatet fra GET mot underklasse inneholder en self-lenke, skal det da være mulig å slette alle underklasser med en DELETE? Det bør beskrives klart i spesifikasjonen. Det vil være en fordel om HTTP-hodefeltet «Allow» brukes til å annonsere støttede operasjoner, jamfør mangelmelding #29.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.