List and retrieve diffs with detailed revision information

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

{
    "id": 1096954,
    "revision": {
        "id": 502662,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac78a2f91b719e42a4030b835207509bbb877f3c",
        "head_changeset": "f52a02e935acbae12470e68d0c2e78d4710d6667",
        "phabricator_id": 258759,
        "phabricator_phid": "PHID-DREV-35gqwjpg7dxhaxzwo27w",
        "title": "Bug 694856 - extract regexp and looksLikeUrl, looksLikeOrigin functions from UrlbarTokenizer.sys.mjs to new UrlUtils.sys.mjs module. r?mak!",
        "bugzilla_id": 694856,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/502662/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/502662/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258759"
    },
    "phid": "PHID-DIFF-oqjxequ4sppc3dw5b5ir",
    "review_task_id": "PwKbfAdiTlCBkF3xQ_TtQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b2e66de4c92a5d03b3be89f86ead8c2bec8c020a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096954/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-28T18:33:29.170825Z"
}