Update 'README.md'
This commit is contained in:
parent
bd2c77fbb6
commit
a961dc1215
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ https://example.com/harmonychat-api/v1 (so the BasePath is "/harmonychat-api/v1"
|
||||||
|
|
||||||
* /common-details/get?detailType="friendsOrChannels"&unameOrServerID="tux"&passwd="usersPassword" - Get list of channels for server or friends. Passwd is not needed for the case of listing server channels, as demonstrated here, but *is* needed for listing a persons friends with friendship IDs next to them (Example `tux - ${randomizedFriendshipID}`).
|
* /common-details/get?detailType="friendsOrChannels"&unameOrServerID="tux"&passwd="usersPassword" - Get list of channels for server or friends. Passwd is not needed for the case of listing server channels, as demonstrated here, but *is* needed for listing a persons friends with friendship IDs next to them (Example `tux - ${randomizedFriendshipID}`).
|
||||||
* /common-details/create?detailType="friendsOrChannels"&serverIdOrUname="tux"&selfPasswd="usersPassword"&friendUsernameOrChannelName="penny" - creates a random friendship/channel ID (friendship and channel IDs are interchangeable in the API), freindship/channel same for the friend username and self username if "friendUsernameOrChannelName" is a person's username. if it's actually a channel name, add the channel named with the nammed passed through "friendUsernameOrChannelName" to the server "serverIdOrUname" but only if it's a valid server and the user credentials match those of the a server admin.
|
* /common-details/create?detailType="friendsOrChannels"&serverIdOrUname="tux"&selfPasswd="usersPassword"&friendUsernameOrChannelName="penny" - creates a random friendship/channel ID (friendship and channel IDs are interchangeable in the API), freindship/channel same for the friend username and self username if "friendUsernameOrChannelName" is a person's username. if it's actually a channel name, add the channel named with the nammed passed through "friendUsernameOrChannelName" to the server "serverIdOrUname" but only if it's a valid server and the user credentials match those of the a server admin.
|
||||||
/common-details/add?detailType="server"&serverId="tux's igloo"&uname="penny"&selfPasswd="usersPassword"
|
* /common-details/add?detailType="server"&serverId="tux's igloo"&uname="penny"&selfPasswd="usersPassword" - adds penny to tux's igloo
|
||||||
|
|
||||||
|
|
||||||
### Server (guild) creation and administration.
|
### Server (guild) creation and administration.
|
||||||
|
|
Loading…
Reference in a new issue