List and retrieve diffs with detailed revision information

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

{
    "id": 1099528,
    "revision": {
        "id": 505178,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "07870a914f6decb61202744058469ca661d17af0",
        "head_changeset": "12d922583b2a20217597b346413f1fd2afc6f53e",
        "phabricator_id": 259544,
        "phabricator_phid": "PHID-DREV-fexa4fiaqpcevezjsrm5",
        "title": "Bug 1980597 - Don't use attributes to store scrollbar state. r=hiro,dshin,tnikkel,#layout",
        "bugzilla_id": 1980597,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505178/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505178/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259544"
    },
    "phid": "PHID-DIFF-yhtehqhgfjelyzhknhfo",
    "review_task_id": "T8wnXKA1T5m2F4r6Pg4mow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "12d922583b2a20217597b346413f1fd2afc6f53e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099528/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T12:12:37.985490Z"
}