On Dec 21, 2008, at 12:55 PM, Fabio Mancinelli wrote:
Sergiu Dumitriu wrote:
See the Authentication section of https://docs.sonatype.com/display/Nx/Nexus+Rest+API
I really prefer it this way. We need to make it extra easy to query IMO (for open wikis).
+1
I have looked at https://docs.sonatype.com/display/Nx/Nexus+Rest+API and, in the authentication section they state:
GET - /authentication/logout - Expire an authToken Authorization Header
This is completely UNRestFul, since it subvert the semantics of the GET verb (safe and idempotent), and it encodes in the URI an operation and not a resource.
I am -1 for this.
I have no idea about implementation. All I was saying is that IMO we should offer a REST API that works when not authenticated (in that case the user is considered Guest). -Vincent