List and retrieve diffs with detailed revision information

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

{
    "id": 1099833,
    "revision": {
        "id": 505509,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed28bde759c16860d3ee821ad3e4740150099212",
        "head_changeset": "7e9df050d1c9f971d690fc888fef5844a555367c",
        "phabricator_id": 259648,
        "phabricator_phid": "PHID-DREV-qjmeptqhajaxwyatn3cc",
        "title": "Bug 1980640 - Add localized strings to Timer widget r?#home-newtab-reviewers",
        "bugzilla_id": 1980640,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505509/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505509/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259648"
    },
    "phid": "PHID-DIFF-fjf3srze55aggf4kza24",
    "review_task_id": "UYwnEFMIQkOJfrMsD1Uf7w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c427397726a88dbe9f4932abe197df2d9c300a4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099833/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T21:15:26.563103Z"
}