Comments (6)
@samsonjs nice! let's wait little bit more. Is v1 still broken?
from mailerlite-ruby.
hey @chiperific
Hmm, I see, so as I understand now we need to change some endpoints to the new one, but while they not completed v2 API fully, we need support v1 (with v2 version) api, right?
from mailerlite-ruby.
Yes, my thought was to add some checks on initialization. Try the new endpoints, if they return 404, then fall back to the old.
I think this would mean having separate host variables for the main endpoints: subscribers, groups, webhooks, campaigns, etc.
Maybe that's overkill though. We could just change the methods we know are now available in V2 and then just try to watch their blog for more releases.
from mailerlite-ruby.
from mailerlite-ruby.
It looks like the new API can filter campaigns by status and show subscriber activity so they've been making progress. I don't see anything about webhooks yet though.
from mailerlite-ruby.
@jpalumickas We sometimes get 5xx level errors but overall v1 works fine for us, and there's no indication that the errors we do see would be fixed by using the new API.
from mailerlite-ruby.
Related Issues (15)
- send campaign fails with server exception HOT 3
- When removing a subscriber from a group, email must be URL encoded HOT 2
- Bad request messages are not being passed through HOT 3
- `client.group_subscribers(group_id)` returns 100 records if there's more than 100 in the group HOT 1
- Pass limit, offset, or filters? HOT 1
- Faraday locked to old version HOT 1
- Plan to test and bump faraday gem to '~> 1.0.1'? HOT 4
- allow configuration of request timeout HOT 1
- Faraday::ParsingError on all requests. HOT 11
- Connection reset by peer - SSL_connect HOT 3
- Creating a subscriber with fields inserted
- Response field names do not match V2 API HOT 2
- "Endpoint not found" error when using webhooks client HOT 1
- Does not support groups HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailerlite-ruby.