Links
Returns a list of known connections for the submitted text ref along with some additional metadata. Category filters apply to the derived category value returned in the API payload, such as Commentary, Midrash, Essay, or Quoting Commentary.
Query parameters
with_text is an optional parameter that determines whether or not the API response will include the text of any connected links. Defaults to 1
with_sheet_links is an optional parameter that determines whether or not the API response will include links to user generated source sheets from Sefaria. Defaults 0
Optional repeatable filter. Only include links whose API response category exactly matches this value. May be passed multiple times, e.g. ?category=Commentary&category=Midrash.
Optional multi-value category filter. Only include links whose API response category exactly matches one of the provided values. Values may be separated by commas or pipes, e.g. ?categories=Commentary,Midrash or ?categories=Commentary|Midrash.
Response
Successful response
Example response
[
{
"_id": "578b4ad1d6e4a90d260c2d9a",
"index_title": "Tosafot Yom Tov on Mishnah Peah",
"category": "Commentary",
"type": "commentary",
"ref": "Tosafot Yom Tov on Mishnah Peah 4:2:1",
"anchorRef": "Mishnah Peah 4:2",
"anchorRefExpanded": [
"Mishnah Peah 4:2"
],
"sourceRef": "Tosafot Yom Tov on Mishnah Peah 4:2:1",
"sourceHeRef": "תוספות יום טוב על משנה פאה ד׳:ב׳:א׳",
"anchorVerse": 2,
"sourceHasEn": false,
"compDate": [
1613,
1617
],
"commentaryNum": 2.0001,
"collectiveTitle": {
"en": "Tosafot Yom Tov",
"he": "תוספות יום טוב"
},
"he": "<b>[*ואחד אומר לחלק לזה שומעין וכו'</b>. שאפילו הוא זקן ותש כח או חולה שהרי מה שאמר לחלק מפני חלישותו הוא אפילו הכי שומעין לו כך מצאתי בפירוש הנ\"ל]: \n",
"heVersionTitle": "Mishnah, ed. Romm, Vilna 1913",
"heLicense": "Public Domain",
"heVersionTitleInHebrew": "משנה, מהדורת בית דפוס ראם, וילנא 1913",
"text": []
}
]