Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Vanilla versions and APIs

Hi, I'm trying to working out how to use vanilla forums and it's API. The end goal is a fully integrated forum engine (via SSO and API) into our site with no obvious 3rd party (ambitious I know). I have 2 questions:

  • The API at http://blog.vanillaforums.com/api/ appears to be different to the one at http://vanillaforums.org/addon/api-application. Is there any relationship between the two or plans to release the the hosted version?
  • The add-on requires vanilla v2.2.x which doesn't seem to be officially released. Is there a timeline for this release or am I better off sticking with vanilla 2.1.x and api v0.1.0 for the time being?
Tagged:

Comments

  • Options
    x00x00 MVP
    edited January 2015

    Are you intending to use the hosted version? they have their own api, which another. So there are three apis, but the later is only the hosted, and the hosted only installs certain plugins.

    I think @Kasper‌ 's API is 2.2 becuase he using specific feature of that version. 2.2 will not be official released, it will go to 2.3. This is because even numbers are the hosted version, or so I'm told.

    The way that standard api work is basically any data that goes to render gets put in array when using the normal controllers, and that can be displayed as, a page, view, module can also be fetched. it can be outputted in xml, json, and html. Some data is base64 encoded.

    kasper's api is more about having an api base to do atomic operations I think. You can use API credentials as well as normal sessions.

    grep is your friend.

  • Options

    We will be using the open source version. I've only just read the version control strategy on github so that kind of makes sense to me now. I also have not been able to get the 2.2.3.6 tag up and running (Oops, something went wrong immediately after setup).

    This means the current best plan would be to use vanilla 2.1.x with @Kasper‌ 's api at 0.1.0 and extend the API if we need added functionality like badges etc... I think

  • Options

    They are good for different things. If you need to fetch modules, or stadard controller data the basic api works pretty well. If you want fine grained restful operations use the API app. It aslo depend heavily, if you are doing client to server or server to server.

    grep is your friend.

  • Options
    KasperKasper Scholar of the Bits Copenhagen Vanilla Staff

    @iolo: Fair word of warning: My API application is not going to run on Vanilla v2.1.x even if you use v0.1.0. This version was simply lacking the proper addon meta but does require Vanilla v2.2.x as well.

    Kasper Kronborg Isager (kasperisager) | Freelance Developer @Vanilla | Hit me up: Google Mail or Vanilla Mail | Find me on GitHub

  • Options

    @x00‌ server/client depends on our SSO implementation.

    If I have to use 2.2.x, is the 2.2.3.6 tag the best to go with? I'm currently looking at:

    • vanilla 2.2.3.6 (now running thanks to some chmod kerfuffling)
    • kasper's API v0.3.0
    • jsConnect
  • Options

    what do actually want to do?

    grep is your friend.

  • Options

    To be honest, we're still in the exploratory phase of the project, looking at both what we can do as well as what the software can do for us.

    This is what I eventually got up and running together if anyone is looking for a similar setup:

  • Options
    hgtonighthgtonight ∞ · New MVP

    I hear you mention badges. I plan on creating a YagaAPI plugin once 2.3 hits beta.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options
    LincLinc Detroit Admin

    The docs represent a cloud plugin I don't expect to be released. There will be a unified API one day, but I wouldn't expect it before 2.5.

Sign In or Register to comment.