Collections

GET /api/collections/user-collections/{user_id}

Returns the collections that a specific user owns or belongs to.

Request

  • Base URL
    https://www.sefaria.org
  • URL
    https://www.sefaria.org/api/collections/user-collections/{user_id}
  • Auth
    none declared

Path parameters

user_idinteger required

Numeric user ID. To find it, call GET /api/profile/{slug} with the user's profile slug and read the id field from the response.

Response

Successful Response

namestring

Display name of the collection.

slugstring

URL slug for the collection.

descriptionstring nullable

Free-text description of the collection.

imageUrlstring nullable

URL of the collection's image.

headerUrlstring nullable

URL of the collection's header image, if set.

memberCountinteger

Number of members in the collection.

sheetCountinteger

Number of sheets in the collection.

lastModifiedstring nullable

Timestamp of the most recent change.

Changes

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