v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Users

List all preprints

A paginated list of preprints that the user contributes to. The returned preprints are sorted by their creation date, with the most recent preprints appearing first.

Returns

Returns a JSON object containing data and links keys.

The data key contains an array of 10 preprints. Each resource in the array is a complete preprint object and contains the full representation of the preprint, meaning additional requests to a preprint's detail view are not necessary.

The links key contains a dictionary of links that can be used for pagination.

Filtering

You can optionally request that the response only include preprints that match your filters by utilizing the filter query parameter, e.g. https://api.osf.io/v2/users/cdi38/preprints/?filter[provider]=psyarxiv.

Preprints may be filtered by their id, is_published, date_created, date_modified, and provider.

get/users/{user_id}/preprints/

Path parameters

user_idstring required

The unique identifier of the user.

Response

OK