List and retrieve diffs with detailed revision information

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

{
    "id": 1054250,
    "revision": {
        "id": 477698,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7f78535955716dd37a9c2bb7d08b17236cf9e964",
        "head_changeset": "b4da2abe09b9587adb045866971b58b9ea2625ab",
        "phabricator_id": 252839,
        "phabricator_phid": "PHID-DREV-cgx3aexmazt7bluikpo4",
        "title": "Bug 1970684 - only run gtests on linux32 on mozilla-central",
        "bugzilla_id": 1970684,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477698/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477698/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252839"
    },
    "phid": "PHID-DIFF-zdpqusprxxg27lspntuf",
    "review_task_id": "O4QPlivRSNeq4ShQLPPJYg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b4da2abe09b9587adb045866971b58b9ea2625ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054250/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T12:29:02.193564Z"
}