List and retrieve diffs with detailed revision information

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

{
    "id": 1049749,
    "revision": {
        "id": 475934,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c0c0c3588a1771997e37983e257c85b8e3eb9e88",
        "head_changeset": "3aeafbad2196839e9324def7f9778793984cc39b",
        "phabricator_id": 250535,
        "phabricator_phid": "PHID-DREV-fasf2lmqo7lovyrs52bj",
        "title": "WIP: Bug 1966522 - throw with syncIfEmpty: false and emptyListFallback: false",
        "bugzilla_id": 1966522,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475934/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475934/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250535"
    },
    "phid": "PHID-DIFF-hglmdntic3fnkh4pfia5",
    "review_task_id": "DTWyWtoFSa2OBVpGB_OdRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8483e7f69cbe370f266fd5223e4949ba8f5ee504",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049749/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:06:11.966464Z"
}