Hi Folks,

The ManifoldCF REST-style API has been missing support for reports.
I'm intending to add it for ManifoldCF 1.2 (see CONNECTORS-63).  But
what stopped me in the past has been the query-like inputs for the
report.

Our current REST implementation is nice in that there are NO extra
inputs above and beyond what is provided in the URI path.  For
instance:

/repositoryconnections - gets a list of connections
/repositoryconnections/myconnection - gets the connection "myconnection"

With reports, there is no longer a simple solution, however.  There is
instead a number of query parameters, e.g. an activity list, or a
regexp on document identifiers.  And yet the verb is still clearly
"GET".

So, my proposal to solve this problem is to use the URL's query
parameters as our query parameters.  So, for instance:

GET 
/repositoryconnectionhistory/myconnection?report=simple&activity=fetch&activity=ingest

Comments?  Objections?

Karl

Reply via email to