List and retrieve diffs with detailed revision information

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

{
    "id": 1032339,
    "revision": {
        "id": 472834,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fd1beda699328f924cb5570bea485388759ecffa",
        "head_changeset": "8b6f305e53e72f6e9e7e1bef69e82516d42de0e6",
        "phabricator_id": 245957,
        "phabricator_phid": "PHID-DREV-koqxf34f5tmbw5payg7r",
        "title": "Bug 1958081 - [devtools] Cover bidi script evaluation through devtools test framework.",
        "bugzilla_id": 1958081,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472834/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472834/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245957"
    },
    "phid": "PHID-DIFF-3xjmfstbmntgabed342j",
    "review_task_id": "dk54QJtUTkCj5rkuPXIJqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "adde25b427900425da73d4f62074e61361b015bd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032339/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-13T09:08:24.518294Z"
}