Get project
One project with its trackers, issue categories and time-entry activities.
GET https://cotlet.dev/api/v1/redmine/projects/{project_id}
read
Returns the project description and the lists you need before creating issues or logging time: trackers, issue categories and the activities allowed for time entries. Read it once per project and reuse the IDs.
Parameters
| Name | Type | Description |
|---|---|---|
| project_id integer required | integer | Numeric project ID from list_projects. Redmine issue endpoints take the number, not the project identifier. |
Request
curl https://cotlet.dev/api/v1/redmine/projects/1 \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("redmine", "get_project", {"project_id":1}) const result = await cotlet.call('redmine', 'get_project', {"project_id":1}); cotlet call redmine get_project --data '{"project_id":1}' Example response
{
"project_id": 12,
"name": "Billing portal",
"identifier": "billing-portal",
"description": "Invoices, payments and refunds for customers.",
"trackers": [
{
"id": 1,
"name": "Bug"
},
{
"id": 2,
"name": "Task"
},
{
"id": 3,
"name": "Support"
}
],
"issue_categories": [
{
"id": 4,
"name": "Payments"
},
{
"id": 5,
"name": "PDF"
}
],
"time_entry_activities": [
{
"id": 9,
"name": "Development"
},
{
"id": 10,
"name": "Design"
}
]
}