{
  "_id": "6a29ecae7b7a29ca60033798",
  "Package": "mx.api",
  "Type": "Package",
  "Title": "Minimal Matrix Client-Server API",
  "Version": "0.3.0",
  "Date": "2026-06-10",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 22:58:36 UTC",
    "User": "root"
  },
  "Author": "Troy Hernandez [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-4248-604X>), cornball.ai [cph]",
  "Maintainer": "Troy Hernandez <troy@cornball.ai>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-10 18:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/mx.api",
  "RemoteRef": "HEAD",
  "RemoteSha": "b396737d2d2cf02797db161d9539ef5a8e91a683",
  "MD5sum": "4cb285d01c6f92ec13b0cd8453495530",
  "_user": "cran",
  "_type": "src",
  "_file": "mx.api_0.3.0.tar.gz",
  "_fileid": "1a487c3369b98352a263f96c2ea97640a0f45adcef6e84447ea7c647739dab26",
  "_filesize": 191840,
  "_sha256": "1a487c3369b98352a263f96c2ea97640a0f45adcef6e84447ea7c647739dab26",
  "_created": "2026-06-10T22:58:36.000Z",
  "_published": "2026-06-10T23:01:02.726Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80683453060,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7550493731"
    },
    {
      "job": 80683453149,
      "time": 103,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550493037"
    },
    {
      "job": 80683040652,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550463748"
    },
    {
      "job": 80683453040,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7550492257"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27311652216",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/mx.api",
  "_commit": {
    "id": "b396737d2d2cf02797db161d9539ef5a8e91a683",
    "author": "Troy Hernandez <troy@cornball.ai>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1781114402
  },
  "_maintainer": {
    "name": "Troy Hernandez",
    "email": "troy@cornball.ai",
    "login": "troyhernandez",
    "description": "",
    "uuid": 5670773
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-04-21"
    },
    {
      "name": "0.2.0",
      "date": "2026-05-13"
    },
    {
      "name": "0.3.0",
      "date": "2026-06-10"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "troyhernandez",
      "count": 3,
      "uuid": 5670773
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 491,
    "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": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-21"
    },
    {
      "version": "0.2.0",
      "date": "2026-05-13"
    },
    {
      "version": "0.3.0",
      "date": "2026-06-10"
    }
  ],
  "_exports": [
    "mx_canonical_json",
    "mx_delete_device",
    "mx_devices",
    "mx_download",
    "mx_get_account_data",
    "mx_get_state",
    "mx_guess_mime",
    "mx_keys_claim",
    "mx_keys_query",
    "mx_keys_upload",
    "mx_login",
    "mx_logout",
    "mx_media_config",
    "mx_messages",
    "mx_profile",
    "mx_react",
    "mx_read_receipt",
    "mx_redact",
    "mx_register",
    "mx_room_create",
    "mx_room_invite",
    "mx_room_join",
    "mx_room_leave",
    "mx_room_members",
    "mx_room_name",
    "mx_room_topic",
    "mx_rooms",
    "mx_send",
    "mx_send_audio",
    "mx_send_event",
    "mx_send_file",
    "mx_send_image",
    "mx_send_media",
    "mx_send_to_device",
    "mx_send_video",
    "mx_session",
    "mx_set_account_data",
    "mx_set_avatar_url",
    "mx_set_displayname",
    "mx_set_state",
    "mx_sync",
    "mx_typing",
    "mx_upload",
    "mx_whoami"
  ],
  "_help": [
    {
      "page": "mx.api-package",
      "title": "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_delete_device",
      "title": "Delete a device",
      "topics": [
        "mx_delete_device"
      ]
    },
    {
      "page": "mx_devices",
      "title": "List this account's devices",
      "topics": [
        "mx_devices"
      ]
    },
    {
      "page": "mx_download",
      "title": "Download a media file by mxc URI",
      "topics": [
        "mx_download"
      ]
    },
    {
      "page": "mx_get_account_data",
      "title": "Get account data",
      "topics": [
        "mx_get_account_data"
      ]
    },
    {
      "page": "mx_get_state",
      "title": "Get a room state event",
      "topics": [
        "mx_get_state"
      ]
    },
    {
      "page": "mx_guess_mime",
      "title": "Guess a MIME type from a file extension",
      "topics": [
        "mx_guess_mime"
      ]
    },
    {
      "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_media_config",
      "title": "Query the homeserver's media configuration",
      "topics": [
        "mx_media_config"
      ]
    },
    {
      "page": "mx_messages",
      "title": "Fetch historical messages from a room",
      "topics": [
        "mx_messages"
      ]
    },
    {
      "page": "mx_profile",
      "title": "Get a user's profile",
      "topics": [
        "mx_profile"
      ]
    },
    {
      "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_redact",
      "title": "Redact an event",
      "topics": [
        "mx_redact"
      ]
    },
    {
      "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_invite",
      "title": "Invite a user to a room",
      "topics": [
        "mx_room_invite"
      ]
    },
    {
      "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_event",
      "title": "Send an arbitrary room event",
      "topics": [
        "mx_send_event"
      ]
    },
    {
      "page": "mx_send_media",
      "title": "Send a media file to a room",
      "topics": [
        "mx_send_audio",
        "mx_send_file",
        "mx_send_image",
        "mx_send_media",
        "mx_send_video"
      ]
    },
    {
      "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_set_account_data",
      "title": "Set account data",
      "topics": [
        "mx_set_account_data"
      ]
    },
    {
      "page": "mx_set_avatar_url",
      "title": "Set this user's avatar",
      "topics": [
        "mx_set_avatar_url"
      ]
    },
    {
      "page": "mx_set_displayname",
      "title": "Set this user's display name",
      "topics": [
        "mx_set_displayname"
      ]
    },
    {
      "page": "mx_set_state",
      "title": "Set a room state event",
      "topics": [
        "mx_set_state"
      ]
    },
    {
      "page": "mx_sync",
      "title": "One-shot sync against the homeserver",
      "topics": [
        "mx_sync"
      ]
    },
    {
      "page": "mx_typing",
      "title": "Send a typing notification",
      "topics": [
        "mx_typing"
      ]
    },
    {
      "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/cran/mx.api/raw/HEAD/README.md",
  "_rundeps": [
    "curl",
    "jsonlite"
  ],
  "_score": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "mx.api",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://cornball-ai.r-universe.dev/mx.api",
  "_previous": "0.2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-10T23:00:30.000Z",
      "distro": "noble",
      "commit": "b396737d2d2cf02797db161d9539ef5a8e91a683",
      "fileid": "e42e21caf9ed5c05d5b7c1fbbdbbc19adbb962d52f5ed854b1d9d9697115175f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27311652216"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-06-10T23:00:27.000Z",
      "distro": "noble",
      "commit": "b396737d2d2cf02797db161d9539ef5a8e91a683",
      "fileid": "733064d886eb51f6721ffe92875ce84a841372a4ce15878d380eb94dbe39ce00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27311652216"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-06-10T23:00:34.000Z",
      "commit": "b396737d2d2cf02797db161d9539ef5a8e91a683",
      "fileid": "192ba0afa9e19f860f308a3fc5c2b592600389ce3bb2073952cfe6ab928d3cdd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27311652216"
    }
  ]
}