# Bug OP-9679 - [API doc] GET /projects missing params and incorrect response

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-9679

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.5.0 |
| Observed in versions |  |
| Sprint | 14.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | Yes |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Eric Schubert |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Your OpenProject Version: 12.0.5

API doc for list projects endpoint: <https://github.com/opf/openproject/blob/dev/docs/api/apiv3/paths/projects.yml#L3>

### **Actual Behavior**

Params do not include offset and pageSize. Response is not paginated.

### **Expected Behavior**

Params should include offset and pageSize, and the response should be paginated.

**Note**

A hint how the default page size is determined (objects page setting in admin -\> system settings -\> general) can't hurt either.

**Also** while at it, it would make sense to extract the response into the components so that it can be re-used where ever a collection of projects is returned.
