Code Monkey home page Code Monkey logo

Comments (6)

jpalumickas avatar jpalumickas commented on July 23, 2024 1

@samsonjs nice! let's wait little bit more. Is v1 still broken?

from mailerlite-ruby.

jpalumickas avatar jpalumickas commented on July 23, 2024

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.

chiperific avatar chiperific commented on July 23, 2024

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.

chiperific avatar chiperific commented on July 23, 2024

from mailerlite-ruby.

samsonjs avatar samsonjs commented on July 23, 2024

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.

samsonjs avatar samsonjs commented on July 23, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.