List and retrieve diffs with detailed revision information

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

{
    "id": 1078818,
    "revision": {
        "id": 489573,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d255be8363a4d2ff480936404380862f061b1f42",
        "head_changeset": "e262c7914cad885d6ba5e1e36234963c0029c38f",
        "phabricator_id": 255772,
        "phabricator_phid": "PHID-DREV-4c4nkc5hdytdeydqcknn",
        "title": "Bug 1974943 - part 3 - Pass in to AppStore the tab id and source for searches through the homescreen r=#android-reviewers",
        "bugzilla_id": 1974943,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489573/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489573/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255772"
    },
    "phid": "PHID-DIFF-yw3xwud6vfboqikwzhv2",
    "review_task_id": "Dy4awhjsTH2gcxSs0L9YkA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8baba6d0f588390ffea38163e512d94700c94c3c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078818/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T16:08:46.047933Z"
}