• GitHub
  • Documentation
  • Discord
  • Tip
search
  • chevron_right Threads
  • label Support

about RESTful API

coco
Jan. 20, 2018
chat_bubble_outline 6
  • link
    coco
    Members 53 posts
    Jan. 20, 2018, 2:03 p.m. Jan. 20, 2018, 2:03 p.m.
    link

    May I know if it still developing not provide in last release version ?

    hope likes this.

    favorite 1

  • link
    coco
    Members 53 posts
    Jan. 20, 2018, 2:31 p.m. Jan. 20, 2018, 2:31 p.m.
    link
    @coco

    May I know if it still developing not provide in last release version ?

    I got the point... http://127.0.0.1:8000/api/auth/ , it has provide restful api, just seem no official document yet ?

  • link
    rafalp
    Project Lead 2028 posts
    Jan. 20, 2018, 4:10 p.m. Jan. 20, 2018, 4:10 p.m.
    link

    Misago's json API (because we don't really follow REST) is undocumented, so you'll need to look how Misago's JavaScript uses it, but its here and integrating with it is not something forbidden.

    Yes, it will be here in future versions too.

  • link
    coco
    Members 53 posts
    Jan. 21, 2018, 3:06 a.m. Jan. 21, 2018, 3:06 a.m.
    link
    @rafalp

    Misago's json API (because we don't really follow REST) is undocumented, so you'll need to look how Misago's JavaScript uses it, but its here and integrating with it is not something forbidden.

    Yes, it will be here in future versions too.

    I see that... so it is possible to publish the api to mobile client ? I just need few feature, login, post, I want write daily note via phone

    hope likes this.

    favorite 1

  • link
    rafalp
    Project Lead 2028 posts
    Jan. 21, 2018, 3:27 a.m. Jan. 21, 2018, 3:27 a.m.
    link

    Absolutely. You just need to keep session and CSRF cookie between requests so Misago recognizes user between requests.

    hope and coco like this.

    favorite 2

  • link
    snakie
    Members 1 post
    Jan. 30, 2018, 3:26 p.m. Jan. 30, 2018, 3:26 p.m.
    link

    Is it possible to expose the api in a browsable form?

  • link
    rafalp
    Project Lead 2028 posts
    Jan. 30, 2018, 4:07 p.m. Jan. 30, 2018, 4:07 p.m.
    link

    We are using rest framework with custom abstractions over it, so while there's API browser, I've disabled as it was producing errors, but its not statement against it. If pull-request that fixes and brings back the API browser appears, I'll be open for merging it.

arrow_upward Go to top
  • This site uses cookies to gather statistical data for use in traffic analysis.
  • GitHub
  • Documentation
  • Discord
  • Tip
  • Terms of service
  • Privacy policy
powered by misago