json

35 views
Skip to first unread message

Steven Bristol

unread,
Jun 1, 2012, 9:11:23 AM6/1/12
to less-acco...@googlegroups.com
Is anyone using the json format of the api?

Jake Howerton

unread,
Jun 4, 2012, 5:55:11 PM6/4/12
to Less Accounting API
I was about to start, is its future up in the air?

Steven Bristol

unread,
Jun 5, 2012, 8:45:04 AM6/5/12
to less-acco...@googlegroups.com
No, we will always support it. We're currently doing a redesign and
what I discovered was that json api is kinda messed up. Sometimes it
even returns xml :(.

We're fixing all of this in the redesign but some of the error
messages will be changing from arrays to hashes.

The redesign should launch in a couple of months. Let's work together
so we'll try to fix problems you find now, although I do think some
work will be required when we launch the redesign.

Changes include: different structure for errors, response codes
changing (they are different in rails 3) (from 200 to 201 or 204),
empty response (just the code) when updates, creates, destroys are
successful (empty because you already have the data).

None of this is set in stone yet. What are your thoughts?

cheers,
steve

Robert Kaufman

unread,
Jun 6, 2012, 12:17:21 PM6/6/12
to less-acco...@googlegroups.com
I have a few small tools that were using the API at one point, but as our workflow evolved (ie I stopped doing everything myself) they've fallen in to disuse.  I'm excited to see an updated API and I promise not to come screaming at you about changes just because they are different ;-)

Rob

On Jun 1, 2012, at 6:11 , Steven Bristol wrote:

Is anyone using the json format of the api?

--
You received this message because you are subscribed to the Google Groups "Less Accounting API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/less-accounting-api/-/58qBw3S0tHIJ.
To post to this group, send email to less-acco...@googlegroups.com.
To unsubscribe from this group, send email to less-accounting...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/less-accounting-api?hl=en.

Steven Bristol

unread,
Jun 11, 2012, 10:29:05 AM6/11/12
to less-acco...@googlegroups.com
On Tue, Jun 5, 2012 at 1:38 PM, Jake Howerton <jake.h...@gmail.com> wrote:
> Actually just ran into a case where there is no JSON representation
> (line_items), are most of the changes going to be bringing the JSON closer
> to the XML representations?
>
> Since I am just starting with this, I am happy to use XML for now.  I
> imagine you guys would want to essentially have equivalent representations
> for both formats.  Also, if you guys are revamping the API, webhook
> callbacks would be my #1 feature request.
>
> -Jake
>
>


Yes, making the json match the xml. I'll fix the line items soon.
Thanks for the info.

steve
Reply all
Reply to author
Forward
0 new messages