List and retrieve diffs with detailed revision information

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

{
    "id": 1058405,
    "revision": {
        "id": 478552,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c02a77e32526ae1bb855e9388da5330bab897f5f",
        "head_changeset": "fda5a80171cf1412a2341c4a2dd2f4d8184b210e",
        "phabricator_id": 253347,
        "phabricator_phid": "PHID-DREV-hpcjp4zkxqz37p4diryu",
        "title": "Bug 1968644 - Part 10: Store JSCallingLocation and set the JSCallingLocation fallback for Media loads. r?emilio!",
        "bugzilla_id": 1968644,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478552/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478552/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253347"
    },
    "phid": "PHID-DIFF-emlilmxjkrbhveymzdwu",
    "review_task_id": "YNbneYycRPWFWnbiBG4GGA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fda5a80171cf1412a2341c4a2dd2f4d8184b210e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058405/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T14:35:19.163091Z"
}