Skip to content

Latest commit

 

History

History
417 lines (261 loc) · 11 KB

project.md

File metadata and controls

417 lines (261 loc) · 11 KB

Project

Get activity for a project

GET /projects/{project_id}/latestActivity.json

tw.projects.getActivity(project_id, body)

Get invoices for a project

GET /projects/{project_id}/invoices.json

tw.projects.getInvoices(project_id, query_string)

Create an invoice on a project

POST /projects/{project_id}/invoices.json

tw.projects.createInvoice(project_id, body)

Get Expenses for a project

GET /projects/{project_id}/expenses.json

tw.projects.getExpenses(project_id)

Create an expense on a project

POST /projects/{project_id}/expenses.json

tw.projects.createExpense(project_id, body)

Get Message Categories in a Project

GET /projects/{project_id}/messageCategories.json

tw.projects.getMessageCategories(project_id)

Create a message Category on a project

POST /projects/{project_id}/messageCategories.json

tw.projects.createMessageCategory(project_id, body)

Get File Categories in a Project

GET /projects/{project_id}/fileCategories.json

tw.projects.getFileCategories(project_id)

Create a File Category on a Project

POST /projects/{project_id}/fileCategories.json

tw.projects.createFileCategory(project_id, body)

Get Notebook Categories in a Project

GET /projects/{project_id}/notebookCategories.json

tw.projects.getNotebookCategories(project_id)

Create a Notebook Category on a Project

POST /projects/{project_id}/notebookCategories.json

tw.projects.createNotebookCategory(project_id, body)

Get Link Categories in a Project

GET /projects/{project_id}/linkCategories.json

tw.projects.getLinkCategories(project_id)

Create a Link Category on a Project

POST /projects/{project_id}/linkCategories.json

tw.projects.createLinkCategory(project_id, body)

Get Companies on a Project

GET /projects/{project_id}/companies.json

tw.projects.getCompanies(project_id)

Get Files from a project

GET /projects/{project_id}/files.json

tw.projects.getFiles(project_id)

Add a File on a Project

POST /projects/{project_id}/files.json

tw.projects.createFile(project_id, body)

Set the Project Logo

PUT /projects/{project_id}.json

tw.projects.logo(project_id, body)

Create a Message on a Project

POST /projects/{project_id}/posts.json

tw.projects.createMessage(project_id, body)

Get Archived / Unarchived Messages from a project

GET /projects/{project_id}/posts/archive.json

tw.projects.getMessages(project_id, archived)

Get Archived / Unarchived Category Messages

GET /projects/{project_id}/cat/{category_id}/posts/archive.json

tw.projects.getCategoryMessages(project_id, category_id, archived)

Get Milestones from a project

GET /projects/{project_id}/milestones.json

tw.projects.getMilestones(project_id, query_string)

Create a Milestone on a Project

POST /projects/{project_id}/milestones.json

tw.projects.createMilestone(project_id, body)

Get Notebooks from a project

GET /projects/{project_id}/notebooks.json

tw.projects.getNotebooks(project_id, query_string)

Create a Notebook on a Project

POST /projects/{project_id}/notebooks.json

tw.projects.createNotebook(project_id, body)

Get People from a project

GET /projects/{project_id}/people.json

tw.projects.getPeople(project_id)

Add a Person to a project

POST /projects/${project_id}/people/{person_id}.json

tw.projects.addPeople(project_id, person_id)

Add / Remove multiple people from a project

PUT /projects/{project_id}/people.json

tw.projects.people(project_id, body)

Remove a Person from a project

POST /projects/{project_id}/people.json

tw.projects.removePeople(project_id, body)

Get a Persons project permissions

GET /projects/${project_id}/people/{person_id}.json

tw.projects.getPermissions(project_id, person_id)

Update a Persons project permissions

PUT /projects/${project_id}/people/{person_id}.json

tw.projects.updatePermissions(project_id, person_id, body)

Create project

POST /projects.json

tw.projects.create(body)

Update a project

PUT /projects/{project_id}.json

tw.projects.update(project_id, body)

Delete a Project

DELETE /projects/{project_id}.json

tw.projects.delete(project_id)

Get Projects or a Project

GET /projects/{project_id}.json

tw.projects.get(query_string, project_id)

Get Starred projects

GET /projects/starred.json

tw.projects.getStarred()

Star a project

PUT /projects/{project_id}/star.json

tw.projects.star(project_id)

Unstar a project

PUT /projects/{project_id}/unstar.json

tw.projects.unStar(project_id)

Get rates from a project

GET /projects/{project_id}/rates.json

tw.projects.getRates(project_id, query_string)

Set rates for a project

POST /projects/{project_id}/rates.json

tw.projects.setRates(project_id, body)

Enable disable features

PUT /projects/{project_id}.json

tw.projects.features(project_id, body)

Get Roles on a project

GET /projects/{project_id}/roles.json

tw.projects.getRoles(project_id)

Get Email Addresses from a project

GET /projects/{project_id}/emailaddress.json

tw.projects.getEmailAddress(project_id)

Set Email Address for a project

PUT /projects/{project_id}/emailaddress.json

tw.projects.setEmailAddress(project_id, body)

Get Links from a project

GET /projects/{project_id}/links.json

tw.projects.getLinks(project_id)

Get Risks from a project

GET /projects/{project_id}/risks.json

tw.projects.getRisks(project_id)

Get Time from a project

GET /projects/{project_id}/time_entries.json

tw.projects.getTime(project_id, query_string)

Create a time entry on a project

POST /projects/{project_id}/time_entries.json

tw.projects.createTime(project_id, body)

Get a Time Total or Time Totals from a project

GET /projects/time/total.json

tw.projects.totalTime(query_string, project_id)

Get Task lists from a project

GET /projects/{project_id}/tasklists.json

tw.projects.getTasklists(project_id, query_string)

Get Tasks from a project

GET /projects/{project_id}/tasks.json

tw.projects.getTasks(project_id, query_string)

Get Tags from a project

GET /projects/{project_id}/tags.json

tw.projects.getTags(project_id, query_string)

Update a Tag on a project

PUT /projects/{project_id}/tags.json

tw.projects.updateTag(project_id, body)