Third-party Lookup
Retrieve metadata about a specific protocol that the homeserver supports.
Fetches the metadata from the homeserver about a particular third-party protocol.
get/_matrix/client/v3/thirdparty/protocol/{protocol}
Request
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
protocolstring required
The name of the protocol.
Response
The protocol was found and metadata returned.
Example response
{
"field_types": {
"channel": {
"placeholder": "#foobar",
"regexp": "#[^\\s]+"
},
"network": {
"placeholder": "irc.example.org",
"regexp": "([a-z0-9]+\\.)*[a-z0-9]+"
},
"nickname": {
"placeholder": "username",
"regexp": "[^\\s#]+"
}
},
"icon": "mxc://example.org/aBcDeFgH",
"location_fields": [
"network",
"channel"
],
"user_fields": [
"network",
"nickname"
],
"instances": [
{
"desc": "Freenode",
"fields": {
"network": "freenode"
},
"icon": "mxc://example.org/JkLmNoPq",
"network_id": "freenode",
"instance_id": "irc-freenode"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.