List and retrieve diffs with detailed revision information

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

{
    "id": 1107965,
    "revision": {
        "id": 515511,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "eb604630ba0db6b9ee79c8509098800617be8fdf",
        "phabricator_id": 261604,
        "phabricator_phid": "PHID-DREV-pjov6hdceg4jd24v4h7x",
        "title": "Bug 1983875 - Refactor IncreasedTapAreaActionDecorator to use dependency injection for tap area increase.",
        "bugzilla_id": 1983875,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515511/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515511/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261604"
    },
    "phid": "PHID-DIFF-dvx27etm3jyxpwnxe2xi",
    "review_task_id": "VCKf68S6QNWsxzEgE5S7ow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eb604630ba0db6b9ee79c8509098800617be8fdf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107965/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T16:48:03.021648Z"
}