List and retrieve diffs with detailed revision information

GET /v1/diff/1087932/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1087932,
    "revision": {
        "id": 396214,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ac8585e3c02763662a597f94e0676111667aa60",
        "head_changeset": "a3a7ab68d906361e4f8468332ac23d348c2c9adb",
        "phabricator_id": 228850,
        "phabricator_phid": "PHID-DREV-fdbxh52ur3nows6injaz",
        "title": "Bug 1820594 - Part 12: Remove VisitedURLSet",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/396214/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/396214/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D228850"
    },
    "phid": "PHID-DIFF-ybewddaowmylng6lxou2",
    "review_task_id": "VntAknlHQZyussknbr5brw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "968858f3c75e7f096ac6de111162d3ac7ee240b3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087932/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T11:33:08.549781Z"
}