List and retrieve diffs with detailed revision information

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

{
    "id": 1052276,
    "revision": {
        "id": 477320,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f578ff9ec78659e1093ec18b3472f8eb0f14654d",
        "head_changeset": "8507beedf701fc213a1d512deacedca7feeba371",
        "phabricator_id": 252410,
        "phabricator_phid": "PHID-DREV-a47veouinz5fqwvdsiwx",
        "title": "Bug 1970074- Update footer spacing on large cards and favicon size for all cards. r=#home-newtab-reviewers",
        "bugzilla_id": 1970074,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477320/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477320/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252410"
    },
    "phid": "PHID-DIFF-n4byeegqbcja5atxblyt",
    "review_task_id": "KFTSTzv5T8qLzA5IpFlVtw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8507beedf701fc213a1d512deacedca7feeba371",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052276/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T21:19:04.104418Z"
}