collections
Replace collection articles
Changed onAssociate new articles with the collection. This will remove all already associated articles and add these new ones
put/account/collections/{collection_id}/articles
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/articles/put.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
collection_idinteger required
Collection unique identifier
Request body
Example request
{
"articles": [
2000003,
2000004
]
}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
- breaking