List and retrieve diffs with detailed revision information

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

{
    "id": 1087111,
    "revision": {
        "id": 494012,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "20f0f8b7166447fd63bdafc218c10bcf04c7dcfd",
        "head_changeset": "0e059b661cb959778f0e8722d38f19a983af341f",
        "phabricator_id": 256995,
        "phabricator_phid": "PHID-DREV-m6ytq35xxwvgfvkqsl5a",
        "title": "Bug 1973629 - Remove unused prefs from talos command unit test data. r?#perftest",
        "bugzilla_id": 1973629,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494012/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494012/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256995"
    },
    "phid": "PHID-DIFF-s5hdofhgsts4i4btvewf",
    "review_task_id": "QaaMQnJ3SDagWJbQc9HkhQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "14f82f3f2315c566a5d55c32dbeedb9527e053a7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087111/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T12:54:06.258777Z"
}