List and retrieve diffs with detailed revision information

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

{
    "id": 1042799,
    "revision": {
        "id": 410258,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9358b6a02a04f62e0c9c7fcba4877700076a28f5",
        "head_changeset": "6537ac4bffe10fd56047f4512cbed7d438bef8cf",
        "phabricator_id": 214575,
        "phabricator_phid": "PHID-DREV-jirk4lhvc5luz2qthww7",
        "title": "Bug 1820594 - Part 10: Implement LoadRequestedModules.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/410258/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/410258/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214575"
    },
    "phid": "PHID-DIFF-g6jgqztecrgkkjoqknax",
    "review_task_id": "IOoCY7eBTgqnY_aCurKCtg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "31664f661fcb1ee846015d37dcae714f1713df16",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1042799/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-26T09:47:17.392852Z"
}