List and retrieve diffs with detailed revision information

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

{
    "id": 1053949,
    "revision": {
        "id": 476486,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3b44feba86bb54d47665252cb3af1d3013a01c0e",
        "head_changeset": "cf7fbcc261ad3080fe3c30fe3c0f8b7c6cf3928d",
        "phabricator_id": 251430,
        "phabricator_phid": "PHID-DREV-rgds4kytscfgixmlgme5",
        "title": "Bug 1560936 - For getSettings make all MediaStreamTrackSources populate width and height as appropriate. r?jib!,ng!",
        "bugzilla_id": 1560936,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476486/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476486/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251430"
    },
    "phid": "PHID-DIFF-mf2h44ejnum4u6tkpk24",
    "review_task_id": "a0wc3qhxQeuRc2sACfjdPw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dbce61bdb4b6085437ebd3fac0864dc3dec084a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053949/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T22:09:39.512686Z"
}