List and retrieve diffs with detailed revision information

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

{
    "id": 1038933,
    "revision": {
        "id": 475217,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c7a1a76d7f0d1f864e107a597f590a3ff309434",
        "head_changeset": "244164a33a120161372b51603330453157273376",
        "phabricator_id": 249644,
        "phabricator_phid": "PHID-DREV-ybq3tfssgqq4h6ogtvqp",
        "title": "Bug 1945184 - [bidi] Implement browsingContext.navigationCommitted event",
        "bugzilla_id": 1945184,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475217/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475217/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249644"
    },
    "phid": "PHID-DIFF-obnzve32y6tj6vz63v4m",
    "review_task_id": "Aj-SSKDgRwCS85LThYL-QA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a4d6ea07d4d397ff0b3a1a978ed0f77d4962361a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038933/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T20:10:58.176493Z"
}