List and retrieve diffs with detailed revision information

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

{
    "id": 1039405,
    "revision": {
        "id": 475808,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e055d37609e494df51320da417da18234140f0cb",
        "head_changeset": "b7a10b630da16c19222a3569bdb57f6e47d29a89",
        "phabricator_id": 250375,
        "phabricator_phid": "PHID-DREV-cw554443rbg2cb5eeiv7",
        "title": "Bug 1967635 - Allow 1px difference in test_bug1714640.html. r?#layout-reviewers",
        "bugzilla_id": 1967635,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475808/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475808/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250375"
    },
    "phid": "PHID-DIFF-nkjvwbpz2tuow6al2lxy",
    "review_task_id": "KethFMRZTHqt6WhmC69ZAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b7a10b630da16c19222a3569bdb57f6e47d29a89",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039405/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T01:57:51.160249Z"
}