Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support v2 of cartodb's API #13

Open
dimroc opened this issue Jul 24, 2012 · 3 comments
Open

Support v2 of cartodb's API #13

dimroc opened this issue Jul 24, 2012 · 3 comments

Comments

@dimroc
Copy link
Contributor

dimroc commented Jul 24, 2012

All generated http requests seem to only hit v1 of the API, as evidenced in the vcr yml files.

@Ferdev
Copy link
Contributor

Ferdev commented Jul 24, 2012

Yeah, actually this is a known issue, but I didn't have time to fix it. The problem is that the ruby client uses both the SQL API (v2) and the REST API (v1) and at the very beginning of the project, I assumed that there'd be only one API.

I'd like to switch all the ruby client to the SQL API, but currently it's imposible since some API calls (like the create table one) can cause integrity problems, so that kind of calls must be performed using the REST API. We're working on fixing that issue in CartoDB, so I'll leave it as it is right now until we fix CartoDB and then, I'd switch the ruby client to use the SQL API completely and drop the REST API.

@tailic
Copy link

tailic commented Nov 13, 2012

Ferdev, is this a Problem with CartoDB/SQL API or with this specific ruby client for cartodb?

@Ferdev
Copy link
Contributor

Ferdev commented Nov 21, 2012

Sorry tailic, I missed your message.

It's a problem with the ruby client, the SQL API is pretty fine :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants