# Bug OP-18111 - Meetings API: duration indicated as number instead of ISO 8601 duration

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Meetings |
| Target versions | 18.0.0 |
| Observed in versions | 16.5.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.5.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | OP Dev Sirius Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Fetch meeting details via APIv3, e.g. `/api/v3/meetings`

2.  Look at response attributes

### What is the buggy behavior?

The `duration` is - opposed to other occurences of durations in the API - indicated as a unitless number. It looks like it's the number of hours.

### What is the expected behavior?

Like most other durations indicated in the API, e.g. `spentTime` or `duration` on `work_packages`, the `duration` on `meetings` should be indicated as an ISO 8601 duration. For example `PT2H`.
