List and retrieve diffs with detailed revision information

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

{
    "id": 1036019,
    "revision": {
        "id": 475320,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "92a90ab1cdaedff3c274cee9a409d45e7d912ca8",
        "head_changeset": "5e5427e30d8ba0b1eb54621096f9caf0065d9610",
        "phabricator_id": 249759,
        "phabricator_phid": "PHID-DREV-4hwb23vhydienn62x45f",
        "title": "Bug 1966889 - Use a gtk grid rather than table for footer / header settings. r=stransky",
        "bugzilla_id": 1966889,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475320/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475320/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249759"
    },
    "phid": "PHID-DIFF-swdo64t27hnvltirjzna",
    "review_task_id": "EPwfRz2gQACG4KR0X5nbFQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a80f132e11760773f967d658c6ff3e7cf3fbbf5b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036019/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T16:25:48.890296Z"
}