List and retrieve diffs with detailed revision information

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

{
    "id": 1058090,
    "revision": {
        "id": 478338,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0638a29026d45e7b893e38326b58da5717ff2cd6",
        "head_changeset": "e08fdd1824c74b7dde823de22364e26fc70f7fea",
        "phabricator_id": 253597,
        "phabricator_phid": "PHID-DREV-p5tddaldskoujwwr22cx",
        "title": "Bug 1971906 - Update NSS to 8a4fe863efb1d1d50cfb9b0071b1b37ab0e2b385",
        "bugzilla_id": 1971906,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478338/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478338/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253597"
    },
    "phid": "PHID-DIFF-3k2nqwa3xdkbsdxdawbs",
    "review_task_id": "H9gy8Jt7RaCvl3ED2tZJHQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e08fdd1824c74b7dde823de22364e26fc70f7fea",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058090/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T00:53:13.980056Z"
}