Python API for Teambox
copyright: |
|
---|---|
license: | BSD, see LICENSE for more details. |
An activity is a record of what happened in a Project.
Returns the most recent activities in the project.
Related objects required to reconstruct a Teambox timeline are stored in references.
By default all the activities will be returned, but by providing threads=True as a parameter, comments inside threads won’t be returned.
This is ideal for apps that want to display a compact view of activities (such as the collapsed view on the web version).
Base implementation of the API
The version of teambox api to connect to
proxy for make_request() which sends a GET to given uri
Send a request
Tip
Use the method below which proxy this method as a restful interface. See post(), get(), delete() and put()
Parameters: | resource – resource path without / in beginning |
---|
A proxy for make_request() which sends a post to given uri
A comment is the core model for communication in Teambox.
Comments can belong to a Project, a Conversation, or Task.
Creates a new comment. You can specify the target of the comment using one of the appropriate routes.
For time tracking, simply pass in time taken using the hours parameter. Acceptable values are the same as on the web frontend - e.g. 12h, 1.4, 13m, 2:15.
Routes:
- projects/:project_id/conversations/:conversation_id/comments
- projects/:project_id/tasks/:task_id/comments
- conversations/:conversation_id/comments
- tasks/:task_id/comments
Destroys a comment. You need to be either the owner of the comment, or an administrator of the target project for this to work.
Note
This does not completely implement the paths impemented by teambox
Returns the most recent comments in a the target.
Use the optional target_type parameter to filter tasks by their target type, which can be either Conversation or Task. For example, to only view only comments belonging to conversations, you would query
Conversation is a group of comments.
It can also act as a thread in the project overview. Comments belong to a Project.
Warning
NOT IMPLEMENTED YET
An Invitation invites a User to a Project, via email.
Warning
NOT IMPLEMENTED YET
A membership links a User to an Organization.
To add people to an organization, make an Invitation.
Organizations group together Projects and User`s (via :class:`Membership).
Returns the most recent organizations you own or belong to.
By default external organizations* aren’t included. They can be included by adding external=true as a GET parameter
A proxy object for Person as teambox documentation list says People instead of Person
alias of Person
A person links a User to a Project.
To add people to a project, make an Invitation.
Projects contain most of the objects present in Teambox.
Destroys a project.
Note
You must be the owner in order to perform this action.
Implementation of urllib2.Request which also takes a method
A task list is a collection of Tasks in a Project.
Archives the task list.
Warning
All tasks belonging to the task list will be updated and resolved.
Returns the most recent task lists in a project.
Tip
To filter by archived or unarchived lists, pass in the optional archived parameter. To view everything, simply omit the archived parameter.