List and retrieve diffs with detailed revision information

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

{
    "id": 1105431,
    "revision": {
        "id": 508240,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed28bde759c16860d3ee821ad3e4740150099212",
        "head_changeset": "e279580935befee51e6d7e5c53c345cdb1a7b019",
        "phabricator_id": 260291,
        "phabricator_phid": "PHID-DREV-xdacpihqokgzzyqcjd4o",
        "title": "Bug 1975181 - Part 6: Send the V5 hashLists:batchGet request for the SafeBrowsing V5 provider. r?dimi!",
        "bugzilla_id": 1975181,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508240/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508240/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260291"
    },
    "phid": "PHID-DIFF-oygk7jsef6t5bnk7icz5",
    "review_task_id": "MqV4eGoNQhKtVQLx0aN9bg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "03b78636106e1c2eb0851ab5f97ecf36ef4c814d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105431/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T15:28:02.397479Z"
}