Search members or channels
Changed onSearches the server's members or channels by name. Useful for turning a name into an ID before adding an ignore entry.
Request
- Base URLhttps://quark.bot/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The server's ID. Must be the server the token was created for.
What to search.
Query parameters
The text to search for.
Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.
Response
The matches. Each has at least an id.
Changes
- breaking
added the new required
queryrequest parameterquery - breaking
the
pathrequest parameterstructurewas restricted to a list of enum values - breaking
added the pattern
^\d{17,20}$to thepathrequest parameterguild_id - info
api operation id
searchwas added - info
added the new optional
queryrequest parameterbot - info
added the new enum value
channelsto thepathrequest parameterstructure - info
added the new enum value
membersto thepathrequest parameterstructure - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info