List and retrieve diffs with detailed revision information

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

{
    "id": 1076364,
    "revision": {
        "id": 488705,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "90e2a010a152db151e20c54b9d8d4f6fdf3a6a31",
        "head_changeset": "9ad4103eb83659e7db2cf94a211ea22328ee455f",
        "phabricator_id": 255584,
        "phabricator_phid": "PHID-DREV-2afcvov5gxhkgaisvnzj",
        "title": "WIP: Bug 1974892 - Pass header data as const ref to ParseH264Parameters",
        "bugzilla_id": 1974892,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488705/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488705/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255584"
    },
    "phid": "PHID-DIFF-p5b4no6bcycm6bqshxhv",
    "review_task_id": "UziDULQcQbCmVzF1rYQ7NQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b8719aacc8d5a16ba0f0c5432f6824cfa6e50f7c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076364/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T23:19:50.370881Z"
}