Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds ext attribute to File object #1046

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Thankyou! -->
1. Added `file_result` to File Hosting Activity. #1045
* #### Profiles
* #### Objects
1. Added `ext` to `File` object. #1046

* #### Platform Extensions

### Bugfixes
Expand Down
7 changes: 6 additions & 1 deletion dictionary.json
Original file line number Diff line number Diff line change
Expand Up @@ -1636,6 +1636,11 @@
"description": "The expiration time. See specific usage.",
"type": "timestamp_t"
},
"ext": {
mikeradka marked this conversation as resolved.
Show resolved Hide resolved
"caption": "Extension",
"description": "The extension. See specific usage.",
"type": "string_t"
},
"extension": {
"@deprecated": {
"message": "Use the <code> extensions </code> attribute instead.",
Expand Down Expand Up @@ -4434,4 +4439,4 @@
}
}
}
}
}
5 changes: 5 additions & 0 deletions objects/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
"description": "The description of the file, as returned by file system. For example: the description as returned by the Unix file command or the Windows file type.",
"requirement": "optional"
},
"ext": {
"caption": "File Extension",
"description": "The extension of the file, excluding the leading dot. For example: <code>exe</code> from <code>svchost.exe</code>, or <code>gz</code> from <code>export.tar.gz</code>.",
"requirement": "recommended"
shellcromancer marked this conversation as resolved.
Show resolved Hide resolved
},
"hashes": {
"requirement": "recommended"
},
Expand Down
Loading