List and retrieve diffs with detailed revision information

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

{
    "id": 1076289,
    "revision": {
        "id": 489147,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "54a611ea13cac0fc5ac320b75cbed38818123c88",
        "head_changeset": "acd0b7e685d6abe3ec3df37f52c38b8c893b168a",
        "phabricator_id": 255705,
        "phabricator_phid": "PHID-DREV-lkozjdad37ssn4yqb5mt",
        "title": "Bug 1974911: Broaden some recently-introduced expected-timeout annotations to allow test-failure as well, for WPTs that are normally expected-failure. r?#layout,jmaher",
        "bugzilla_id": 1974911,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489147/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489147/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255705"
    },
    "phid": "PHID-DIFF-db2hr6txm4uoco76ewlb",
    "review_task_id": "b7u9QYH6TcmHqnfjwlEarg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "acd0b7e685d6abe3ec3df37f52c38b8c893b168a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076289/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T19:46:05.799903Z"
}