List and retrieve diffs with detailed revision information

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

{
    "id": 1049913,
    "revision": {
        "id": 476872,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "75beb6e103085f3bfc592b6b8c41e33f45259195",
        "head_changeset": "6d5690ffe1ba6c72f9fb43666d40d1ced03f79fd",
        "phabricator_id": 251861,
        "phabricator_phid": "PHID-DREV-2gb2qlml2jdn4hot3h3u",
        "title": "Bug 1966420 - Remove usages of \"six\" from testing/raptor r?#build",
        "bugzilla_id": 1966420,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476872/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476872/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251861"
    },
    "phid": "PHID-DIFF-lymcqz7p63dn7yhwwjhg",
    "review_task_id": "Zb8deRGOSP6NvLfcMyhUGQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bc547063ceb2de611ba820d4ca27b589fe650581",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049913/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T12:01:21.387820Z"
}