projects
Update project
Changed onUpdate a project by passing full body parameters. Institutions with item-type based metadata enabled wrap metadata in a fields object; the legacy flat-payload form is also accepted for institutions without item-type based metadata. funding_list entries accept {"id": <int>} or {"title": "..."}.
put/account/projects/{project_id}
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
project_idinteger required
Project unique identifier
Request body
Example request
{
"title": "project title",
"description": "project description",
"custom_fields": {
"defined_key": "value for it"
},
"custom_fields_list": [
{
"name": "key"
}
]
}Response
Reset Content
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
- breaking