collections
Create collection private link
Changed onCreate new private link
post/account/collections/{collection_id}/private_links
Request
- Base URLhttps://api.figshare.com/v2
- AuthOAuth 2Authorization codehttps://figshare.com/account/applications/authorizeToken URLhttps://api.figshare.com/v2/tokenScopesall
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idinteger required
Collection unique identifier
Request body
Example request
{
"expires_date": "2018-02-22 22:22:22"
}Response
Created
Example response
{
"html_location": "https://figshare.com/s/d5ec7a85bcd6dbe9d9b2",
"token": "d5ec7a85bcd6dbe9d9b2"
}Changes
- breaking
added the new path request parameter
collection_id - info
added optional request body
- info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status
- breaking