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

Parameters: get_project
NameTypeDescription
project_id integer required integer Numeric project ID from list_projects. Redmine issue endpoints take the number, not the project identifier.

Request

cURL
curl https://cotlet.dev/api/v1/redmine/projects/1 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("redmine", "get_project", {"project_id":1})
Node.js
const result = await cotlet.call('redmine', 'get_project', {"project_id":1});
CLI
cotlet call redmine get_project --data '{"project_id":1}'

Example response

JSON

{
  "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"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.