{ "opencollection": "1.0.0", "info": { "name": "Figshare altmetric other API", "version": "2.0" }, "items": [ { "info": { "name": "other", "type": "folder" }, "items": [ { "info": { "name": "Item Types", "type": "http" }, "http": { "method": "GET", "url": "https://api.figshare.com/v2/item_types", "params": [ { "name": "group_id", "value": "", "type": "query", "description": "Identifier of the group for which the item types are requested" } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://figshare.com/account/applications/authorize", "accessTokenUrl": "https://api.figshare.com/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns the list of Item Types of the requested group. If no user is authenticated, returns the item types available for Figshare." }, { "info": { "name": "Search Funding", "type": "http" }, "http": { "method": "POST", "url": "https://api.figshare.com/v2/account/funding/search", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://figshare.com/account/applications/authorize", "accessTokenUrl": "https://api.figshare.com/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Search for fundings" }, { "info": { "name": "Private Account information", "type": "http" }, "http": { "method": "GET", "url": "https://api.figshare.com/v2/account", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://figshare.com/account/applications/authorize", "accessTokenUrl": "https://api.figshare.com/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Account information for token/personal token" }, { "info": { "name": "Public Categories", "type": "http" }, "http": { "method": "GET", "url": "https://api.figshare.com/v2/categories" }, "docs": "Returns a list of public categories" }, { "info": { "name": "Public Licenses", "type": "http" }, "http": { "method": "GET", "url": "https://api.figshare.com/v2/licenses" }, "docs": "Returns a list of public licenses" }, { "info": { "name": "Private Account Licenses", "type": "http" }, "http": { "method": "GET", "url": "https://api.figshare.com/v2/account/licenses", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://figshare.com/account/applications/authorize", "accessTokenUrl": "https://api.figshare.com/v2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This is a private endpoint that requires OAuth. It will return a list with figshare public licenses AND licenses defined for account's institution." }, { "info": { "name": "Public File Download", "type": "http" }, "http": { "method": "GET", "url": "https://api.figshare.com/v2/file/download/:file_id", "params": [ { "name": "file_id", "value": "", "type": "path" } ] }, "docs": "Starts the download of a file" } ] } ], "bundled": true }