List and retrieve diffs with detailed revision information

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

{
    "id": 1035071,
    "revision": {
        "id": 414540,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8a3495297c338c61912d243f08505bca2bd9eae",
        "head_changeset": "f7f9ec3be73d92a47bc1579f2b56d7896cead037",
        "phabricator_id": 227443,
        "phabricator_phid": "PHID-DREV-72j55auyu2ggjwcmbsw2",
        "title": "Bug 1928254 - pt 4. Add profiler markers for mozjemalloc's Purge() r=florian",
        "bugzilla_id": 1928254,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/414540/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/414540/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D227443"
    },
    "phid": "PHID-DIFF-engm3jpig7dmcilrd6jt",
    "review_task_id": "QdU6lXnvRUSKpZNoPtw6Jw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c39c4355b9b0ccb088f714012bd008f0aa057bf9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035071/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T07:33:44.741985Z"
}