Directus / @directus/sdk / rest / readShareInfo
Function: readShareInfo()
readShareInfo<
Schema
>(id
):RestCommand
<Object
,Schema
>
Allows unauthenticated users to retrieve information about the share.
Type parameters
• Schema extends object
Parameters
• id: string
Primary key of the share you're viewing.
Returns
RestCommand
<Object
, Schema
>
The share objects for the given UUID, if it's still valid.
collection
collection:
string
date_end
date_end:
null
|string
date_start
date_start:
null
|string
id
id:
string
item
item:
string
max_uses
max_uses:
null
|number
password
password:
null
|string
times_used
times_used:
null
|number