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

Unclear documentation on REST API #66

Open
J4bbi opened this issue Jul 5, 2018 · 3 comments
Open

Unclear documentation on REST API #66

J4bbi opened this issue Jul 5, 2018 · 3 comments

Comments

@J4bbi
Copy link

J4bbi commented Jul 5, 2018

In the API documentation it is said that "Most requests to the ArchivesSpace backend requires a user to be authenticated." (http://archivesspace.github.io/archivesspace/api/#authentication & https://github.com/archivesspace/tech-docs/blob/master/architecture/api.md)

However I can find no reference to those requests which do not require authentication each and every curl example in https://archivesspace.github.io/archivesspace/api/#archivesspace-rest-api starts with curl -H "X-ArchivesSpace-Session: $SESSION" .

@sdm7g
Copy link

sdm7g commented Jul 5, 2018

Access to server info with "GET /" is probably the only one that doesn't require some authentication.

Also the OAI endpoints: /oai?verb= and /oai_sample do not require authentication

.permissions([]) # No permissions because the endpoint is effectively public
oai.rb

@lmcglohon lmcglohon transferred this issue from archivesspace/archivesspace Dec 17, 2019
@trevorthornton
Copy link
Contributor

@lmcglohon - are the 2 cases above the only ones that don't require authentication? I can edit the docs to add this info.

@lmcglohon
Copy link
Contributor

@trevorthornton I think there are a bunch more. I moved this here so we can talk about it at the next tech_docs meeting. Not sure we want to maintain a list of APIs that don't need authentication but wanted feedback from the group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants