List and retrieve diffs with detailed revision information

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

{
    "id": 1081886,
    "revision": {
        "id": 494314,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "718832bc10d3597431935da8f1668adaaf8a81f9",
        "head_changeset": "c8c9167d1bedecc8832cbb762ab163909f54bbe1",
        "phabricator_id": 257062,
        "phabricator_phid": "PHID-DREV-glrboap4vowf32sotemb",
        "title": "Bug 1974315 - Part 4: Added logic to override user specified homepage section preferences when the settings value is set to true.",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494314/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494314/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257062"
    },
    "phid": "PHID-DIFF-tnce72t4u4vej2cslcey",
    "review_task_id": "bnx69bHyQnKWUneAxWPPQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c8c9167d1bedecc8832cbb762ab163909f54bbe1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081886/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T21:02:55.720424Z"
}