Change By: keithwoodlock (12/May/13 2:22 AM)
Description: Some general concepts of API do not work soley for the 'paginated' list endpoints. Specificaly it is:
 - Pretty printing through &pretty=true
 - Partial response through &fields=id,name etc

Pretty Printing:
The paginated endpoints do not allow the output to be "prettified" by adding &pretty=true to them. For example:
/api/v1/clients?offset=0&limit=200&tenantIdentifier=default&pretty=true
OR
/api/v1/journalentries?offset=0&limit=200&tenantIdentifier=default&pretty=true

Do not show as pretty. For the unpaginated endpoints it does work:
/api/v1/offices?offset=0&limit=200&tenantIdentifier=default&pretty=true


Partial Response:
This breaks now as the JSON reponse is not the original flatter reposne but instead has the data underneath pageItems.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to