This commit is contained in:
clokep 2023-11-17 13:39:28 +00:00
parent a21aa117b8
commit ebb2ca9211
4 changed files with 32 additions and 10 deletions

View File

@ -715,6 +715,16 @@ The newest media is on top. You can change the order with parameters
"quarantined_by": null, "quarantined_by": null,
"safe_from_quarantine": false, "safe_from_quarantine": false,
"upload_name": "test2.png" "upload_name": "test2.png"
},
{
"created_ts": 300400,
"last_access_ts": 300700,
"media_id": "BzYNLRUgGHphBkdKGbzXwbjX",
"media_length": 1337,
"media_type": "application/octet-stream",
"quarantined_by": null,
"safe_from_quarantine": false,
"upload_name": null
} }
], ],
"next_token": 3, "next_token": 3,
@ -780,16 +790,17 @@ database, especially for large environments.</p>
Media objects contain the following fields: Media objects contain the following fields:
<ul> <ul>
<li><code>created_ts</code> - integer - Timestamp when the content was uploaded in ms.</li> <li><code>created_ts</code> - integer - Timestamp when the content was uploaded in ms.</li>
<li><code>last_access_ts</code> - integer - Timestamp when the content was last accessed in ms.</li> <li><code>last_access_ts</code> - integer or null - Timestamp when the content was last accessed in ms.
Null if there was no access, yet.</li>
<li><code>media_id</code> - string - The id used to refer to the media. Details about the format <li><code>media_id</code> - string - The id used to refer to the media. Details about the format
are documented under are documented under
<a href="../media_repository.html">media repository</a>.</li> <a href="../media_repository.html">media repository</a>.</li>
<li><code>media_length</code> - integer - Length of the media in bytes.</li> <li><code>media_length</code> - integer - Length of the media in bytes.</li>
<li><code>media_type</code> - string - The MIME-type of the media.</li> <li><code>media_type</code> - string - The MIME-type of the media.</li>
<li><code>quarantined_by</code> - string - The user ID that initiated the quarantine request <li><code>quarantined_by</code> - string or null - The user ID that initiated the quarantine request
for this media.</li> for this media. Null if not quarantined.</li>
<li><code>safe_from_quarantine</code> - bool - Status if this media is safe from quarantining.</li> <li><code>safe_from_quarantine</code> - bool - Status if this media is safe from quarantining.</li>
<li><code>upload_name</code> - string - The name the media was uploaded with.</li> <li><code>upload_name</code> - string or null - The name the media was uploaded with. Null if not provided during upload.</li>
</ul> </ul>
</li> </li>
<li><code>next_token</code>: integer - Indication for pagination. See above.</li> <li><code>next_token</code>: integer - Indication for pagination. See above.</li>

View File

@ -14609,6 +14609,16 @@ The newest media is on top. You can change the order with parameters
&quot;quarantined_by&quot;: null, &quot;quarantined_by&quot;: null,
&quot;safe_from_quarantine&quot;: false, &quot;safe_from_quarantine&quot;: false,
&quot;upload_name&quot;: &quot;test2.png&quot; &quot;upload_name&quot;: &quot;test2.png&quot;
},
{
&quot;created_ts&quot;: 300400,
&quot;last_access_ts&quot;: 300700,
&quot;media_id&quot;: &quot;BzYNLRUgGHphBkdKGbzXwbjX&quot;,
&quot;media_length&quot;: 1337,
&quot;media_type&quot;: &quot;application/octet-stream&quot;,
&quot;quarantined_by&quot;: null,
&quot;safe_from_quarantine&quot;: false,
&quot;upload_name&quot;: null
} }
], ],
&quot;next_token&quot;: 3, &quot;next_token&quot;: 3,
@ -14674,16 +14684,17 @@ database, especially for large environments.</p>
Media objects contain the following fields: Media objects contain the following fields:
<ul> <ul>
<li><code>created_ts</code> - integer - Timestamp when the content was uploaded in ms.</li> <li><code>created_ts</code> - integer - Timestamp when the content was uploaded in ms.</li>
<li><code>last_access_ts</code> - integer - Timestamp when the content was last accessed in ms.</li> <li><code>last_access_ts</code> - integer or null - Timestamp when the content was last accessed in ms.
Null if there was no access, yet.</li>
<li><code>media_id</code> - string - The id used to refer to the media. Details about the format <li><code>media_id</code> - string - The id used to refer to the media. Details about the format
are documented under are documented under
<a href="admin_api/../media_repository.html">media repository</a>.</li> <a href="admin_api/../media_repository.html">media repository</a>.</li>
<li><code>media_length</code> - integer - Length of the media in bytes.</li> <li><code>media_length</code> - integer - Length of the media in bytes.</li>
<li><code>media_type</code> - string - The MIME-type of the media.</li> <li><code>media_type</code> - string - The MIME-type of the media.</li>
<li><code>quarantined_by</code> - string - The user ID that initiated the quarantine request <li><code>quarantined_by</code> - string or null - The user ID that initiated the quarantine request
for this media.</li> for this media. Null if not quarantined.</li>
<li><code>safe_from_quarantine</code> - bool - Status if this media is safe from quarantining.</li> <li><code>safe_from_quarantine</code> - bool - Status if this media is safe from quarantining.</li>
<li><code>upload_name</code> - string - The name the media was uploaded with.</li> <li><code>upload_name</code> - string or null - The name the media was uploaded with. Null if not provided during upload.</li>
</ul> </ul>
</li> </li>
<li><code>next_token</code>: integer - Indication for pagination. See above.</li> <li><code>next_token</code>: integer - Indication for pagination. See above.</li>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long