List and retrieve diffs with detailed revision information

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

{
    "id": 1039048,
    "revision": {
        "id": 443935,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e96db7f2fc84bf31d8081316be884a96496fecb6",
        "head_changeset": "ef04bd505ec164c18f6b3f8c61e6ffa138c5878e",
        "phabricator_id": 236936,
        "phabricator_phid": "PHID-DREV-cw2ffzmjiiz35niorbqc",
        "title": "WIP: Bug 1933787 - Record arg values in tracer-generated profiles",
        "bugzilla_id": 1933787,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/443935/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/443935/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D236936"
    },
    "phid": "PHID-DIFF-bix6bxczcs7o5e6auimy",
    "review_task_id": "ISRiVthSSG2zjde5Ho_v5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a012f590788c39ea1b9e167a8138242244ca3f89",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039048/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T21:18:12.578956Z"
}