List and retrieve diffs with detailed revision information

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

{
    "id": 1073747,
    "revision": {
        "id": 485413,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eebf54415054a29bd8cdf29418b3669fd8424f30",
        "head_changeset": "fa2296cef5de7161f767099851cec440290599a4",
        "phabricator_id": 255020,
        "phabricator_phid": "PHID-DREV-6awcdxk4q7wvtwercpid",
        "title": "Bug 1973820 p3 - Run one process per test suite in rungtests.py r=jmaher",
        "bugzilla_id": 1973820,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485413/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485413/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255020"
    },
    "phid": "PHID-DIFF-6bmqbgk6jyo7wrgy3gh7",
    "review_task_id": "UC8SixgMRbCt7kdQalpsnw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "61b26bbe56393628599663e83b09b922b4d31ac9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073747/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T20:51:31.694593Z"
}