List and retrieve diffs with detailed revision information

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

{
    "id": 1065257,
    "revision": {
        "id": 477486,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "765d3f515c66fdce00fd79a42cf926d3b0b5dee4",
        "head_changeset": "9fefe041c97a9abaed0630b706086852eb904441",
        "phabricator_id": 252575,
        "phabricator_phid": "PHID-DREV-4jqucmq6orj4yiscfqqb",
        "title": "Bug 1963885 part 6 - move acknowledgement message after Acknowledge() call r=#dlp-reviewers!",
        "bugzilla_id": 1963885,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477486/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477486/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252575"
    },
    "phid": "PHID-DIFF-wg2hqdwwscdjjpjnsxfu",
    "review_task_id": "Gr4zDURoRWGJ4QcxwTlnvg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a985ed3c48dd089d4ad7977d6cc4a0b114274fae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065257/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T16:50:39.069781Z"
}