List and retrieve diffs with detailed revision information

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

{
    "id": 1064408,
    "revision": {
        "id": 480823,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b2890182a97fc4ff67c071837bf3ccac14c2d51f",
        "head_changeset": "dadf5c0df8663b6f3b665c726b6690f47a95982c",
        "phabricator_id": 254073,
        "phabricator_phid": "PHID-DREV-x6v2z32hahq4gnhvf6wo",
        "title": "Bug 1759550: Gecko profiler can capture threads that are created after it is started in Java r=mstange",
        "bugzilla_id": 1759550,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480823/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480823/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254073"
    },
    "phid": "PHID-DIFF-le3emf4pzk4kfcwlkvgy",
    "review_task_id": "Fb9t7DXwQACsL1kYjq_J8A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dadf5c0df8663b6f3b665c726b6690f47a95982c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064408/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T19:13:09.900771Z"
}