O
OSF API v2
Details
- URL
-
https://api.osf.io/v2/ - Docs
- https://developer.osf.io/
Authentication
Authorization: Bearer <credential> In OSF, open Settings → Personal access tokens and create a token. The developer docs say to send it as Authorization: Bearer <token>. The same page is also available on the test server at test.osf.io/settings/tokens/.
In OSF, open Settings → Personal access tokens / developer applications and add a developer application to get a client ID and client secret for the OAuth 2.0 web application flow. The API docs reference OSF's OAuth support and point to the CAS overlay web server authorization docs and the OSF OAuth demo app for implementation details. A test environment is available via test.osf.io/settings/tokens/.