Skip to content

Commit 2d585b0

Browse files
committed
doc: extra doc from native api guide
1 parent f59f53b commit 2d585b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/useCases.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,12 @@ _See [use case](../src/files/domain/useCases/DeleteFile.ts) implementation_.
12261226

12271227
The `fileId` parameter can be a string, for persistent identifiers, or a number, for numeric identifiers.
12281228

1229+
Note that the behavior of deleting files depends on if the dataset has ever been published or not.
1230+
1231+
- If the dataset has never been published, the file will be deleted forever.
1232+
- If the dataset has published, the file is deleted from the draft (and future published versions).
1233+
- If the dataset has published, the deleted file can still be downloaded because it was part of a published version.
1234+
12291235
## Metadata Blocks
12301236

12311237
### Metadata Blocks read use cases

0 commit comments

Comments
 (0)