List and retrieve diffs with detailed revision information

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

{
    "id": 1051430,
    "revision": {
        "id": 477170,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "df509edb950c8ec6c14b505a5ac1d0ffd1b61f1b",
        "head_changeset": "d91f97c01549dd274abd48bfcb684f255c1fd62e",
        "phabricator_id": 252240,
        "phabricator_phid": "PHID-DREV-3xthqsf2t442lf7dw2h5",
        "title": "Bug 1969993: Move various definitions of GetBoolName to Logging.h r=mccr8!",
        "bugzilla_id": 1969993,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477170/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477170/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252240"
    },
    "phid": "PHID-DIFF-uermzxzkne6mb2s2uduq",
    "review_task_id": "aH0rWRACROu0fXEQ2hRjfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d91f97c01549dd274abd48bfcb684f255c1fd62e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051430/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T21:50:26.802504Z"
}