Hi,

After installing MCF 2.12 I am seeing a change in the JSON response format from the REST API.

Here's an example, from the URL mcf-api-service/json/jobs. I've isolated a job which exists in both my 2.11 and 2.12 instances. 2.11 is on the left:



The 2.12 format feels "internal" and I see that https://manifoldcf.apache.org/release/release-2.12/api/framework/constant-values.html shows e.g. "_type_", "_children_" as constants (but that's also true in 2.12.

I can't see a release note that talks about this change, although "CONNECTORS-1549: Problem with API output JSON: losing order in child records." talks about JSON format and the test data for that change (https://issues.apache.org/jira/secure/attachment/12944641/CONNECTORS-1549.patch) appears to change the JSON format as in my observation.

Is this change expected, and if so is there a way to request the pre-2.12 format?

Cheers,
James


--
James Thomas
Head of Testing
Linguamatics <http://www.linguamatics.com/>
*Phone: * +44 (0)1223 651910 |
*Website: * www.linguamatics.com <http://www.linguamatics.com> |
*Address: * 324 Cambridge Science Park | Milton Road | Cambridge, UK | CB4 0WG LinkedIn <https://www.linkedin.com/company/linguamatics/> | Twitter <https://twitter.com/Linguamatics> | Facebook <https://www.facebook.com/Linguamatics/> Frost & Sullivan Best Practices Award 2016 & 2017 | <https://www.linguamatics.com/downloads/report-frost-sullivan-linguamatics-global-big-data-text-analytics-healthcare-enabling> Queen's Award for Enterprise: International Trade 2014 <https://www.linguamatics.com/blog/press-release-queens-award-cambridge-text-analytics-software-company-linguamatics> Linguamatics Limited is a company incorporated in England and Wales with registered number: 4248841 and a registered office at 324 Cambridge Science Park, Milton Road, Cambridge, CB4 0WG

Reply via email to