Welcome! This API follows the REST paradigm with input and output data formatted in standard JSON following these best practices.
Each HTTP verb is used in the following way:
| Verb | Semantic |
|---|---|
POST |
create a new resource, e.g., creating a user, shout or event |
GET |
retrieve a particular resource or a set of resources, e.g., retrieving a specific users or all users |
PUT |
update a particular resource, e.g., updating the username of a user |
DELETE |
destroy a particular resource, e.g., destroying a shout |
MongoDB is used as persistence layer. Any id used in the API is a MongoDB Object Id. See MongoDB documention for more details.
Authentication tokens are UUID version 4, e.g., f47ac10b-58cc-4372-a567-0e02b2c3d479.
Each time a user do a PUT /@app/users/login, she will get back an authentication token in return. Each token is then valid until the user explicitly logs out from the app or 18 months has passed (whichever happens first).
Each app is hosted as close as possible to its community users, choose your backend:
| Continent | Endpoint |
|---|---|
| ASIA | https://api8.min.sh/{app_name}/ |
| EUROPE | https://api8-eu.min.sh/{app_name}/ |
| US | https://api8-us.min.sh/{app_name}/ |
| SEOUL | https://api8-seoul.min.sh/{app_name}/ |
If the app backend is executed from a dedicated server, the endpoint looks like this: https://api8-{app_name}.min.sh/{app_name}.
Each error is composed of a HTTP code and a human readable string, e.g., the response from an unsuccessful PUT /users/login could return a HTTP code 400 with the following JSON response:
{"code":"BadRequestError","message":"USERNAME_OR_PASSWORD_NOT_CORRECT"}
Here are the main HTTP codes used in this API:
| Code | Semantic |
|---|---|
200 |
GET, PUT, DELETE success |
201 |
POST success |
400 |
Type for general bad request from client |
401 |
Type when the token is invalid |
403 |
Type when the user is forbidden to access |
429 |
Type when the rate limit is exceeded |
500 |
Type when there is an internal error |
To avoid overloading the API server, requests are rate-limited. The default rate limit is 20 requests per 5 min. If you need more resources, please contact us.
token on the web client?Sometimes, you already have a valid token for a user and you want to bypass the login screen. It is possible to do so by appending the token in the query string part of the web client url. Here is an example:
https://{app_name}.minsh.com/app.html#/main?token=d7bd5aca-e05e-4e5e-93bd-13b17e7b5fdd
If the bypass is successful, the web client will directly enter the main page of the app. In case of error, an error dialog will appear saying that the session is expired.
Please not that this token bypass method will only be evaluated if no user is currently logged in, i.e., you need to properly log out before testing this method.
Profile images are images with dimension 55px by 55px. To obtain a 230px by 230px profile image, you need to append the string _230 just before the extension. One exception is when the profile image is provided by gravatar.com, in that case you need to append the url with the string &s=230.
Here is some JavaScript code to illustrate how to obtain the bigger profile image:
/* get big avatar url */
function getBigProfileImageUrl(url) {
/* early exit for gravatar profile images */
if (url.indexOf('gravatar.com') !== -1) { return url + '&s=230'; }
/* handle case when user has uploaded image */
var lastIndexOfDot = url.lastIndexOf('.');
return url.slice(0, lastIndexOfDot) + '_230' + url.slice(lastIndexOfDot);
}
The following sample code should help get you started.
<?php
$data = array('username_or_email'=>'johndoe','password'=>'secret');
$data_json = json_encode($data);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://endpoint/app/users/login');
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json','Content-Length: ' . strlen($data_json)));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'PUT');
curl_setopt($ch, CURLOPT_POSTFIELDS, $data_json);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
echo $response;
curl_close($ch);
?>
The first step is to use the app to create the necessary groups.
Second, you can programmatically retrieve the groups using GET /{app_name}/groups with a valid token. For this step, using an admin token is advisable to ensure you get the entire list of groups. See below a sample output after getting the groups. Note that each group has an id field.
[
{
"id":"56d7d501d943bf19458889d1",
"title":"Switzerland",
"color":"#d27878",
"icon":"plug",
"owner":"569f924cb86fcd3471be30b1",
"last_updated":"2016-08-16T10:56:48.376Z",
"created":"2016-03-03T06:09:05.344Z",
"total_users":22
},
{
"id":"575a7a3f789a775e11bc4c30",
"title":"India",
"color":"#a59281",
"icon":"group",
"owner":"571a1250de9484f63e8db4ac",
"last_updated":"2016-07-28T21:00:12.324Z",
"created":"2016-06-10T08:28:47.655Z",
"total_users":10
}
]
Third, when you signup a new user with the API, use the POST /{app_name}/users request with the optional groups parameter filled with an array of group ids. Here is an example using the curl command-line tool:
curl -i -H "Content-Type: application/json" -H "Accept: application/json" -X POST -d '{"email":"test@minsh.net", "fullname":"test is my name", "username":"test", "password":"xxx", "groups":["575a7a3f789a775e11bc4c30", "56d7d501d943bf19458889d1"]}' https://{endpoint}/{app_name}/users
The new user with username test is now created and has been automatically added to the provided groups ids corresponding to Switzerland and India.
Click on any request to expand it and see details.
Admin broadcasts a private message from broadcast bot to specified users.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
shout | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
geo | Array of longitude and latitude/.+/i |
image | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
recipients | Array of user ids/^\[("[0-9a-fA-F]{24}",?)+\]$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_SHOUT |
BadRequestError: INVALID_SHOUT |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_IMAGE |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_RECIPIENTS |
BadRequestError: INVALID_WORKPLACE |
Admin schedules shouts to be posted later.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
shout | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
when | scheduled start date of event (UNIX timestamp in ms)/[0-9]+/ |
geo | Array of longitude and latitude/.+/i |
image | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
recipients | Array of user ids/^\[("[0-9a-fA-F]{24}",?)+\]$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_SHOUT |
BadRequestError: INVALID_SHOUT |
BadRequestError: MISSING_WHEN |
BadRequestError: INVALID_WHEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_IMAGE |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_RECIPIENTS |
BadRequestError: INVALID_WORKPLACE |
Admin pre-create user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
username | Username string between 1 and 25 characters./^[a-z0-9_]{1,25}$/i |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
password | /^.{3,50}$/ |
fullname | Fullname of user/^.{0,140}$/ |
groups | Array of groups/^(?:[\s\S])+$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
admin | Boolean/^(true)|(false)$/i |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
city | City of the user/^[\s\S]{0,250}$/ |
job | Job of user/^.{0,140}$/ |
address | Address of the user/^[\s\S]{0,250}$/ |
user_type | Type of the user/^.{0,140}$/ |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
custom_field_3 | Custom field 3/^[\s\S]{0,500}$/ |
company | Company of the user/^.{0,140}$/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
geo | Array of longitude and latitude/.+/i |
skip_creation_state | skip creation state boolean flag/^(true)|(false)$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_USERNAME |
BadRequestError: INVALID_USERNAME |
BadRequestError: MISSING_EMAIL |
BadRequestError: INVALID_EMAIL |
BadRequestError: MISSING_PASSWORD |
BadRequestError: INVALID_PASSWORD |
BadRequestError: INVALID_FULLNAME |
BadRequestError: INVALID_GROUPS |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_ADMIN |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_JOB |
BadRequestError: INVALID_ADDRESS |
BadRequestError: INVALID_USER_TYPE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_CUSTOM_FIELD_3 |
BadRequestError: INVALID_COMPANY |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_SKIP_CREATION_STATE |
Report a classified.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Create a classified.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
category | category of a classified/^$|^[\s\S]{1,256}$/ |
geo | Array of longitude and latitude/.+/i |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
lifetime | lifetime duration (in days)/^\+?(0|[1-9]\d*)$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_CATEGORY |
BadRequestError: INVALID_CATEGORY |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_LIFETIME |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_WORKPLACE |
Create a due.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
amount | Amount/^\+?(0|[1-9]\d*)$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_AMOUNT |
BadRequestError: INVALID_AMOUNT |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_WORKPLACE |
Create comment to an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
comment | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_COMMENT |
BadRequestError: INVALID_COMMENT |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_GEO |
Create rating to event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
rating | Integer between 1 and 5/^\+?(0|[1-9]\d*)$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_RATING |
BadRequestError: INVALID_RATING |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_GEO |
Report an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Create an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
when | scheduled start date of event (UNIX timestamp in ms)/[0-9]+/ |
geo | Array of longitude and latitude/.+/i |
where | venue of the event or empty string to reset it/^$|^[\s\S]{1,1000}$/ |
image | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
registration_url | Email (optional mailto: prefix), URL (optional protocol), or empty string./^$|((?:mailto:)?^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)|((?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?)$/i |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
end | scheduled end date of event (UNIX timestamp in ms)/^$|[0-9]+/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
color | # hexadecimal color/^[\s\S]{7}$/ |
organizer | organizer username/^[a-z0-9_]{1,25}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_WHEN |
BadRequestError: INVALID_WHEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WHERE |
BadRequestError: INVALID_IMAGE |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_REGISTRATION_URL |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_END |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_COLOR |
BadRequestError: INVALID_ORGANIZER |
BadRequestError: INVALID_WORKPLACE |
Create feedback with valid token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
msg | non-empty msg/[^\s\\]{1,1500}/im |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_MSG |
BadRequestError: INVALID_MSG |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Create a folder in the file system.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
name | name/^[\s\S]{1,140}$/ |
parent | Parent is an object id which can be `null` for the root directory/^(null)|([0-9a-fA-F]{24})$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_NAME |
BadRequestError: INVALID_NAME |
BadRequestError: MISSING_PARENT |
BadRequestError: INVALID_PARENT |
BadRequestError: INVALID_WORKPLACE |
Upload a file. If `parent` is not specified: get back the path (in case the file is an image, resize it). If `parent` is specified (which can be null if stored at the root directory), the file will be inserted into the file system. It is preferred to use the usual `multipart/form-data` method to upload the file. In that case, please replace `file_data` field with just `file`.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
file_data | Base64 encoded file/[\s\S]/i |
parent | Parent is an object id which can be `null` for the root directory/^(null)|([0-9a-fA-F]{24})$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_FILE_DATA |
BadRequestError: INVALID_PARENT |
BadRequestError: INVALID_WORKPLACE |
Admin adds automatically granted emails.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
emails | Array of emails./[\s\S]{0,50000}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_EMAILS |
BadRequestError: INVALID_EMAILS |
Create a new group and get back its id.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
color | # hexadecimal color/^[\s\S]{7}$/ |
icon | icon string/^[\s\S]{1,140}$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
users | Array of user ids/^[0-9a-fA-F]{24}(,[0-9a-fA-F]{24})*$/i |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
selected | group selected boolean/^(true)|(false)$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
invisible | invisible group boolean/^(true)|(false)$/i |
autojoin | group auto join boolean/^(true)|(false)$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_COLOR |
BadRequestError: INVALID_COLOR |
BadRequestError: INVALID_ICON |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_USERS |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_SELECTED |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_INVISIBLE |
BadRequestError: INVALID_AUTOJOIN |
BadRequestError: INVALID_GEO |
websocket for fovea
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
type | purchase type/^([\s\S])+$/ |
password | fovea password/^([\s\S])+$/ |
applicationUsername | fovea application username/^([\s\S])+$/ |
purchases | purchases/^([\s\S])+$/ |
BadRequestError: MISSING_TYPE |
BadRequestError: INVALID_TYPE |
BadRequestError: MISSING_PASSWORD |
BadRequestError: INVALID_PASSWORD |
BadRequestError: INVALID_APPLICATIONUSERNAME |
BadRequestError: INVALID_PURCHASES |
Create an item.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
type | type/^[\s\S]{1,140}$/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
amount | Amount/^\+?(0|[1-9]\d*)$/ |
hidden | /^(true)|(false)$/i |
additional_id | additional ID for third party services/^[\s\S]{1,140}$/ |
event | Event id/^[0-9a-fA-F]{24}$/i |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
end | scheduled end date of event (UNIX timestamp in ms)/^$|[0-9]+/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_TYPE |
BadRequestError: INVALID_TYPE |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_AMOUNT |
BadRequestError: INVALID_HIDDEN |
BadRequestError: INVALID_ADDITIONAL_ID |
BadRequestError: INVALID_EVENT |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_END |
Uploads and processes an image for a link.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
file_data | Base64 encoded file/[\s\S]/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_FILE_DATA |
Create a link.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
title | title/^[\s\S]{1,140}$/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
subscription | Subscription is an object id which can be `null` if no subscription plan/^(null)|([0-9a-fA-F]{24})$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
secure_file | secure file structure/[\s\S]*/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_SUBSCRIPTION |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_SECURE_FILE |
BadRequestError: INVALID_GEO |
Create a log
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
type | type/^[\s\S]{1,140}$/ |
page_name | Page name to log between 1 and 25 characters alphanums only./^[a-z0-9_]{1,25}$/i |
action | Action name to log between 1 and 140 characters./^.{0,140}$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TYPE |
BadRequestError: INVALID_TYPE |
BadRequestError: INVALID_PAGE_NAME |
BadRequestError: INVALID_ACTION |
Upload a profile image with token as a param. This creates images with two resolutions 55 & 230. Url of smaller image is saved in database and we get url of bigger image by adding _230 just before extension on client side.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
image_data | pattern for base64 encoded images/[\s\S]/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_IMAGE_DATA |
BadRequestError: INVALID_GEO |
Create a booking.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
from | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
to | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
geo | Array of longitude and latitude/.+/i |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_FROM |
BadRequestError: INVALID_FROM |
BadRequestError: MISSING_TO |
BadRequestError: INVALID_TO |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_DESCRIPTION |
Create a room.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
geo | Array of longitude and latitude/.+/i |
capacity | number of seats/^[\s\S]{1,250}$/ |
equipment | available equipment in a room/^$|^[\s\S]{1,1000}$/ |
city | City of the user/^[\s\S]{0,250}$/ |
building | building location details/^[\s\S]{1,250}$/ |
price | price description/^[\s\S]{1,250}$/ |
cancellation_delay | number of hours prior to a booking during which a cancellation is permitted. 0 = no cancellation, -1 = any time./^[+-]?(0|[1-9]\d*)$/ |
admin_confirmation_required | whether admin confirmation is required/^(true)|(false)$/i |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
door_code | code to open the door/^[\s\S]{1,140}$/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_CAPACITY |
BadRequestError: INVALID_EQUIPMENT |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_BUILDING |
BadRequestError: INVALID_PRICE |
BadRequestError: INVALID_CANCELLATION_DELAY |
BadRequestError: INVALID_ADMIN_CONFIRMATION_REQUIRED |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_DOOR_CODE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_WORKPLACE |
Create a booking from Roomz server.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
startDateUTC | ISODate UTC/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z/ |
endDateUTC | ISODate UTC/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z/ |
organizerId | User id for Roomz server/^[0-9a-fA-F]{24}$/i |
subject | Newsletter subject (max 200 chars)/^([\s\S]){1,200}$/ |
BadRequestError: MISSING_STARTDATEUTC |
BadRequestError: INVALID_STARTDATEUTC |
BadRequestError: MISSING_ENDDATEUTC |
BadRequestError: INVALID_ENDDATEUTC |
BadRequestError: MISSING_ORGANIZERID |
BadRequestError: INVALID_ORGANIZERID |
BadRequestError: INVALID_SUBJECT |
Record a click on a link within a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_URL |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_GEO |
Report a context.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Create a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
shout | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
geo | Array of longitude and latitude/.+/i |
in_reply_to | Mongo ObjectId/[0-9a-fA-F]{24}/i |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
image | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
recipients | Array of user ids/^\[("[0-9a-fA-F]{24}",?)+\]$/i |
group | Group id/^[0-9a-fA-F]{24}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
poll_options | Array of poll options (max 15 options, max 200 characters per option)/[\s\S]*/ |
poll_multiple | Whether multiple options can be selected/^(true)|(false)$/i |
poll_private | Whether poll results are private/^(true)|(false)$/i |
poll_end | Optional expiration date for the poll (ISODate UTC or Unix timestamp)/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_SHOUT |
BadRequestError: INVALID_SHOUT |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_IN_REPLY_TO |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_IMAGE |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_RECIPIENTS |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_POLL_OPTIONS |
BadRequestError: INVALID_POLL_MULTIPLE |
BadRequestError: INVALID_POLL_PRIVATE |
BadRequestError: INVALID_POLL_END |
Create comment to a sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
comment | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_COMMENT |
BadRequestError: INVALID_COMMENT |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_GEO |
Report a sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
namespace | Namespace string between 1 and 15 characters/[a-z0-9_-]{1,25}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_NAMESPACE |
Create a sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
title | title/^[\s\S]{1,140}$/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
color | # hexadecimal color/^[\s\S]{7}$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
url2 | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
location | details of event / sponsor or empty string to reset it/^$|^[\s\S]{1,1000}$/ |
twitter_handle | /[a-z0-9_]{1,25}/i |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
geo | Array of longitude and latitude/.+/i |
group | Group id/^[0-9a-fA-F]{24}$/i |
namespace | Namespace string between 1 and 15 characters/[a-z0-9_-]{1,25}/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_COLOR |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_URL2 |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_EMAIL |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_LOCATION |
BadRequestError: INVALID_TWITTER_HANDLE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_NAMESPACE |
BadRequestError: INVALID_WORKPLACE |
Add item in a user ACL.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
resources | Array of resources/^[0-9a-fA-F]{24}(,[0-9a-fA-F]{24})*$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_RESOURCES |
BadRequestError: INVALID_GEO |
Report a user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Create a new user and get back its id.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
username | Username string between 1 and 25 characters./^[a-z0-9_]{1,25}$/i |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
password | /^.{3,50}$/ |
fullname | Fullname of user/^.{0,140}$/ |
groups | Array of groups/^(?:[\s\S])+$/ |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
job | Job of user/^.{0,140}$/ |
address | Address of the user/^[\s\S]{0,250}$/ |
user_type | Type of the user/^.{0,140}$/ |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
custom_field_3 | Custom field 3/^[\s\S]{0,500}$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
city | City of the user/^[\s\S]{0,250}$/ |
company | Company of the user/^.{0,140}$/ |
facebook | Facebook's username/^.{0,140}$/ |
linkedin | Linkedin's username/^.{0,140}$/ |
twitter | Twitter's username/^.{0,140}$/ |
snapchat | Snapchat's username/^.{0,140}$/ |
instagram | Instagram's username/^.{0,140}$/ |
read_only_0 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_1 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_2 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
badge | Badge string (font awesome icon)/^([\s\S]){1,50}$/ |
BadRequestError: MISSING_USERNAME |
BadRequestError: INVALID_USERNAME |
BadRequestError: MISSING_EMAIL |
BadRequestError: INVALID_EMAIL |
BadRequestError: MISSING_PASSWORD |
BadRequestError: INVALID_PASSWORD |
BadRequestError: INVALID_FULLNAME |
BadRequestError: INVALID_GROUPS |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_JOB |
BadRequestError: INVALID_ADDRESS |
BadRequestError: INVALID_USER_TYPE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_CUSTOM_FIELD_3 |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_COMPANY |
BadRequestError: INVALID_FACEBOOK |
BadRequestError: INVALID_LINKEDIN |
BadRequestError: INVALID_TWITTER |
BadRequestError: INVALID_SNAPCHAT |
BadRequestError: INVALID_INSTAGRAM |
BadRequestError: INVALID_READ_ONLY_0 |
BadRequestError: INVALID_READ_ONLY_1 |
BadRequestError: INVALID_READ_ONLY_2 |
BadRequestError: INVALID_BADGE |
Send email(s) to invite new users to the application.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
emails | Array of emails./[\s\S]{0,50000}/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_EMAILS |
BadRequestError: INVALID_EMAILS |
BadRequestError: INVALID_GEO |
Create a new workplace and get back its id.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_GEO |
Create or update a user from Zoho CRM contact.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
additional_id | additional ID for third party services/^[\s\S]{1,140}$/ |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
username | Username string between 1 and 25 characters./^[a-z0-9_]{1,25}$/i |
fullname | Fullname of user/^.{0,140}$/ |
groups | Array of groups/^(?:[\s\S])+$/ |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
job | Job of user/^.{0,140}$/ |
address | Address of the user/^[\s\S]{0,250}$/ |
user_type | Type of the user/^.{0,140}$/ |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
custom_field_3 | Custom field 3/^[\s\S]{0,500}$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
city | City of the user/^[\s\S]{0,250}$/ |
company | Company of the user/^.{0,140}$/ |
facebook | Facebook's username/^.{0,140}$/ |
linkedin | Linkedin's username/^.{0,140}$/ |
twitter | Twitter's username/^.{0,140}$/ |
snapchat | Snapchat's username/^.{0,140}$/ |
instagram | Instagram's username/^.{0,140}$/ |
read_only_0 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_1 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_2 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
BadRequestError: MISSING_ADDITIONAL_ID |
BadRequestError: INVALID_ADDITIONAL_ID |
BadRequestError: MISSING_EMAIL |
BadRequestError: INVALID_EMAIL |
BadRequestError: INVALID_USERNAME |
BadRequestError: INVALID_FULLNAME |
BadRequestError: INVALID_GROUPS |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_JOB |
BadRequestError: INVALID_ADDRESS |
BadRequestError: INVALID_USER_TYPE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_CUSTOM_FIELD_3 |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_COMPANY |
BadRequestError: INVALID_FACEBOOK |
BadRequestError: INVALID_LINKEDIN |
BadRequestError: INVALID_TWITTER |
BadRequestError: INVALID_SNAPCHAT |
BadRequestError: INVALID_INSTAGRAM |
BadRequestError: INVALID_READ_ONLY_0 |
BadRequestError: INVALID_READ_ONLY_1 |
BadRequestError: INVALID_READ_ONLY_2 |
Get bookings in csv format if admin
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
before_date | before date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
after_date | after date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
company | Company of the user/^.{0,140}$/ |
room | Room id/^[0-9a-fA-F]{24}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_BEFORE_DATE |
BadRequestError: INVALID_BEFORE_DATE |
BadRequestError: MISSING_AFTER_DATE |
BadRequestError: INVALID_AFTER_DATE |
BadRequestError: INVALID_COMPANY |
BadRequestError: INVALID_ROOM |
Get all bookings (default dates are 30 days ago onwards).
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
before_date | before date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
after_date | after date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_BEFORE_DATE |
BadRequestError: INVALID_AFTER_DATE |
Get discusssions with bot in csv format if admin.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Get all past and future events.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
before_date | before date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
after_date | after date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_BEFORE_DATE |
BadRequestError: INVALID_AFTER_DATE |
Get all groups.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Get scheduled shouts.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Get broadcast dms in csv format if admin.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Get shouts in csv format if admin.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
from | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
to | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_FROM |
BadRequestError: INVALID_TO |
Get logs of a specific user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
username | /[a-z0-9_]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Get users.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
after_date | after date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_AFTER_DATE |
Get all classifieds with user details. Categories allows to filter the results by category. If `own` is true, returns the user's own classifieds in addition to the ones filtered by categories. If `query` is provided, the results are filtered to match the search query.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
own | /^((true)|(false))+$/ |
query | search query string/^[\s\S]{0,256}$/i |
categories | Array of categories/[\s\S]*/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_OWN |
BadRequestError: INVALID_QUERY |
BadRequestError: INVALID_CATEGORIES |
Get specific deeplink.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
short random string | Badge string (font awesome icon)/^([\s\S]{2,15})$/ |
Retrieve dues.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get specific event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_PREFERRED_LANG |
Get future events. This request can return some past events so that at least a minimal number of events is displayed.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_PREFERRED_LANG |
Get span of events.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
from | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
to | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_FROM |
BadRequestError: INVALID_FROM |
BadRequestError: MISSING_TO |
BadRequestError: INVALID_TO |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get all feedbacks with valid token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Retrieve files and folders.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
parent | Parent is an object id which can be `null` for the root directory/^(null)|([0-9a-fA-F]{24})$/i |
query | search query string/^[\s\S]{0,256}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_PARENT |
BadRequestError: INVALID_QUERY |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve filters.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
archive | archive group boolean/^(true)|(false)$/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_ARCHIVE |
BadRequestError: INVALID_PREFERRED_LANG |
Search users groups and shouts
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
query | search query string/^[\s\S]{0,256}$/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_QUERY |
BadRequestError: INVALID_QUERY |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve complete group info given its id.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
page | Page number/^\+?(0|[1-9]\d*)$/ |
count | Number of items/^\+?(0|[1-9]\d*)$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_PREFERRED_LANG |
BadRequestError: INVALID_PAGE |
BadRequestError: INVALID_COUNT |
Retrieve complete group info given its title.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
title | title/^[\s\S]{1,140}$/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_WORKPLACE |
Retrieve all groups info.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve selected groups info, i.e., groups that can be queried without a token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
Retrieve items.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
type | type/^[\s\S]{1,140}$/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TYPE |
BadRequestError: INVALID_TYPE |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_WORKPLACE |
Get all links with valid token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve complete room info provided its id.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve rooms.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve meetings of a room for RoomZ server.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
from | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
to | ISODate UTC or Unix timestamp/^(\+?(0|[1-9]\d*))|((\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z)$/ |
BadRequestError: INVALID_FROM |
BadRequestError: INVALID_TO |
Retrieve rooms for RoomZ server.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
Get full list of likers of a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_PREFERRED_LANG |
Get numbers of views of a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_PREFERRED_LANG |
Get specific shout context.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get topics and comments to these topics.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
before | Mongo ObjectId/[0-9a-fA-F]{24}/i |
after | Mongo ObjectId/[0-9a-fA-F]{24}/i |
count | Number of items/^\+?(0|[1-9]\d*)$/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
filter | Filter is a group or user id/^0|[0-9a-fA-F]{24}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_BEFORE |
BadRequestError: INVALID_AFTER |
BadRequestError: INVALID_COUNT |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_FILTER |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get details about a specific sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
namespace | Namespace string between 1 and 15 characters/[a-z0-9_-]{1,25}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_NAMESPACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get all sponsors with user details and comments.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
namespace | Namespace string between 1 and 15 characters/[a-z0-9_-]{1,25}/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_NAMESPACE |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get information about a specific user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_PREFERRED_LANG |
Get users alphabetically.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
page | Page number/^\+?(0|[1-9]\d*)$/ |
count | Number of items/^\+?(0|[1-9]\d*)$/ |
geo | Array of longitude and latitude/.+/i |
group | Group id/^[0-9a-fA-F]{24}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_PAGE |
BadRequestError: INVALID_PAGE |
BadRequestError: MISSING_COUNT |
BadRequestError: INVALID_COUNT |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get closest users.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
page | Page number/^\+?(0|[1-9]\d*)$/ |
count | Number of items/^\+?(0|[1-9]\d*)$/ |
geo | Array of longitude and latitude/.+/i |
group | Group id/^[0-9a-fA-F]{24}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_PAGE |
BadRequestError: INVALID_PAGE |
BadRequestError: MISSING_COUNT |
BadRequestError: INVALID_COUNT |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_PREFERRED_LANG |
Get last n active users.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
group | Group id/^[0-9a-fA-F]{24}$/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_PREFERRED_LANG |
Provide token and get self details.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
verify_subscription | /^((true)|(false))+$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_VERIFY_SUBSCRIPTION |
Login and get self details based on JWT (for third-party auth only)
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
jwt | third-party token/^([\s\S]){1,2700}$/ |
BadRequestError: MISSING_JWT |
BadRequestError: INVALID_JWT |
Search user fields: username, url, description, location and possibly email.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
query | search query string/^[\s\S]{0,256}$/i |
geo | Array of longitude and latitude/.+/i |
count | Number of items/^\+?(0|[1-9]\d*)$/ |
page | Page number/^\+?(0|[1-9]\d*)$/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
exclude_users | Array of user ids/^[0-9a-fA-F]{24}(,[0-9a-fA-F]{24})*$/i |
exclude_group | Group id/^[0-9a-fA-F]{24}$/i |
preferred_lang | Preferred language ISO code/^.{2,10}$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_QUERY |
BadRequestError: INVALID_QUERY |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_COUNT |
BadRequestError: INVALID_PAGE |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_EXCLUDE_USERS |
BadRequestError: INVALID_EXCLUDE_GROUP |
BadRequestError: INVALID_PREFERRED_LANG |
Retrieve all workplaces.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
Admin confirms a pending booking.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
admin_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_ADMIN_TOKEN |
BadRequestError: INVALID_ADMIN_TOKEN |
Reject a booking request and delete it.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
admin_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_ADMIN_TOKEN |
BadRequestError: INVALID_ADMIN_TOKEN |
Admin verifies if booking exists and is pending and if booker exists.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
admin_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_ADMIN_TOKEN |
BadRequestError: INVALID_ADMIN_TOKEN |
Edit a classified. Omitted fields are ignored, except for desc and attachments which can be removed.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
category | category of a classified/^$|^[\s\S]{1,256}$/ |
geo | Array of longitude and latitude/.+/i |
lifetime | lifetime duration (in days)/^\+?(0|[1-9]\d*)$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_CATEGORY |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_LIFETIME |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
Mark all classifieds as read
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
Update a due.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
amount | Amount/^\+?(0|[1-9]\d*)$/ |
remove_fields | fields that can be removed/^\[(?:"[a-z-_0-9]+"|,)*\]$/gi |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_AMOUNT |
BadRequestError: INVALID_REMOVE_FIELDS |
Edit an event's comment.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
comment_id | Mongo ObjectId/[0-9a-fA-F]{24}/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
comment | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_COMMENT |
BadRequestError: INVALID_COMMENT |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_GEO |
Join an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Leave an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Update event details.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
title | title/^[\s\S]{1,140}$/ |
when | scheduled start date of event (UNIX timestamp in ms)/[0-9]+/ |
where | venue of the event or empty string to reset it/^$|^[\s\S]{1,1000}$/ |
image | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
registration_url | Email (optional mailto: prefix), URL (optional protocol), or empty string./^$|((?:mailto:)?^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)|((?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?)$/i |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
group | Group id/^[0-9a-fA-F]{24}$/i |
end | scheduled end date of event (UNIX timestamp in ms)/^$|[0-9]+/ |
color | # hexadecimal color/^[\s\S]{7}$/ |
organizer | organizer username/^[a-z0-9_]{1,25}$/i |
organizer_name | organizer name string (app outsider)/^$|^[\s\S]{1,140}$/ |
remove_fields | fields that can be removed/^\[(?:"[a-z-_0-9]+"|,)*\]$/gi |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_WHEN |
BadRequestError: INVALID_WHERE |
BadRequestError: INVALID_IMAGE |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_REGISTRATION_URL |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_GROUP |
BadRequestError: INVALID_END |
BadRequestError: INVALID_COLOR |
BadRequestError: INVALID_ORGANIZER |
BadRequestError: INVALID_ORGANIZER_NAME |
BadRequestError: INVALID_REMOVE_FIELDS |
Read events before the given date, i.e., remove receipts.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
before_date | before date (UNIX timestamp in ms)/^\+?(0|[1-9]\d*)$/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_BEFORE_DATE |
BadRequestError: INVALID_WORKPLACE |
Create feedback with valid token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
msg | non-empty msg/[^\s\\]{1,1500}/im |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_MSG |
BadRequestError: INVALID_MSG |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Read a file, i.e., remove badge.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Update name of file or folder.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
name | name/^[\s\S]{1,140}$/ |
geo | Array of longitude and latitude/.+/i |
parent | Parent is an object id which can be `null` for the root directory/^(null)|([0-9a-fA-F]{24})$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_NAME |
BadRequestError: INVALID_NAME |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_PARENT |
Mark all files as read
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
Resets all shout badges to 0
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
As group owner, accept group join.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
group_owner_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
user | Mongo ObjectId/[0-9a-fA-F]{24}/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_GROUP_OWNER_TOKEN |
BadRequestError: INVALID_GROUP_OWNER_TOKEN |
BadRequestError: MISSING_USER |
BadRequestError: INVALID_USER |
BadRequestError: INVALID_GEO |
Add a member to a specific group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
uid | Mongo ObjectId/[0-9a-fA-F]{24}/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Creata a group deep link.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Archive / unarchive a group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
archive | archive group boolean/^(true)|(false)$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_ARCHIVE |
BadRequestError: INVALID_ARCHIVE |
BadRequestError: INVALID_GEO |
Ask to join a group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Group owner verifies if user has already been granted or denied access.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
user | Mongo ObjectId/[0-9a-fA-F]{24}/i |
group_owner_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_USER |
BadRequestError: INVALID_USER |
BadRequestError: MISSING_GROUP_OWNER_TOKEN |
BadRequestError: INVALID_GROUP_OWNER_TOKEN |
Mute / unmute a group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
mute | mute group boolean/^(true)|(false)$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_MUTE |
BadRequestError: INVALID_MUTE |
BadRequestError: INVALID_GEO |
Give group ownership to user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
uid | Mongo ObjectId/[0-9a-fA-F]{24}/i |
owner | owner flag/^(true)|(false)$/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_OWNER |
BadRequestError: INVALID_OWNER |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Make a group read-only to a specific user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
uid | Mongo ObjectId/[0-9a-fA-F]{24}/i |
read_only | read-only flag/^(true)|(false)$/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_READ_ONLY |
BadRequestError: INVALID_READ_ONLY |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Remove a member from a specific group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
uid | Mongo ObjectId/[0-9a-fA-F]{24}/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Group owner verifies if user has already been granted or denied access.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
user | Mongo ObjectId/[0-9a-fA-F]{24}/i |
group_owner_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_USER |
BadRequestError: INVALID_USER |
BadRequestError: MISSING_GROUP_OWNER_TOKEN |
BadRequestError: INVALID_GROUP_OWNER_TOKEN |
Update a specific group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
color | # hexadecimal color/^[\s\S]{7}$/ |
invisible | invisible group boolean/^(true)|(false)$/i |
autojoin | group auto join boolean/^(true)|(false)$/i |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
icon | icon string/^[\s\S]{1,140}$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
geo | Array of longitude and latitude/.+/i |
users | Array of user ids/^[0-9a-fA-F]{24}(,[0-9a-fA-F]{24})*$/i |
selected | group selected boolean/^(true)|(false)$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_COLOR |
BadRequestError: INVALID_COLOR |
BadRequestError: INVALID_INVISIBLE |
BadRequestError: INVALID_AUTOJOIN |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_ICON |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_USERS |
BadRequestError: INVALID_SELECTED |
Update an item.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
type | type/^[\s\S]{1,140}$/ |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
amount | Amount/^\+?(0|[1-9]\d*)$/ |
hidden | /^(true)|(false)$/i |
additional_id | additional ID for third party services/^[\s\S]{1,140}$/ |
event | Event id/^[0-9a-fA-F]{24}$/i |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
end | scheduled end date of event (UNIX timestamp in ms)/^$|[0-9]+/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_TYPE |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_AMOUNT |
BadRequestError: INVALID_HIDDEN |
BadRequestError: INVALID_ADDITIONAL_ID |
BadRequestError: INVALID_EVENT |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_END |
Update a link.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
title | title/^[\s\S]{1,140}$/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
subscription | Subscription is an object id which can be `null` if no subscription plan/^(null)|([0-9a-fA-F]{24})$/i |
secure_file | secure file structure/[\s\S]*/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_SUBSCRIPTION |
BadRequestError: INVALID_SECURE_FILE |
BadRequestError: INVALID_IMAGE_URL |
Update a room.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
title | title/^[\s\S]{1,140}$/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
capacity | number of seats/^[\s\S]{1,250}$/ |
equipment | available equipment in a room/^$|^[\s\S]{1,1000}$/ |
door_code | code to open the door/^[\s\S]{1,140}$/ |
city | City of the user/^[\s\S]{0,250}$/ |
building | building location details/^[\s\S]{1,250}$/ |
price | price description/^[\s\S]{1,250}$/ |
cancellation_delay | number of hours prior to a booking during which a cancellation is permitted. 0 = no cancellation, -1 = any time./^[+-]?(0|[1-9]\d*)$/ |
admin_confirmation_required | whether admin confirmation is required/^(true)|(false)$/i |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
files | Array of file structures/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
remove_fields | fields that can be removed/^\[(?:"[a-z-_0-9]+"|,)*\]$/gi |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_CAPACITY |
BadRequestError: INVALID_EQUIPMENT |
BadRequestError: INVALID_DOOR_CODE |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_BUILDING |
BadRequestError: INVALID_PRICE |
BadRequestError: INVALID_CANCELLATION_DELAY |
BadRequestError: INVALID_ADMIN_CONFIRMATION_REQUIRED |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_REMOVE_FIELDS |
Update a booking from Roomz server.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
meeting_id | Mongo ObjectId/[0-9a-fA-F]{24}/i |
startDateUTC | ISODate UTC/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z/ |
endDateUTC | ISODate UTC/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(\.\d+)?Z/ |
BadRequestError: MISSING_STARTDATEUTC |
BadRequestError: INVALID_STARTDATEUTC |
BadRequestError: MISSING_ENDDATEUTC |
BadRequestError: INVALID_ENDDATEUTC |
Edit a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
shout | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
geo | Array of longitude and latitude/.+/i |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
image | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
poll_options | Array of poll options (max 15 options, max 200 characters per option)/[\s\S]*/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_SHOUT |
BadRequestError: INVALID_SHOUT |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_IMAGE |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_POLL_OPTIONS |
Like a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Vote on a poll shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
poll_option_ids | Comma-separated list of poll option IDs to vote for, or empty string to retract vote/^([0-9a-fA-F]{24}(,[0-9a-fA-F]{24})*)?$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_POLL_OPTION_IDS |
Edit a sponsor's comment.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
comment_id | Mongo ObjectId/[0-9a-fA-F]{24}/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
comment | Any string between 1 and 2000 chars will do it/^[\s\S]+$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
file | file structure/[\s\S]*/ |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
files | Array of file structures/[\s\S]*/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_COMMENT |
BadRequestError: INVALID_COMMENT |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_GEO |
Marks the sponsor as read, i.e., the badge is removed for user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
namespace | Namespace string between 1 and 15 characters/[a-z0-9_-]{1,25}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_NAMESPACE |
Update a specific sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
created | creation date (UNIX timestamp in ms)/^$|[0-9]+/ |
title | title/^[\s\S]{1,140}$/ |
image_url | URL of an image or empty string to reset it/^$|(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
image_urls | Array of image URLs/^\[("(?:https?:\/\/)[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?",?)+\]$/i |
color | # hexadecimal color/^[\s\S]{7}$/ |
file | file structure/[\s\S]*/ |
files | Array of file structures/[\s\S]*/ |
desc | details of classified/due/event/sponsor/room or empty string to reset it/^$|^[\s\S]{1,2000}$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
url2 | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
twitter_handle | /[a-z0-9_]{1,25}/i |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
location | details of event / sponsor or empty string to reset it/^$|^[\s\S]{1,1000}$/ |
remove_fields | fields that can be removed/^\[(?:"[a-z-_0-9]+"|,)*\]$/gi |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_CREATED |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_IMAGE_URL |
BadRequestError: INVALID_IMAGE_URLS |
BadRequestError: INVALID_COLOR |
BadRequestError: INVALID_FILE |
BadRequestError: INVALID_FILES |
BadRequestError: INVALID_DESC |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_URL2 |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_EMAIL |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_TWITTER_HANDLE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_LOCATION |
BadRequestError: INVALID_REMOVE_FIELDS |
Mark all sponsors as read
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
namespace | Namespace string between 1 and 15 characters/[a-z0-9_-]{1,25}/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_NAMESPACE |
Archive/unarchive a DM.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
archive | archive group boolean/^(true)|(false)$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_ARCHIVE |
BadRequestError: INVALID_ARCHIVE |
BadRequestError: INVALID_GEO |
Block a user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Admin denies access to a new user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
admin_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
force | Boolean/^(true)|(false)$/i |
BadRequestError: MISSING_ADMIN_TOKEN |
BadRequestError: INVALID_ADMIN_TOKEN |
BadRequestError: INVALID_FORCE |
Admin grants access to a new user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
admin_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
force | Boolean/^(true)|(false)$/i |
BadRequestError: MISSING_ADMIN_TOKEN |
BadRequestError: INVALID_ADMIN_TOKEN |
BadRequestError: INVALID_FORCE |
Mute/unmute a DM.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
mute | mute group boolean/^(true)|(false)$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_MUTE |
BadRequestError: INVALID_MUTE |
BadRequestError: INVALID_GEO |
Upload profile picture of user with token as a param. This creates images with two resolutions 55 & 230. Url of smaller image is saved in database and we get url of bigger image by adding _230 just before extension on client side.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
image_data | pattern for base64 encoded images/[\s\S]/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_IMAGE_DATA |
Unblock a user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Admin verifies if new user has already been granted or denied access.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
admin_token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_ADMIN_TOKEN |
BadRequestError: INVALID_ADMIN_TOKEN |
Update a specific user. An admin can update any users.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
username | Username string between 1 and 25 characters./^[a-z0-9_]{1,25}$/i |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
fullname | Fullname of user/^.{0,140}$/ |
admin | Boolean/^(true)|(false)$/i |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
city | City of the user/^[\s\S]{0,250}$/ |
job | Job of user/^.{0,140}$/ |
address | Address of the user/^[\s\S]{0,250}$/ |
user_type | Type of the user/^.{0,140}$/ |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
custom_field_3 | Custom field 3/^[\s\S]{0,500}$/ |
company | Company of the user/^.{0,140}$/ |
password | /^.{3,50}$/ |
subscription | Subscription is an object id which can be `null` if no subscription plan/^(null)|([0-9a-fA-F]{24})$/i |
new_password | /^.{3,50}$/ |
pn_shout | Push notification flag when someone shouts to everybody/^(true)|(false)$/i |
pn_event | Push notification flag when a new event is created/^(true)|(false)$/i |
pn_sponsor | Push notification flag when a new sponsor is created/^(true)|(false)$/i |
pn_sponsors | Map of namespace to boolean for sponsor notifications/^\{("[0-9a-zA-Z-_]+":\s*(true|false),?\s*)*\}$/i |
pn_file | Push notification flag when a new file is uploaded/^(true)|(false)$/i |
pn_like | Push notification flag when someone likes your content/^(true)|(false)$/i |
pn_mention | Push notification flag when someone mentions you/^(true)|(false)$/i |
pn_booking | Push notification flag when you have an upcoming booking/^(true)|(false)$/i |
pn_classified | Push notification flag when a new classified is posted/^(true)|(false)$/i |
mailing_dm | Mailing notification flag when someone sends me a private message/^(true)|(false)$/i |
mailing_mention | Mailing notification flag when someone mentions you/^(true)|(false)$/i |
mailing_event | Mailing notification flag when someone creates an event/^(true)|(false)$/i |
mailing_important | Mailing notification flag when admin send an #important message/^(true)|(false)$/i |
mailing_booking | Mailing notification flag when you have an upcoming booking/^(true)|(false)$/i |
facebook | Facebook's username/^.{0,140}$/ |
linkedin | Linkedin's username/^.{0,140}$/ |
twitter | Twitter's username/^.{0,140}$/ |
snapchat | Snapchat's username/^.{0,140}$/ |
instagram | Instagram's username/^.{0,140}$/ |
badge | Badge string (font awesome icon)/^([\s\S]){1,50}$/ |
read_only_0 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_1 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_2 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
BadRequestError: INVALID_USERNAME |
BadRequestError: INVALID_EMAIL |
BadRequestError: INVALID_FULLNAME |
BadRequestError: INVALID_ADMIN |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_JOB |
BadRequestError: INVALID_ADDRESS |
BadRequestError: INVALID_USER_TYPE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_CUSTOM_FIELD_3 |
BadRequestError: INVALID_COMPANY |
BadRequestError: INVALID_PASSWORD |
BadRequestError: INVALID_SUBSCRIPTION |
BadRequestError: INVALID_NEW_PASSWORD |
BadRequestError: INVALID_PN_SHOUT |
BadRequestError: INVALID_PN_EVENT |
BadRequestError: INVALID_PN_SPONSOR |
BadRequestError: INVALID_PN_SPONSORS |
BadRequestError: INVALID_PN_FILE |
BadRequestError: INVALID_PN_LIKE |
BadRequestError: INVALID_PN_MENTION |
BadRequestError: INVALID_PN_BOOKING |
BadRequestError: INVALID_PN_CLASSIFIED |
BadRequestError: INVALID_MAILING_DM |
BadRequestError: INVALID_MAILING_MENTION |
BadRequestError: INVALID_MAILING_EVENT |
BadRequestError: INVALID_MAILING_IMPORTANT |
BadRequestError: INVALID_MAILING_BOOKING |
BadRequestError: INVALID_FACEBOOK |
BadRequestError: INVALID_LINKEDIN |
BadRequestError: INVALID_TWITTER |
BadRequestError: INVALID_SNAPCHAT |
BadRequestError: INVALID_INSTAGRAM |
BadRequestError: INVALID_BADGE |
BadRequestError: INVALID_READ_ONLY_0 |
BadRequestError: INVALID_READ_ONLY_1 |
BadRequestError: INVALID_READ_ONLY_2 |
Activate user account.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
email_token | Email token/\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_EMAIL_TOKEN |
BadRequestError: INVALID_EMAIL_TOKEN |
Email PIN to the user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Login a user and get a valid token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
username_or_email | Username or email./^([a-z0-9_]{1,25})|(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
password | /^.{3,50}$/ |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_USERNAME_OR_EMAIL |
BadRequestError: INVALID_USERNAME_OR_EMAIL |
BadRequestError: MISSING_PASSWORD |
BadRequestError: INVALID_PASSWORD |
BadRequestError: INVALID_GEO |
Logout a specific user and if user has a device associated remove that too.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Reset password of user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
password_token | Password token/\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
password | /^.{3,50}$/ |
BadRequestError: MISSING_PASSWORD_TOKEN |
BadRequestError: INVALID_PASSWORD_TOKEN |
BadRequestError: MISSING_PASSWORD |
BadRequestError: INVALID_PASSWORD |
Send reset password link to the email of the user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
BadRequestError: MISSING_EMAIL |
BadRequestError: INVALID_EMAIL |
Let users unsubscribe from unwanted email notifications.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
notification_type | type of the email notification/^newsletter|dm|mention|event|event_reminder|classified_reminder|important$/ |
mailing_token | Mailing token/\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_NOTIFICATION_TYPE |
BadRequestError: INVALID_NOTIFICATION_TYPE |
BadRequestError: MISSING_MAILING_TOKEN |
BadRequestError: INVALID_MAILING_TOKEN |
Validate provided password token.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
password_token | Password token/\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_PASSWORD_TOKEN |
BadRequestError: INVALID_PASSWORD_TOKEN |
Verify PIN from user.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
pin | PIN is a string composed of 4 numbers/^\d{4}$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_PIN |
BadRequestError: INVALID_PIN |
Add a member to a specific workplace.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
uid | Mongo ObjectId/[0-9a-fA-F]{24}/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Remove a member from a specific workplace.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
uid | Mongo ObjectId/[0-9a-fA-F]{24}/i |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Update a user from Zoho CRM contact.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
additional_id | additional ID for third party services/^[\s\S]{1,140}$/ |
email | Email./^(^(?=.{1,64}@)(?:[0-9a-z](?:[-+.a-zA-Z0-9_*]{0,62}[a-zA-Z0-9_*])?|\*)@(?:[0-9a-z][-\w]*\.)+[a-z]{2,63}$)$/i |
fullname | Fullname of user/^.{0,140}$/ |
groups | Array of groups/^(?:[\s\S])+$/ |
workplace | Workplace id/[0-9a-fA-F]{24}/ |
description | Any string (even empty) will do for description within 500 chars limit/^[\s\S]{0,500}$/ |
tags | Any string (even empty) will do for tags within 500 chars limit/^[\s\S]{0,500}$/ |
phone | Phone number/^\+?[0-9\-()/. ]*$/ |
job | Job of user/^.{0,140}$/ |
address | Address of the user/^[\s\S]{0,250}$/ |
user_type | Type of the user/^.{0,140}$/ |
custom_field_0 | Custom field 0/^[\s\S]{0,1000}$/ |
custom_field_1 | Custom field 1/^[\s\S]{0,1000}$/ |
custom_field_2 | Custom field 2/^[\s\S]{0,1000}$/ |
custom_field_3 | Custom field 3/^[\s\S]{0,500}$/ |
url | Url with optional protocol or empty string to reset it/^$|(?:https?:\/\/)?[\wa-z\u00a1-\uffff0-9\-_]+(\.[\wa-z\u00a1-\uffff0-9\-_]+)+([\wa-z\u00a1-\uffff0-9\-\.,;@?^=%&:\/~\+#!()\*%]*[\wa-z\u00a1-\uffff0-9\-\@?^=%&\/~\+#!()\*%])?/i |
city | City of the user/^[\s\S]{0,250}$/ |
company | Company of the user/^.{0,140}$/ |
facebook | Facebook's username/^.{0,140}$/ |
linkedin | Linkedin's username/^.{0,140}$/ |
twitter | Twitter's username/^.{0,140}$/ |
snapchat | Snapchat's username/^.{0,140}$/ |
instagram | Instagram's username/^.{0,140}$/ |
read_only_0 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_1 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
read_only_2 | only visible to self and editable only by an admin/^$|([\s\S])+$/ |
BadRequestError: INVALID_EMAIL |
BadRequestError: INVALID_FULLNAME |
BadRequestError: INVALID_GROUPS |
BadRequestError: INVALID_WORKPLACE |
BadRequestError: INVALID_DESCRIPTION |
BadRequestError: INVALID_TAGS |
BadRequestError: INVALID_PHONE |
BadRequestError: INVALID_JOB |
BadRequestError: INVALID_ADDRESS |
BadRequestError: INVALID_USER_TYPE |
BadRequestError: INVALID_CUSTOM_FIELD_0 |
BadRequestError: INVALID_CUSTOM_FIELD_1 |
BadRequestError: INVALID_CUSTOM_FIELD_2 |
BadRequestError: INVALID_CUSTOM_FIELD_3 |
BadRequestError: INVALID_URL |
BadRequestError: INVALID_CITY |
BadRequestError: INVALID_COMPANY |
BadRequestError: INVALID_FACEBOOK |
BadRequestError: INVALID_LINKEDIN |
BadRequestError: INVALID_TWITTER |
BadRequestError: INVALID_SNAPCHAT |
BadRequestError: INVALID_INSTAGRAM |
BadRequestError: INVALID_READ_ONLY_0 |
BadRequestError: INVALID_READ_ONLY_1 |
BadRequestError: INVALID_READ_ONLY_2 |
Delete a scheduled shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete all scheduled shouts.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete a booking.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Delete a specific classified.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete a due.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Delete comment of an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
comment_id | Mongo ObjectId/[0-9a-fA-F]{24}/i |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Cancel an event.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete a tempfile, file, or folder.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
temp | Stating if file is temp/^(true)|(false)$/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_TEMP |
Delete a group.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Delete an item.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Delete a specific link.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete a room.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Unlike a shout.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete a specific shout. If shout is a topic we also delete all replies. For all replies the corresponding images are deleted.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete comment of a sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
comment_id | Mongo ObjectId/[0-9a-fA-F]{24}/i |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Delete a specific sponsor.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_GEO |
Remove item in a user ACL.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
title | title/^[\s\S]{1,140}$/ |
resources | Array of resources/^[0-9a-fA-F]{24}(,[0-9a-fA-F]{24})*$/i |
geo | Array of longitude and latitude/.+/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: MISSING_TITLE |
BadRequestError: INVALID_TITLE |
BadRequestError: INVALID_RESOURCES |
BadRequestError: INVALID_GEO |
Delete a user account.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
password | /^.{3,50}$/ |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
BadRequestError: INVALID_PASSWORD |
Delete a workplace.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
id | Object id/[0-9a-fA-F]{24}/ |
token | /\b([0-9a-f]{8}-?([0-9a-f]{4}-?){3}[0-9a-f]{12})\b/i |
BadRequestError: MISSING_TOKEN |
BadRequestError: INVALID_TOKEN |
Delete a user from a Zoho CRM contact.
app | App string between 1 and 25 characters/[a-z0-9_-]{1,25}/ |
additional_id | additional ID for third party services/^[\s\S]{1,140}$/ |
Powered by Minsh Apps - Say hello@minsh.com for any questions.