collections
Add collection authors
Changed onAssociate new authors with the collection. This will add new authors to the list of already associated authors
post/account/collections/{collection_id}/authors
Request
- Base URLhttps://api.figshare.com/v2
- AuthOAuth 2Authorization codehttps://figshare.com/account/applications/authorizeToken URLhttps://api.figshare.com/v2/tokenScopesall
- TypeScripthttps://skmtc.dev/figshare/apis/figshare-api/docs/account/collections/:collection_id/authors/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idinteger required
Collection unique identifier
Request body
Example request
{
"authors": [
{
"id": 12121
},
{
"id": 34345
},
{
"name": "John Doe"
}
]
}Response
Reset Content
Changes
- breaking
added the new path request parameter
collection_id - breaking
added required 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