Users

Retrieve a user

Retrieves details of a specific user. Includes bibliographic information, date of registration, and related resources such as affiliated institutions and nodes the user contributes to (provided the requesting user has access). Using me as the user_id retrieves the currently logged-in user's information.

Returns

Successful responses return a JSON object under the data key with user details. Failed requests provide an errors key containing error information. Refer to the list of error codes for more details.

get/users/{user_id}/

Request

  • Base URL
    https://api.test.osf.io/v2
  • URL
    https://api.test.osf.io/v2/users/{user_id}/
  • Auth
    none declared

Path parameters

user_idstring required

The unique identifier of the user.

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.