List and retrieve diffs with detailed revision information

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

{
    "id": 1058457,
    "revision": {
        "id": 478580,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5adde51a4a3382b0c577c4e88748d7f15865c47a",
        "head_changeset": "e7f165b1ce336e52fa4c530abf9c5070007d5706",
        "phabricator_id": 253678,
        "phabricator_phid": "PHID-DREV-ecn3iojlfl23fd343ox4",
        "title": "Bug 1759550: Gecko profiler can capture threads created after it is started in Java r=mstange",
        "bugzilla_id": 1759550,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478580/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478580/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253678"
    },
    "phid": "PHID-DIFF-x47s3cf2n32rg4kph6fc",
    "review_task_id": "IpGDHnYPRwyRN_JSBJHwWQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e7f165b1ce336e52fa4c530abf9c5070007d5706",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058457/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T15:14:48.861670Z"
}