List and retrieve diffs with detailed revision information

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

{
    "id": 1052220,
    "revision": {
        "id": 477307,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e579b03ce31bbed3ebae1f66159f3341425e64c4",
        "head_changeset": "0b2bc87a6049ba63a9b681fd82b2fa36194ff8d9",
        "phabricator_id": 252402,
        "phabricator_phid": "PHID-DREV-6gwasfuxejyqwkmu47rp",
        "title": "Bug 1970056 - [wdspec] Update historyUpdated test to check the timestamp in the event payload",
        "bugzilla_id": 1970056,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477307/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477307/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252402"
    },
    "phid": "PHID-DIFF-mfvuewwjf662i6mhagcf",
    "review_task_id": "aITVq1stQD22azNwYKZDcg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b2bc87a6049ba63a9b681fd82b2fa36194ff8d9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052220/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T20:27:33.200699Z"
}