EndpointsProjects
Create Company Project
Create a project in the company; it starts `active`. `monthly_budget_cents` is in integer cents (`0` = no limit). Publishes `project.created`.
POST
Create a project in the company; it starts active.
monthly_budget_cents is in integer cents (0 = no limit). Publishes
project.created.
HTTPBearerheader
AuthorizationBearer <token>company_id*Company IdFormat
uuidapplication/json- body
description?string|nullmonthly_budget_cents?Monthly Budget CentsRange
0 <= valueDefault
0name*NameLength
1 <= length <= 100repository?string|nullSuccessful Response
application/json- response
created_at*|nulldescription*string|nullid*IdFormat
uuidmonthly_budget_cents*Monthly Budget Centsname*Namerepository*string|nullspend_mtd_cents?Spend Mtd CentsDefault
0status*string|nulltasks_done?Tasks DoneDefault
0tasks_total?Tasks TotalDefault
0curl -X POST "https://example.com/api/companies/497f6eca-6276-4993-bfeb-53cbbbba6f08/projects" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "created_at": "2019-08-24T14:15:22Z", "description": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "monthly_budget_cents": 0, "name": "string", "repository": "string", "spend_mtd_cents": 0, "status": "string", "tasks_done": 0, "tasks_total": 0}List Company Projects GET
List the company's projects, oldest first, with task counts and spend. `tasks_total` excludes `cancelled` tasks; `tasks_done` counts `done` tasks. `spend_mtd_cents` is the cost of runs on the project's tasks since the first of the current UTC month, in integer cents.
Get Company Project GET
Get one project with its task counts and month-to-date spend. Answers 404 `NOT_FOUND` when the project does not belong to this company.