REST: Capture admin

Steps to reproduce

Steps to reproduce:
1. Go to http://testallinone.usask.ca:8080/docs.html?path=/capture-admin
2. enter in "d" and "d" for the GET /agents{name}.{type:xml|json}
3. Get a 405 return value "Method not allowed"

This service seems to be using an inconsistent method for returning values. Is 405 what should be responded when a different result type is requested? Why is 405 not listed in the status codes docs then? Is it normal to include the return format as a parameter instead of in the get request as just .xml?

The path parameter should make it more clear that "The Document Type" (note odd capitalization) really means "xml" or "json"

Status

Assignee

Lukas Rohner

Reporter

Christopher Brooks

Severity

Incorrect Documentation

Tags (folksonomy)

Components

Fix versions

Affects versions

1.4.0

Priority

Major