List and retrieve diffs with detailed revision information

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

{
    "id": 1086065,
    "revision": {
        "id": 495456,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "260f2f8f64fec4094b17722ecfeb9dc3f392a23b",
        "head_changeset": "bdc7fcc938d781f8f1ddddcdca080e7c7b9a424e",
        "phabricator_id": 257195,
        "phabricator_phid": "PHID-DREV-2z73hkbfnwcj42theflu",
        "title": "Bug 1977078 - Fix Translations if Services.profiler is undefined",
        "bugzilla_id": 1977078,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495456/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495456/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257195"
    },
    "phid": "PHID-DIFF-j4ocqvgj2cyrptfojiw7",
    "review_task_id": "G1OGNljgRlWcwED2VtsaLQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bdc7fcc938d781f8f1ddddcdca080e7c7b9a424e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086065/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T23:29:03.155766Z"
}