List and retrieve diffs with detailed revision information

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

{
    "id": 1053804,
    "revision": {
        "id": 477629,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9c4847957e978ff098b6f82a21cdb7c72b6104f6",
        "head_changeset": "8a9832fb28cd21098268417ed80e939336192cce",
        "phabricator_id": 252751,
        "phabricator_phid": "PHID-DREV-qpiu7yth7qjjlm72wb2q",
        "title": "Bug 1968075: Reserve stack space before calling RegExpExecTest r=jandem",
        "bugzilla_id": 1968075,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477629/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477629/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252751"
    },
    "phid": "PHID-DIFF-pdfiuhaao7rasy6dxc7h",
    "review_task_id": "U1ypDchoTVqP1siMW2E3SA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8a9832fb28cd21098268417ed80e939336192cce",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053804/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T19:22:33.418966Z"
}