Browse Source

Merge pull request #14589 from nextcloud/feature/noid/add-preview-information-as-optional-data

Add preview data as optional data for files
pull/14603/head
Morris Jobke 7 years ago
committed by GitHub
parent
commit
de935848a4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      lib/public/RichObjectStrings/Definitions.php

12
lib/public/RichObjectStrings/Definitions.php

@ -254,6 +254,18 @@ class Definitions {
'description' => 'The full URL to the file',
'example' => 'http://localhost/index.php/f/42',
],
'mimetype' => [
'since' => '16.0.0',
'required' => false,
'description' => 'The mimetype of the file/folder to allow clients to show a placeholder',
'example' => 'text/plain',
],
'preview-available' => [
'since' => '16.0.0',
'required' => false,
'description' => 'Whether or not a preview is available. If `no` the mimetype icon should be used',
'example' => 'yes',
],
],
],
'highlight' => [

Loading…
Cancel
Save