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

Tomatoes public API #15

Closed
27 tasks done
potomak opened this issue Sep 24, 2011 · 19 comments
Closed
27 tasks done

Tomatoes public API #15

potomak opened this issue Sep 24, 2011 · 19 comments

Comments

@potomak
Copy link
Member

potomak commented Sep 24, 2011

TODO list

  • Remove ResourceController (Remove ResourceController #162)
  • API documentation
    • Reference manual
  • Add API namespace and base controller (Add API controller namespace and API::BaseController #163)
    • Find user by Tomatoes token
      • Add authorizations.token index to users
  • API::SessionsController
  • API::TomatoesController
    • GET /tomatoes
    • GET /tomatoes/:id
    • POST /tomatoes
    • PATCH /tomatoes/:id
    • DESTROY /tomatoes/:id
  • API::UsersController
    • GET /user
    • PATCH /user
  • API::ProjectsController
    • GET /projects
    • GET /projects/:id
    • POST /projects
    • PATCH /projects/:id
    • DESTROY /projects/:id
  • Add new User index, run User.create_indexes on a production console
@ghost ghost assigned potomak Oct 21, 2011
@nvkv
Copy link

nvkv commented Oct 25, 2012

Is there any chance to release this? :)

@potomak
Copy link
Member Author

potomak commented Oct 25, 2012

Thanks for your interest @semka, I'm sure it won't be online before 2013.
I'm really sorry but I'm working on something else right now.

@nvkv
Copy link

nvkv commented Oct 29, 2012

When there will public API I'll can help with iOS client for tomatoes. Keep in mind :)

@pablosproject
Copy link

I can help with the mobile client too.

@potomak
Copy link
Member Author

potomak commented Oct 17, 2013

@tute
Copy link

tute commented May 23, 2014

@potomak
Copy link
Member Author

potomak commented Oct 5, 2016

Action plan:

  • Remove ResourceController (Remove ResourceController #162)
  • Add API namespace and base controller (Add API controller namespace and API::BaseController #163)
  • API::SessionController
    • POST /session
    • DESTROY /session
  • API::TomatoesController
    • GET /tomatoes
    • GET /tomatoes/:id
    • POST /tomatoes
    • PATCH /tomatoes/:id
    • DESTROY /tomatoes/:id
  • API::UserController or API::ProfileController
    • GET /user
    • PATCH /user
  • API::ProjectsController
    • GET /projects
    • GET /projects/:id
    • POST /projects
    • PATCH /projects/:id
    • DESTROY /projects/:id

@pablosproject
Copy link

👍 ping me once done I can help with the iPhone client

@potomak
Copy link
Member Author

potomak commented Oct 8, 2016

I created a new project to collect all the tasks to get this done: https://github.com/potomak/tomatoes/projects/2.

potomak added a commit that referenced this issue Oct 8, 2016
potomak added a commit that referenced this issue Oct 9, 2016
The endpoint destroys any open Tomatoes API session.

Example request:

    DELETE /api/session?token=123

See #15
@pablosproject
Copy link

What's the status of this? Can I start doing some query to the API? Or at least have an example of the JSON model, I can start preparing the mobile app.

@potomak
Copy link
Member Author

potomak commented Oct 15, 2016

@pablosproject I plan on release a new version of Tomatoes that includes the API by the end of this week. There's an issue with the Twitter auth implementation and it can be used only with Tomatoes client id and secret, I'll open a new issue to fix the issue in a later version.

@potomak
Copy link
Member Author

potomak commented Oct 15, 2016

@pablosproject Tomatoes 0.9.0 is online. It includes an early version of the API. Take a look at the reference documentation at http://www.tomato.es/pages/api_reference and tell me if I can help.

@potomak
Copy link
Member Author

potomak commented Oct 15, 2016

@bugant from a security point of view this API should be used only through HTTPS, I guess I'll add a new issue to keep track of the progress on it.

@pablosproject
Copy link

@potomak it'll ne useful to create a new issue to keep track of the iOS app, and a new repo to store the code of it.

@potomak
Copy link
Member Author

potomak commented Oct 17, 2016

@pablosproject start a new project using your account please, I will create a new organization to collect all projects related to Tomatoes in the near future.

@pablosproject
Copy link

Nice. I suggest also creating a gitter for the project, just to avoid chit chatting in issues.

@potomak
Copy link
Member Author

potomak commented Oct 17, 2016

I registered a #tomatoes channel more than 2 years ago at http://freenode.net/ that could be used to chat about the project:

Information on #tomatoes:
Founder    : potomak
Successor  : freenode-staff
Registered : Jun 24 13:57:29 2014 (2y 16w 4d ago)

I will add info about the channel on the README soon.

@pablosproject
Copy link

I suggest not using IRC since we're working on different timezones and you don't have the history saved with it. Gitter or Slack are better approach IMHO.

@potomak
Copy link
Member Author

potomak commented Oct 18, 2016

@pablosproject please open a new issue to start a conversation on the chat topic. Let's stay on the API topic here.

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

No branches or pull requests

6 participants