List and retrieve diffs with detailed revision information

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

{
    "id": 1073101,
    "revision": {
        "id": 479620,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3b480f74ce995d049c123704af70263ec09bfc86",
        "head_changeset": "5e956a3b955dae0ae56e1aeccbb3589f0f8277c7",
        "phabricator_id": 253784,
        "phabricator_phid": "PHID-DREV-e7f66prt4fhxzgymh4g6",
        "title": "WIP: Bug 1972228 - Add some test coverage to keep data collection permissions in sync with gecko",
        "bugzilla_id": 1972228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479620/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479620/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253784"
    },
    "phid": "PHID-DIFF-xza2lzj3bi3gbn7tlshq",
    "review_task_id": "RgHg8IQxQAy_74iv4f18WA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "40c0bb1b46a8f74e3d3ddb7970d8b75330f4e8fd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073101/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T08:43:51.403496Z"
}