List and retrieve diffs with detailed revision information

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

{
    "id": 1079004,
    "revision": {
        "id": 490269,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d553d11c7acfd3832bfd3cad314e1c963bf01ff",
        "head_changeset": "b1ac7c4a3ab921aa27310f6b988e2f2aa475798c",
        "phabricator_id": 256002,
        "phabricator_phid": "PHID-DREV-yrcw5vokfjr7mtldbnvx",
        "title": "Bug 1972865 - Add hasSessionData helper and private properties. r=jdescottes",
        "bugzilla_id": 1972865,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490269/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490269/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256002"
    },
    "phid": "PHID-DIFF-pelvnwp3oylld6zzll7c",
    "review_task_id": "ab0u59KDRkqWoCHyykkaAg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "059ce23920aadc964b5a085640c6eab1c785f7d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079004/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T19:41:49.527545Z"
}