List and retrieve diffs with detailed revision information

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

{
    "id": 1105447,
    "revision": {
        "id": 512149,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "4f35d90f4ff8176d29d9d2181e19690e76746a9c",
        "phabricator_id": 260987,
        "phabricator_phid": "PHID-DREV-wywjnjx3glmu2ikpanfm",
        "title": "Bug 1982854 - Add groovecoder as a pwmgr peer in mots.yaml r?#credential-management-reviewers",
        "bugzilla_id": 1982854,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512149/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512149/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260987"
    },
    "phid": "PHID-DIFF-dwolfzions7pame4wyuj",
    "review_task_id": "ZsBUhcUSTS-lCi8-5AtXfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4f35d90f4ff8176d29d9d2181e19690e76746a9c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105447/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T15:38:54.820102Z"
}