List of methods available in FlockOS
To call a method, an app will need to pass a an authentication token for the user on behalf of whom the method is being called. This can either be the user (either a normal user or a bot).
For normal users, you receive this user token in the app.install event.
For a bot, you can see the token in the developer dashboard once after you enable it.
This token is passed as the
token parameter in the HTTP request that calls the method.
|Error Code||HTTP Status||Description||Additional Attributes|
|400||The request was malformed|
|400||A parameter for the method call is missing or invalid|
|400||Missing user token in the method request|
|403||An invalid user authentication token was sent with the request|
|403||App has been disabled for this user|
|404||The method named in the request URL does not exist|
|405||An HTTP method other than |
|408||A timeout occured before the server could receive the complete request from the app|
|429||Rate limit reached|
|500||An unexpected condition was encountered|
|503||The API service is unavailable at this time|