List and retrieve diffs with detailed revision information

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

{
    "id": 1088594,
    "revision": {
        "id": 497655,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cdb57c81f44471bd356b353d55ff22740cf56b59",
        "head_changeset": "cd83f006c28fe4a33d371a7109dcb5a4d2b32765",
        "phabricator_id": 257815,
        "phabricator_phid": "PHID-DREV-md5ci6x7ip6fjgwtwbtc",
        "title": "Bug 1773313 - Merge two consecutive loops with SharedLibraryAtPath calls into one r?mstange",
        "bugzilla_id": 1773313,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497655/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497655/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257815"
    },
    "phid": "PHID-DIFF-ucjhunf3yor46nlbyuuv",
    "review_task_id": "eCAPMeB3QeGkDeUHXbOxPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cd83f006c28fe4a33d371a7109dcb5a4d2b32765",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088594/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T08:48:34.047824Z"
}