projects
Invite project collaborators
Changed onInvite users to collaborate on project or view the project
post/account/projects/{project_id}/collaborators
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/projects/:project_id/collaborators/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idinteger required
Project unique identifier
Request body
Example request
{
"role_name": "viewer",
"user_id": 100008,
"email": "user@domain.com",
"comment": "hey"
}Response
Created
Example response
{
"message": "Project 1 has been published"
}Changes
- breaking
added the new path request parameter
project_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