List and retrieve diffs with detailed revision information

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

{
    "id": 1049560,
    "revision": {
        "id": 476826,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8ed7ef980fb1bb562458c792dd5e3a17a0aeaf88",
        "head_changeset": "e50305621b2253d8d13a875985da53ce7216ae4c",
        "phabricator_id": 251774,
        "phabricator_phid": "PHID-DREV-7wi374gs2xqcdsbjnndr",
        "title": "Bug 1905855 - Use USVString instead of DOMString for HTMLScriptElement's src attribute r?smaug",
        "bugzilla_id": 1905855,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476826/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476826/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251774"
    },
    "phid": "PHID-DIFF-ivel33rqkslxib5q5gul",
    "review_task_id": "ZOM5srf8TQKZ5-OGrpfdbA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e50305621b2253d8d13a875985da53ce7216ae4c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049560/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T21:12:00.880457Z"
}