# Feature NEX-328 - Remove the trashed state from integration_openproject app's filesId endpoint

Project: Stream Nextcloud app "OpenProject Integration"
Status: closed
URL: https://community.openproject.org/work_packages/NEX-328

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Nextcloud Integration 2.6.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Swikriti Tripathi |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

We do not want to delete file links anymore automatically, we do not need that differentiation between deleted and trashed anymore. Maybe we should treat both cases as &quot;deleted&quot;. Thus, we could simply remove the &quot;trashed&quot; state for the filesinfo endpoint.

In future, we would only differentiate the states:

*   deleted files
*   files with missing permissions

Note: this might be a breaking change.

**Acceptance criteria**

*   [x] The API returns &quot;Not found&quot; for files that are trashed and permanently deleted in Nextcloud
