List and retrieve diffs with detailed revision information

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

{
    "id": 1087156,
    "revision": {
        "id": 496189,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c383139ed9e43647556618602f728021f7245026",
        "head_changeset": "38c4d395303c7a95be01f7a2e615f4c69d27d455",
        "phabricator_id": 257470,
        "phabricator_phid": "PHID-DREV-ivj5nzgipy2ciiqbbd76",
        "title": "Bug 1977180 - [bidi] Add support for URL patterns in \"noProxy\" property of \"proxy\" configuration in \"browser.createUserContext\" command.",
        "bugzilla_id": 1977180,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496189/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496189/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257470"
    },
    "phid": "PHID-DIFF-7kadkcc6pdgjibixtjxa",
    "review_task_id": "KfTCAwi6QlqwJWT_UTteuQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5ab45112bc416f3250dc8a016ed763e4e3da2dfe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087156/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T14:03:17.271299Z"
}