{
  "_id": "6a101858acfb0bcc41c85605",
  "Package": "mx.api",
  "Type": "Package",
  "Title": "Minimal Matrix Client-Server API",
  "Version": "0.2.0",
  "Date": "2026-05-13",
  "Authors@R": "c(\nperson(\"Troy\", \"Hernandez\", role = c(\"aut\", \"cre\"),\nemail = \"troy@cornball.ai\",\ncomment = c(ORCID = \"0009-0005-4248-604X\")),\nperson(\"cornball.ai\", role = \"cph\"))",
  "Description": "A minimal-dependency client for the 'Matrix' Client-Server\nHTTP API <https://spec.matrix.org/>, suitable for talking to a\n'Synapse' <https://element-hq.github.io/synapse/> or 'Conduit'\n<https://conduit.rs/> homeserver. Covers login, room\nmanagement, message send and history, media upload or download,\nand the transport endpoints needed to coordinate end-to-end\nencryption (device-key and one-time-key publication, key query\nand claim, to-device events). Encryption itself is out of\nscope; pair with a separate crypto package.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/cornball-ai/mx.api",
  "BugReports": "https://github.com/cornball-ai/mx.api/issues",
  "Encoding": "UTF-8",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://cornball-ai.r-universe.dev",
  "Date/Publication": "2026-05-14 21:28:35 UTC",
  "RemoteUrl": "https://github.com/cornball-ai/mx.api",
  "RemoteRef": "HEAD",
  "RemoteSha": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-14 22:56:50 UTC",
    "User": "root"
  },
  "Author": "Troy Hernandez [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-4248-604X>),\ncornball.ai [cph]",
  "Maintainer": "Troy Hernandez <troy@cornball.ai>",
  "MD5sum": "2f92b092bab5b3573f96ded5c8e0d46d",
  "_user": "cornball-ai",
  "_type": "src",
  "_file": "mx.api_0.2.0.tar.gz",
  "_fileid": "deab460ed47f753b2f2d8472b107e6dbba8c277c2b2f08dcc52c0fb65ae96484",
  "_filesize": 144230,
  "_sha256": "deab460ed47f753b2f2d8472b107e6dbba8c277c2b2f08dcc52c0fb65ae96484",
  "_created": "2026-05-14T22:56:50.000Z",
  "_published": "2026-05-22T08:48:24.878Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77346706814,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7006600766"
    },
    {
      "job": 77346706452,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7006599241"
    },
    {
      "job": 77346706829,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7006593136"
    },
    {
      "job": 77346706689,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7006597176"
    },
    {
      "job": 77346706357,
      "time": 159,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7006573710"
    },
    {
      "job": 77346706084,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156509638"
    },
    {
      "job": 77346706663,
      "time": 60,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7006587885"
    },
    {
      "job": 77346706901,
      "time": 77,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7006591715"
    },
    {
      "job": 77346706914,
      "time": 62,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7006588440"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cornball-ai/mx.api",
  "_commit": {
    "id": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
    "author": "Troy Hernandez <troy@cornball.ai>",
    "committer": "GitHub <noreply@github.com>",
    "message": "README: document formatted_body for rich-text messages (#12)\n\nmx_send's plain body shows literal backticks in clients that render\nrich text via formatted_body (Element, Cinny, etc.). Show the\nextra = list(format, formatted_body) pattern with a code-block example\nand link to the spec's allowed-tags list.",
    "time": 1778794115
  },
  "_maintainer": {
    "name": "Troy Hernandez",
    "email": "troy@cornball.ai",
    "login": "troyhernandez",
    "uuid": 5670773
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "cornball-ai",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-16",
      "n": 7
    },
    {
      "week": "2026-20",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-05-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "troyhernandez",
      "count": 13,
      "uuid": 5670773
    }
  ],
  "_userbio": {
    "uuid": 153995987,
    "type": "organization",
    "name": "cornball.ai"
  },
  "_downloads": {
    "count": 410,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mx.api"
  },
  "_devurl": "https://github.com/cornball-ai/mx.api",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mx.api.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cornball-ai/mx.api",
  "_realowner": "cornball-ai",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-21"
    },
    {
      "version": "0.2.0",
      "date": "2026-05-13"
    }
  ],
  "_exports": [
    "mx_canonical_json",
    "mx_download",
    "mx_keys_claim",
    "mx_keys_query",
    "mx_keys_upload",
    "mx_login",
    "mx_logout",
    "mx_messages",
    "mx_react",
    "mx_read_receipt",
    "mx_register",
    "mx_room_create",
    "mx_room_join",
    "mx_room_leave",
    "mx_room_members",
    "mx_room_name",
    "mx_room_topic",
    "mx_rooms",
    "mx_send",
    "mx_send_to_device",
    "mx_session",
    "mx_sync",
    "mx_upload",
    "mx_whoami"
  ],
  "_help": [
    {
      "page": "mx.api-package",
      "title": "mx.api: Minimal Matrix Client-Server API",
      "topics": [
        "mx.api-package",
        "mx.api"
      ]
    },
    {
      "page": "mx_canonical_json",
      "title": "Encode a value as Matrix canonical JSON",
      "topics": [
        "mx_canonical_json"
      ]
    },
    {
      "page": "mx_download",
      "title": "Download a media file by mxc URI",
      "topics": [
        "mx_download"
      ]
    },
    {
      "page": "mx_keys_claim",
      "title": "Claim one-time keys for an Olm handshake",
      "topics": [
        "mx_keys_claim"
      ]
    },
    {
      "page": "mx_keys_query",
      "title": "Query device keys for one or more users",
      "topics": [
        "mx_keys_query"
      ]
    },
    {
      "page": "mx_keys_upload",
      "title": "Upload device identity and one-time keys",
      "topics": [
        "mx_keys_upload"
      ]
    },
    {
      "page": "mx_login",
      "title": "Log in to a Matrix homeserver",
      "topics": [
        "mx_login"
      ]
    },
    {
      "page": "mx_logout",
      "title": "Log out of a Matrix session",
      "topics": [
        "mx_logout"
      ]
    },
    {
      "page": "mx_messages",
      "title": "Fetch historical messages from a room",
      "topics": [
        "mx_messages"
      ]
    },
    {
      "page": "mx_react",
      "title": "Send a reaction (annotation) to a room event",
      "topics": [
        "mx_react"
      ]
    },
    {
      "page": "mx_read_receipt",
      "title": "Send a read receipt for a room event",
      "topics": [
        "mx_read_receipt"
      ]
    },
    {
      "page": "mx_register",
      "title": "Register a new account on a Matrix homeserver",
      "topics": [
        "mx_register"
      ]
    },
    {
      "page": "mx_room_create",
      "title": "Create a room",
      "topics": [
        "mx_room_create"
      ]
    },
    {
      "page": "mx_room_join",
      "title": "Join a room by ID or alias",
      "topics": [
        "mx_room_join"
      ]
    },
    {
      "page": "mx_room_leave",
      "title": "Leave a room",
      "topics": [
        "mx_room_leave"
      ]
    },
    {
      "page": "mx_room_members",
      "title": "List the members of a room",
      "topics": [
        "mx_room_members"
      ]
    },
    {
      "page": "mx_room_name",
      "title": "Get a room's human-readable name",
      "topics": [
        "mx_room_name"
      ]
    },
    {
      "page": "mx_room_topic",
      "title": "Get a room's topic",
      "topics": [
        "mx_room_topic"
      ]
    },
    {
      "page": "mx_rooms",
      "title": "List rooms the user has joined",
      "topics": [
        "mx_rooms"
      ]
    },
    {
      "page": "mx_send",
      "title": "Send a message to a room",
      "topics": [
        "mx_send"
      ]
    },
    {
      "page": "mx_send_to_device",
      "title": "Send a to-device event",
      "topics": [
        "mx_send_to_device"
      ]
    },
    {
      "page": "mx_session",
      "title": "Reconstruct a session from saved credentials",
      "topics": [
        "mx_session"
      ]
    },
    {
      "page": "mx_sync",
      "title": "One-shot sync against the homeserver",
      "topics": [
        "mx_sync"
      ]
    },
    {
      "page": "mx_upload",
      "title": "Upload a file to the homeserver media repository",
      "topics": [
        "mx_upload"
      ]
    },
    {
      "page": "mx_whoami",
      "title": "Return the identity of the current session",
      "topics": [
        "mx_whoami"
      ]
    }
  ],
  "_readme": "https://github.com/cornball-ai/mx.api/raw/HEAD/README.md",
  "_rundeps": [
    "curl",
    "jsonlite"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "mx.api",
  "_universes": [
    "cornball-ai",
    "troyhernandez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-14T22:58:54.000Z",
      "distro": "noble",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "ea7942eac6a06fb465b4ef31cb87de92453c86f4c7a9a31c1a628245b5cbe268",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-14T22:58:48.000Z",
      "distro": "noble",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "d0972f6561ce0806aa2eed158f72fc2b4ae3c28a168ed3055c27bbbec7173f3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-14T22:58:21.000Z",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "92499f4d5221aa4f5e873640940b427755a0cfe1920729e9429021051315cc1f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-14T22:58:38.000Z",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "f1ea092b3b5f712144718dce81efe13c0b3836db47c5629627d2f58494b5e4e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-14T22:57:52.000Z",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "00028b619cf15f80acacde6f02f8d28ab2bbcc2b52b280cdf81d4adef197b772",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-14T22:58:08.000Z",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "7207af932f652898c11609cd1c0745522f5a8bd680d6a91b955d1122d9769d54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-14T22:57:53.000Z",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "5eb59e087955733727fcd723dbcb0c49a990e1d0b844bc54fb3402005293bbc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-22T08:48:09.000Z",
      "commit": "7e637d6d6d3dc3a9996101c0373658bd3691c295",
      "fileid": "bd2899ea7e40808f85285e4d79dedf2372c719f1be2bdd4b37acd5b069150cec",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/25890300716"
    }
  ]
}